Re: Detecting version in a SPEC file

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

 



On Sun, Feb 18, 2007 at 07:11:17PM -0800, Roland McGrath wrote:

> I think what you want to do is:
> 
> %define gnupg_version 1.2
> %if "%fedora" >= "6"
> %define gnupg_version 1.4
> %endif
> %if "%rhel" >= "5"
> %define gnupg_version 1.4
> %endif

I don't know about Fedora, but on RHEL nothing on the system predefines
the %rhel macro, that's purely an internal define in the RH build system.

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[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