[Rpm-maint] [rpm-software-management/rpm] Add shell-like escape support to %files (PR #2103)
Michal Domonkos
notifications at github.com
Wed Jun 22 16:19:51 UTC 2022
Enable the use of backslash quotation in the `%files` section of a spec file, just like in a typical shell, for example:
```
%install
"%{buildroot}/file[with spaces]"
%files
/foo\*
"/foo\[ bar\]"
```
Another PR is in the works which will improve the semantics of double quotes.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/2103
-- Commit Summary --
* Fix rpmGlob() escape support
* Refactor rpmGlob()
* Add shell-like escape support to %files
-- File Changes --
M build/files.c (27)
M docs/manual/spec.md (36)
M include/rpm/rpmfileutil.h (8)
M lib/manifest.c (29)
M lib/rpmgi.c (4)
M lib/rpminstall.c (4)
M rpmio/rpmglob.c (213)
M tests/Makefile.am (3)
A tests/data/SPECS/globesctest.spec (83)
M tests/rpmbuild.at (47)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/2103.patch
https://github.com/rpm-software-management/rpm/pull/2103.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2103
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2103 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220622/3883ecaa/attachment.html>
More information about the Rpm-maint
mailing list