Distro flag in spec

Eugene Pivnev ti.eugene at gmail.com
Wed Apr 17 10:54:14 UTC 2013


Sorry for newbee question, but I can't find how to control packaging 
depending on distro.
Something like this:

%if 0%{?centos_version} || 0%{?rhel_version}
%define have_polkit 0
%define have_lightdm 0
%else
...


More information about the devel mailing list