[Rpm-maint] [rpm-software-management/rpm] rpmspec: Support - as input for reading from stdin (PR #1928)

Florian Festi notifications at github.com
Mon Feb 21 20:33:51 UTC 2022


I tried adding a test case but it fails with
```
+error: Unable to open -: Bad file descriptor
+error: query of specfile - failed, can't parse
```
while it seems to work fine on the command line. I guess the testsuite is messing with stdin but I couldn't figure out how.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1928

-- Commit Summary --

  * Quote %sources and %patches for shell
  * rpmspec: Support - as input for reading from stdin

-- File Changes --

    M build/parseSpec.c (6)
    M macros.in (6)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1928.patch
https://github.com/rpm-software-management/rpm/pull/1928.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1928
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/1928 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220221/65384a1b/attachment.html>


More information about the Rpm-maint mailing list