[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 09:33:24 UTC 2019


That'd require parsing spec %files section without macro expansion, which would make it completely different from everything else in the spec, and break legitimate uses. If you take 

```
%files
%{one_macro}
%{other_macro}

Those macros might expand to files, or they might expand to new spec sections or whatever, and there's no telling until you expand the line. Ditto for all sorts of %if etc logic etc.

This is what -f is for, please use what exists and works.

-- 
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-540992299
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191011/d1c40eca/attachment.html>


More information about the Rpm-maint mailing list