package for Fedora and EPEL from one spec source?

2011-02-01 Thread Gerd v. Egidy
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

Re: package for Fedora and EPEL from one spec source?

2011-02-01 Thread Steve Traylen
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,

Re: package for Fedora and EPEL from one spec source?

2011-02-01 Thread Jason L Tibbitts III
GvE == Gerd v Egidy li...@egidy.de writes: GvE What is the best way to handle this? Can I keep one spec for both GvE and use conditionals to always build the right way? You can. Do keep in mind, however, that the amount of conditional garbage you have to pile into the spec file can get to be a

Re: package for Fedora and EPEL from one spec source?

2011-02-01 Thread Gerd v. Egidy
Hi Steve, 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

Re: package for Fedora and EPEL from one spec source?

2011-02-01 Thread Kevin Kofler
Gerd v. Egidy wrote: 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. %{rhel} is defined in the EPEL build

Re: package for Fedora and EPEL from one spec source?

2011-02-01 Thread Michael Cronenworth
On 02/01/2011 09:27 AM, Gerd v. Egidy wrote: How can I make sure that buildsys-macros is installed? BuildRequires: buildsys-macros won't work because there is no buildsys-macros on Fedora. And You don't need to do that as buildsys-macros is part of the buildroot in koji for EPEL5. $ koji

Re: package for Fedora and EPEL from one spec source?

2011-02-01 Thread Jason L Tibbitts III
MC == Michael Cronenworth m...@cchtml.com writes: MC I don't know why, but it wouldn't be a bad thing to have it in the MC repository like a normal package, IMO. Not that this will really explain anything, but: https://bugzilla.redhat.com/show_bug.cgi?id=563176 - J -- devel mailing list