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

Richard Shaw hobbes1069 at gmail.com
Wed Jun 18 13:40:01 UTC 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20140618/38c1a784/attachment.html>


More information about the devel mailing list