Re: Best (cleanest?) conditional formation in a spec file for distro version and arch

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

 



On Wed, Jun 18, 2014 at 8:15 AM, Paul Howarth <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)

Thanks,
Richard 

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux