[Rpm-maint] [rpm-software-management/rpm] RFE: Ability to have a file in %files via a command (macro) evaluated at buildtime (#894)

Panu Matilainen notifications at github.com
Fri Oct 11 10:00:54 UTC 2019


The reason I didn't close this offhand was that I'm curious about the use-case, but apparently forgot to ask about it :) I mean, maybe there is something that we could do to help the case without making %files parsing more special than the rest of the spec.

Note that the -f files manifest is macro expanded as well, and that expansion happens just before actually processing the file list. So you can have a macro with (complex) logic expanded at that time, it just needs to be in a files manifest instead of the spec proper.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/894#issuecomment-541001420
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191011/1d49a2f7/attachment.html>


More information about the Rpm-maint mailing list