proper way to distinguish epel from fedora
Manuel Wolfshant
wolfy at nobugconsulting.ro
Tue Nov 10 15:51:03 UTC 2009
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?
More information about the epel-devel-list
mailing list