Re: rpms/redir/EL-6 import.log,1.2,1.3 redir.spec,1.3,1.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[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