[Bug 473677] New: rpm is ignoring comments in a specfile under specific circumstances
https://bugzilla.novell.com/show_bug.cgi?id=473677 Summary: rpm is ignoring comments in a specfile under specific circumstances Classification: openSUSE Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: dieter.jurzitza@t-online.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-0.1 Firefox/3.0.5 when building a kernel module package I noticed that even if I put a '#' in front of the line, the suse-mechanism for module packaging is triggered, what is wrong IMHO since '#' is considered to start a comment line according to the rpm documentation. More specifically: when building the module package for madwifi, there is a line ****** %ExclusiveArch: %ix86 x86_64 %suse_kernel_module_package -n madwifi -p %_sourcedir/preamble kdump um ****** what is responsible for generating the package madwifi-kmp-pae-0.9.5_2.6.25.20_0.1a-1.i586.rpm now, if I modify in the above mentioned example ****** %ExclusiveArch: %ix86 x86_64 # %suse_kernel_module_package -n madwifi -p %_sourcedir/preamble kdump um ****** (note the '#') IMHO the madwifi-kmp-pae package should not be built any more (as there is no reference to this name anywhere in the specfile). However, it is still being built. Now, if I remove the '%' at the beginning of the "suse" like this: ****** %ExclusiveArch: %ix86 x86_64 # suse_kernel_module_package -n madwifi -p %_sourcedir/preamble kdump um ****** I can manage to stop this build. This means that comment chars are not obeyed by rpm under all circumstances, what I consider a bug. Thank you for looking into this, take care Dieter Jurzitza Reproducible: Always Steps to Reproduce: See above Actual Results: See above Expected Results: See above -- 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=473677
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=473677
Philipp Thomas
participants (1)
-
bugzilla_noreply@novell.com