On Tue, Feb 1, 2011 at 3:23 PM, Gerd v. Egidy <li...@egidy.de> wrote:
> 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. > > This page http://fedoraproject.org/wiki/DistTag and the buildsys macros RPM on EPEL5 should help you. http://buildsys.fedoraproject.org/buildgroups/rhel5/x86_64/ yes is perfectly possible to have one .spec file for all at the start though they may diverge due to difference update policies in particular. Steve. > 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: > jo...@cactusamerica.com > -- > devel mailing list > devel@lists.fedoraproject.org > https://admin.fedoraproject.org/mailman/listinfo/devel > -- Steve Traylen
-- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel