Mailinglist Archive: opensuse-buildservice (256 mails)

< Previous Next >
Re: [opensuse-buildservice] Missing macro on CentOS 6 VM?
  • From: Christian Kampka <c.kampka@xxxxxx>
  • Date: Thu, 04 Aug 2011 09:05:11 +0200
  • Message-id: <>

I believe the macro you are looking for is 0%{?centos_version} >= 600 ||
0%{?rhel_version} >= 600 .


Am 03.08.2011 21:25, schrieb Cantor, Scott E.:
Doing some test builds with the CentOS 6 platform, there appears to be an
RPM macro missing, specifically %{rhel} set to 6. This is present on Red
Hat 6 and in my testing is present on default installs of CentOS 6 as
well, but it's apparently missing on the VM image the build service spins

I have some packages that do straightforwardly different things if the
value is >= 6, and they work on RH6, but not CentOS. I haven't tried to
dump the macro in an RPM scriptlet or anything that detailed yet, but it's
apparently not present.

-- Scott

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >