[Bug 851877] New: Wrong suse_version macro in 13.1
https://bugzilla.novell.com/show_bug.cgi?id=851877 https://bugzilla.novell.com/show_bug.cgi?id=851877#c0 Summary: Wrong suse_version macro in 13.1 Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: emendonca@suse.com QAContact: qa-bugs@suse.de Found By: Field Engineer Blocker: --- The macro "suse_version" is defined in /usr/lib/rpm/suse/macros from the package "rpm". It should evaluate to "1310", but is still evaluating to "1230" (from openSUSE 12.3). # rpm --eval '%{suse_version}' 1230 The problem exists in shipping 13.1 distribution. This will cause problems for anyone developing RPM packages. === Name : rpm Version : 4.11.1 Release : 6.2.1 Architecture: x86_64 Install Date: Qua 20 Nov 2013 16:14:08 BRST Group : System/Packages Size : 4663090 License : GPL-2.0+ Signature : RSA/SHA256, Sex 27 Set 2013 15:05:34 BRT, Key ID b88b2fd43dbdc284 Source RPM : rpm-4.11.1-6.2.1.src.rpm Build Date : Sex 27 Set 2013 15:05:04 BRT Build Host : build05 Relocations : (not relocatable) Packager : http://bugs.opensuse.org Vendor : openSUSE Summary : The RPM Package Manager Description : RPM Package Manager is the main tool for managing the software packages of the SuSE Linux distribution. RPM can be used to install and remove software packages. With rpm, it is easy to update packages. RPM keeps track of all these manipulations in a central database. This way it is possible to get an overview of all installed packages. RPM also supports database queries. Distribution: openSUSE 13.1 ==== -- 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=851877 https://bugzilla.novell.com/show_bug.cgi?id=851877#c1 Hrvoje Senjan <hrvoje.senjan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hrvoje.senjan@gmail.com AssignedTo|bnc-team-screening@forge.pr |mls@suse.com |ovo.novell.com | --- Comment #1 from Hrvoje Senjan <hrvoje.senjan@gmail.com> 2013-11-24 23:54:13 UTC --- Valid for Factory also... I guess rpm-suse_macros needs 'rebasing' -- 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=851877 https://bugzilla.novell.com/show_bug.cgi?id=851877#c2 Michael Schröder <mls@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |coolo@suse.com --- Comment #2 from Michael Schröder <mls@suse.com> 2013-11-25 10:21:42 UTC --- *weeps* That just shows again that %suse_version should *not* be defined in the rpm package, but in the "release" package. Fortunately building with OBS or osc does not suffer because of this, as they set suse_version with the project config, which overrides the rpm macro. -- 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=851877 https://bugzilla.novell.com/show_bug.cgi?id=851877#c3 --- Comment #3 from Stephan Kulow <coolo@suse.com> 2013-11-25 11:37:07 CET --- just drop me a patch -- 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=851877 https://bugzilla.novell.com/show_bug.cgi?id=851877#c4 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@suse.com --- Comment #4 from Marcus Meissner <meissner@suse.com> 2013-11-27 10:05:16 UTC --- *** Bug 852546 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=852546 -- 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=851877 https://bugzilla.novell.com/show_bug.cgi?id=851877#c5 --- Comment #5 from Marcus Meissner <meissner@suse.com> 2013-11-27 10:06:28 UTC --- please siubmit a fixed rpm for 13.1 as maintenanerequest -- 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=851877 https://bugzilla.novell.com/show_bug.cgi?id=851877#c6 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-beta@cboltz.de --- Comment #6 from Christian Boltz <suse-beta@cboltz.de> 2013-11-27 14:12:22 CET --- (In reply to comment #2)
*weeps* That just shows again that %suse_version should *not* be defined in the rpm package, but in the "release" package.
That, or rpm.spec needs to check against /etc/os-release (and fail the build if it doesn't match). I just submitted SR 208678 to Base:System/rpm that does exactly this ;-) However, you'll have to create the update for 13.1 yourself. -- 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=851877 https://bugzilla.novell.com/show_bug.cgi?id=851877#c7 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@suse.com --- Comment #7 from Ludwig Nussel <lnussel@suse.com> 2013-11-28 09:19:06 CET --- what about echo %suse_version `rpm --eval %suse_version` >> suse_macros in %build? -- 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=851877 https://bugzilla.novell.com/show_bug.cgi?id=851877#c8 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |idonmez@suse.com --- Comment #8 from Ismail Donmez <idonmez@suse.com> 2013-12-19 14:11:09 UTC --- Apparently this is fixed in https://build.opensuse.org/package/rdiff/Base:System/rpm?linkrev=base&rev=308 but we need an 13.1 update as this is breaking outside the OBS users. -- 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=851877 https://bugzilla.novell.com/show_bug.cgi?id=851877#c9 --- Comment #9 from Swamp Workflow Management <swamp@suse.de> 2014-01-07 11:06:12 UTC --- openSUSE-RU-2014:0028-1: An update that has two recommended fixes can now be installed. Category: recommended (moderate) Bug References: 851877,852310 CVE References: Sources used: openSUSE 13.1 (src): python3-rpm-4.11.1-6.5.1, rpm-4.11.1-6.5.1, rpm-python-4.11.1-6.5.1 -- 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=851877 https://bugzilla.novell.com/show_bug.cgi?id=851877#c10 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #10 from Marcus Meissner <meissner@suse.com> 2014-01-07 12:18:36 UTC --- released -- 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