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: <>

Summary: CentOS 6 platform missing %{rhel} macro
Classification: openSUSE
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:

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".
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:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups