[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RPM macros question
- From: Dmitry Makovey <dmitry athabascau ca>
- To: Jos Vos <jos xos nl>
- Cc: epel-devel-list redhat com
- Subject: Re: RPM macros question
- Date: Thu, 02 Aug 2012 16:23:45 -0600
On August 2, 2012 23:36:25 Jos Vos wrote:
> I would suggest to do it the following way:
>
> %if 0%{?rhel} && 0%{?rhel} <= 6
> %define systemd_enabled 0
> %else
> %define systemd_enabled 1
> %endif
>
> This is the way I do it in my backports (e.g. PostgreSQL 9.x for RHEL 6.x).
I just applied above and it works exactly as needed, so I'm going to stick
with that for now due to it's simplicity :) Thanks.
--
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245
---
Confidence is what you have before you understand the problem
Woody Allen
When in trouble when in doubt run in circles scream and shout
http://www.wordwizard.com/phpbb3/viewtopic.php?f=16&t=19330
--
This communication is intended for the use of the recipient to whom it
is addressed, and may contain confidential, personal, and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take
action relying on it. Any communications received in error, or
subsequent reply, should be deleted or destroyed.
---
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]