Macros available in Fedora but not RHEL <= 4: Create epel-rpm-config?

Tom "spot" Callaway tcallawa at redhat.com
Tue Mar 20 09:11:23 UTC 2007


On Tue, 2007-03-20 at 14:11 +0100, Axel Thimm wrote:
> There are a couple of useful macros available in Fedora >=5 (maybe
> even 4) due to the higher rpm version like the bcond macros and maybe
> more.
> 
> If a Fedora package uses these macros then for RHEL5 there is no
> problem, but it breaks on RHEL4 and RHEL3. The fast way out is to add
> the macro definitions at the top of the specfile.
> 
> But this will fork specfiles for no real reason, I'd rather see
> keeping the same specfile for EPEL and Fedora (unless
> abi/api/stability force chosing another version for EPEL than for
> Fedora).
> 
> Could we have the few macros available in Fedora but not older RHEL
> releases placed in an epel-rpm-config package and have this be part of
> the default build chroots? That way EPEL builds are more compatible to
> conventional Fedora builds.

This seems to make sense to me, +1.

~spot




More information about the epel-devel-list mailing list