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]

 



I think what I need to do is stop worrying about the NOT conditional and be OK with doing nothing inside a if TRUE conditional...

%if 0%{?rhel} <= 6 && "%{_arch}" = "ppc64"
# Do nothing
%else
Requires: python-pivy
%endif

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