[Fedora-packaging] Conditionally building a sub-package?

James Laska jlaska at redhat.com
Mon Jan 21 18:06:58 UTC 2008


Jesse Keating wrote:
> On Mon, 21 Jan 2008 12:03:50 -0500
> James Laska <jlaska at redhat.com> wrote:
> 
>> Do folks have any experience or recommendations in the realm of 
>> conditional sub-package builds?
> 
> Instead of testing python like that, you could just use the dist tag
> and turn that off unless you're in a sufficiently high enough Fedora or
> RHEL.
> 
> http://fedoraproject.org/wiki/Packaging/DistTag?#head-1c550109af0705ccb71329619b99428af2fd3e25

Thanks for the suggestion!

Eeew, I just realized that I'll have to do some additional munging to 
handle the conditionally unpackaged files now.

RPM build errors:
     Installed (but unpackaged) file(s) found:
     ...

Thanks,
James

-- 
==========================================
  James Laska         -- jlaska at redhat.com
  Quality Engineering -- Red Hat, Inc.
==========================================




More information about the Fedora-packaging mailing list