[Rpm-maint] [rpm-software-management/rpm] Globbing inside quotes broken in %files with 4.19.1 (Issue #2824)
Michal Domonkos
notifications at github.com
Tue Jan 16 15:18:16 UTC 2024
RPM 4.18 and earlier had its own, non-standard and somewhat inconsistent glob semantics in the `%files` section. In 4.19 we changed/fixed that to use the standard, shell-like semantics, as defined in `glob(7)`.
That means, among other things, that quotes now turn off the meaning of any metachars in between them. This is more in line with what one would expect and also enables use cases that weren't possible previously.
If you're interested in the details, there was a series of PRs implementing this, most notably these two: https://github.com/rpm-software-management/rpm/pull/2103 and https://github.com/rpm-software-management/rpm/pull/2206.
The correct fix here is to adjust the SPEC file, or in this case, the CPack generator that produces these file entries. Thanks for the linked ticket, that's indeed the right place to do it. I'm closing this one.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2824#issuecomment-1893955954
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2824/1893955954 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240116/33b21dc6/attachment.html>
More information about the Rpm-maint
mailing list