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

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



On Tue, 2007-03-20 at 16:00 +0100, Dag Wieers wrote:

> Yes, this is something different. Our use of %dist predates Fedora's 
> standard. What we generally do in this context is set:
> 
> 	%{?dist: %{expand: %%define %dist 1}}
> 
> What matthias does to map Fedora's %fedora macro to what we use, he adds:
> 
> 	%{?fedora: %{expand: %%define fc%{fedora} 1}}
> 
> So that if fedora is set to 7, the following macro is set:
> 
> 	%define fc7 1

I'm not opposed to adding what matthias is doing to to the disttag macro
defines (for Fedora and EPEL) Seems to have value for conditionals.

I'll work on a PackagingDraft for it.

~spot


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