On Thu, Jun 19, 2014 at 4:16 AM, Paul Howarth <paul@xxxxxxxxxxxx> wrote:
On 18/06/14 14:36, Richard Shaw wrote:
On Wed, Jun 18, 2014 at 8:15 AM, Paul Howarth <paul@xxxxxxxxxxxx<mailto:paul@xxxxxxxxxxxx>> wrote:
Does this work?
%if 0%{?fedora} || 0%{?rhel} > 6 || "%{_arch}" != "ppc64"
Requires: python-pivy
%endif
Hmm... I think it would block the requires on epel7 as well though which
works fine (newer gcc)
The 0%{?fedora} clause ensures all Fedoras get the requires;
The 0%{?rhel} > 6 clause ensures all EPEL > 6 get the requires;
The "%{_arch}" != "ppc64" clause ensures that any build that's not ppc64 gets the requires.
So epel7 (any arch) should be fine.
Ok, I see how that works now. Thanks!
Richard
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct