package for Fedora and EPEL from one spec source?

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

 



Hi,

I've submitted my first Fedora package for review and sponsoring recently:

https://bugzilla.redhat.com/show_bug.cgi?id=673175

I want to submit it for Fedora and EPEL 5. The differences between the two are 
minimal, there are just some programs missing in EPEL which need to be 
commented out in the default config.

What is the best way to handle this? Can I keep one spec for both and use 
conditionals to always build the right way?

I've seen code like "%if 0%{?rhel}" somewhere on the net, but that didn't work 
for me. I guess the %rhel-macro should be defined in /etc/rpm/macros.dist 
where I usually find stuff like %fedora but that doesn't exist on my Centos 5.

Or am I supposed to create a completely separate .spec for EPEL once the 
review, sponsoring etc. for Fedora is done?

Kind regards,

Gerd

-- 
Address (better: trap) for people I really don't want to get mail from:
jonas@xxxxxxxxxxxxxxxxx
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux