On Tue, Nov 10, 2009 at 4:51 PM, Manuel Wolfshant
<wolfy(a)nobugconsulting.ro> wrote:
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...
which separates the BRs for RHEL5 from the rest
You need to install some extra rpm macros with the buildsys-macros pacakage
http://buildsys.fedoraproject.org/buildgroups/rhel5/
Steve
> 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?
_______________________________________________
epel-devel-list mailing list
epel-devel-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/epel-devel-list
--
Steve Traylen