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

Richard Shaw hobbes1069 at
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
Requires: python-pivy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the devel mailing list