RE: Reading file list from .spec files in Python

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


On Fri, 23 Jan 2015, Pavel Fedin wrote:

The %files list is dynamic, and can even be computed in %build (often
done for python packages).

I have re-read RPM manual. Are you talking about %file -f blah here ? If
so, this is not a problem because cygport also supports picking up file
lists. The only thing to do would be to filter out directives like %mode,
%doc, etc.

Yes, but also wildcards in the filenames expand according to whatever
was installed in the %install section.  And, just to tweak your nose,
the filenames contain macros, like %{_mandir}, and the macros can
be programmatically defined (via mini embedded shell script) when the spec file is run.
Rpm-list mailing 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