[Bug 526454] New: Broken /etc/rpm/macros.kernel-source in kernel-source-2.6.27.25-0.1.1
http://bugzilla.novell.com/show_bug.cgi?id=526454 Summary: Broken /etc/rpm/macros.kernel-source in kernel-source-2.6.27.25-0.1.1 Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: matwey.kornilov@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.12) Gecko/2009071200 SUSE/3.0.12-0.1.2 Firefox/3.0.12 "Kernel Module Packages Manual for CODE 11" December 22, 2008 defines that 1. %kernel_module_package macro has -f key 2. """ Filename arguments specified in -f, -p and -t should be given as absolute path names (e.g., %_sourcedir/file) and should be listed as Sources. The following substitutions are defined in those files: %1 Flavor of the sub-package (e.g., pae). %2 Kernel release string (e.g., 2.6.27.8-1-pae). %3 Kernel release string without flavor (e.g., 2.6.27.8-1). %{-v*} The sub-package version. %{-r*} The sub-package release. """ If we consider /etc/rpm/macros.kernel-source and /usr/lib/rpm/kernel-module-subpackage that are distributed with kernel-source-2.6.27.25-0.1.1, we can see that actual substitution is %1 Flavor %2 Kernel release string without flavor At the same time kernel-source-2.6.27.7-9.1(that come with DVD) provides right /etc/rpm/macros.kernel-source. This breaks the RPM building when -f key is used. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=526454
Matwey Kornilov
http://bugzilla.novell.com/show_bug.cgi?id=526454
User matwey.kornilov@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=526454#c1
Matwey Kornilov
http://bugzilla.novell.com/show_bug.cgi?id=526454
shuang qiu
http://bugzilla.novell.com/show_bug.cgi?id=526454
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=526454
User mmarek@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=526454#c2
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=526454
User andavis@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=526454#c3
Ann Davis
participants (1)
-
bugzilla_noreply@novell.com