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

Re: proper way to distinguish epel from fedora



Farkas Levente wrote:
hi,
what's the proper way to distinguish epel from fedora in the spec file?
i'd like to add
ExcludeArch:    ppc ppc64
on epel but not in case of fedora in a package (since there is no java
on ppc on epel). but what's the current recommended way to do so?
unfortunately %{?rhel} is not defined even in rhel-5 so what else can i
it is defined. See for instance http://cvs.fedoraproject.org/viewvc/rpms/libprelude/devel/libprelude.spec?revision=1.49&view=markup which separates the BRs for RHEL5 from the rest


use to distinguish it from fedora?
thanks in advance.

ps. anyway it'd be useful to put into the epel packaging guidelines.



--
    Manuel Wolfshant       linux registered user #131416
       IT manager    NoBug Consulting SRL
 A: Yes.
 >Q: Are you sure?
 >>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]