On Tuesday, February 22, 2022 9:29:49 AM CET Ondrej Mosnacek wrote:
> > What is currently missing in rpmspec is support to parse the input form
> > stdin
 instead of a file [2]. But there is already a PR to support it
> > [3].
> 
> `rpmspec -P /dev/stdin` seems to work already now. I use this "trick"
> all the time with programs that don't support stdin/stdout natively.
> (Sometimes even that doesn't work, e.g. if the program tries to seek
> or mmap it, but often it does.)

I think it only works if a shell is involved. If I try it rpmspec reports:

error: Unable to open /dev/stdin: No such device or address

as lua does execv() on rpmspec.

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to