List of files from an external text file, one filename per line?

Greg_Swift at aotx.uscourts.gov Greg_Swift at aotx.uscourts.gov
Thu Mar 22 18:05:01 UTC 2012



rpm-list-bounces at lists.rpm.org wrote on 03/22/2012 12:35:42 PM:

>
> I'm just about sure I saw a way of doing this once, but my google
> skills aren't helping me find it.
>
> Isn't there something you can put in a spec file that'll say "use
> this list of files - they appear in the text file I'm giving you"?
>
> Kind of like GNU tar's  --files-from= option, except it appears in
> the spec file instead of on the command line.

%files -f <file>

the file should be in the %{buildroot} I believe.

-greg



More information about the Rpm-list mailing list