[Bug 567350] New: "%cmake_kde4" RPM macro doesn't accept arbitrary arguments
http://bugzilla.novell.com/show_bug.cgi?id=567350 http://bugzilla.novell.com/show_bug.cgi?id=567350#c0 Summary: "%cmake_kde4" RPM macro doesn't accept arbitrary arguments Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pedro.lopez.cabanillas@gmail.com QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.9.0.14) Gecko/2009090900 SUSE/3.0.14-0.1 Firefox/3.0.14 In a spec file, this syntax fails: %build %cmake_kde4 -DSTATIC_ASEQMM=NO Looks like the macro doesn't accept arguments other than "-d builddir". It should behave like %configure Reproducible: Always Steps to Reproduce: 1. Create a .spec file using the macro %cmake_kde4 with an argument 2. Build the package in OBS Actual Results: Build failure Expected Results: The macro %cmake_kde4 should accept arbitrary arguments, like the %configure macro. -- 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=567350 http://bugzilla.novell.com/show_bug.cgi?id=567350#c1 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |prusnak@novell.com AssignedTo|bnc-team-screening@forge.pr |kde-maintainers@suse.de |ovo.novell.com | --- Comment #1 from Pavol Rusnak <prusnak@novell.com> 2009-12-27 15:15:27 CET --- rpm -E %cmake_kde4 shows that the macro ends with a newline, thus parameter appears on a separate line ... (e.g. %configure macro does not end with newline, so %configure --enable-foobar is possible). Not sure whether this behavior is intended. If not, I suggest fixing the macro and if it is also present in upstream, we should propos a fix there too. -- 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=567350 http://bugzilla.novell.com/show_bug.cgi?id=567350#c2 Stephan Binner <binner@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Stephan Binner <binner@kde.org> 2009-12-27 16:00:32 UTC --- Use "%cmake_kde4 -- -DSTATIC_ASEQMM=NO". -- 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.
participants (1)
-
bugzilla_noreply@novell.com