tor 2010-05-27 klockan 20:10 +0400 skrev Peter Lemenkov: > %if 0%{?el4}%{?el5} > echo "This is either RHEL 4 or RHEL 5" > %else > echo "EL-6 or Fedora" > %endif Absolutely. New EL releases are much more likely to be similar to recent Fedora releases than to the previous EL release. This is also the most readable example. It also avoids the use of %{fedora} so it will work in hypothetical branches that are not F-x or EL-x or when building in a build system that does not set %{fedora}. (Say, calling rpmbuild manually on an OpenSuse box.) /Alexander -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel