[Rpm-maint] [rpm-software-management/rpm] rpmspec fails to read .spec from stream (stdin) (Issue #4023)
Michal Domonkos
notifications at github.com
Tue Nov 4 13:09:59 UTC 2025
dmnks left a comment (rpm-software-management/rpm#4023)
This happens because rpm needs a seek-able file descriptor, and that's apparently not the case when stdin is connected to a pipe. The fact that it still tries to parse the file is not ideal, of course, and one would rather see a warning or error message instead.
This is basically a duplicate of #1926, with a patch attempted (but never materialized) via #1928.
@socketpair, could you please elaborate on the use case where the latter (pipe) is preferable?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/4023#issuecomment-3485935257
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/4023/3485935257 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20251104/3183b3e7/attachment.htm>
More information about the Rpm-maint
mailing list