[Bug 710536] New: CentOS 6 platform missing %{rhel} macro

= 6".
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@forge.provo.novell.com ReportedBy: cantor.2@osu.edu QAContact: adrian@novell.com 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} 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.

https://bugzilla.novell.com/show_bug.cgi?id=710536 https://bugzilla.novell.com/show_bug.cgi?id=710536#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |adrian@novell.com |ovo.novell.com | -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=710536 https://bugzilla.novell.com/show_bug.cgi?id=710536#c1 Sascha Peilicke <speilicke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |speilicke@suse.com InfoProvider| |adrian@suse.com --- Comment #1 from Sascha Peilicke <speilicke@suse.com> 2011-12-02 13:06:19 UTC --- This boils down to adding #From RedHat buildsys-macros package %rhel 5 %dist .el5 %el5 5 to the prjconf of CentOS:CentOS-5 and #From RedHat buildsys-macros package %rhel 6 %dist .el6 %el6 6 to the prjconf of CentOS:CentOS-6 @adrian: You're the only one with maintainer rights, can you do that? -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=710536 https://bugzilla.novell.com/show_bug.cgi?id=710536#c non7top non7top <non7top@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium CC| |non7top@gmail.com Platform|x86-64 |All Severity|Normal |Major -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=710536 https://bugzilla.novell.com/show_bug.cgi?id=710536#c2 --- Comment #2 from non7top non7top <non7top@gmail.com> 2014-07-05 18:38:16 UTC --- *** Bug 885924 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=885924 -- 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.

https://bugzilla.novell.com/show_bug.cgi?id=710536 https://bugzilla.novell.com/show_bug.cgi?id=710536#c3 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|adrian@suse.com | Resolution| |FIXED --- Comment #3 from Adrian Schröter <adrian@suse.com> 2014-07-07 05:26:15 UTC --- We have %rhel 6 %centos 6 %centos_ver 6 %dist .el6 %el6 1 already inside of 6. Added it to CentOS-5 now as well. -- 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.
participants (1)
-
bugzilla_noreply@novell.com