[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Detecting version in a SPEC file
- From: Jos Vos <jos xos nl>
- To: Development discussions related to Fedora Core <fedora-devel-list redhat com>
- Subject: Re: Detecting version in a SPEC file
- Date: Mon, 19 Feb 2007 13:57:03 +0100
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 xos nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]