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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




rpm-list-bounces@xxxxxxxxxxxxx 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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux