Mailinglist Archive: opensuse-bugs (4037 mails)

< Previous Next >
[Bug 710536] New: CentOS 6 platform missing %{rhel} macro
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 4 Aug 2011 23:15:28 +0000
  • Message-id: <bug-710536-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=710536

https://bugzilla.novell.com/show_bug.cgi?id=710536#c0


Summary: CentOS 6 platform missing %{rhel} macro
Classification: openSUSE
Product: openSUSE.org
Version: unspecified
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: BuildService
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: cantor.2@xxxxxxx
QAContact: adrian@xxxxxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0.1)
Gecko/20100101 Firefox/5.0.1

See message:
http://lists.opensuse.org/opensuse-buildservice/2011-08/msg00021.html

On CentOS 6 installs, rpm --showrc includes the %{rhel} macro set to "6", just
as Red Hat 6 does. The CentOS 6 platform in the build service doesn't include
this macro.

Reproducible: Always

Steps to Reproduce:
1.Try a specfile that conditionally executes something based on "if 0%{?rhel}
= 6".
2.
3.
Actual Results:
The condition evaluates false on CentOS 6 but true on Red Hat 6.

Expected Results:
It should work identically on both.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups