[kernel-bugs] [Bug 1179014] New: [rpm4.16] invalid use of barewords in kernel spec files
http://bugzilla.opensuse.org/show_bug.cgi?id=1179014 Bug ID: 1179014 Summary: [rpm4.16] invalid use of barewords in kernel spec files Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- RPM 4.16 became stricter in the use of barewords, which are no longer supported (in fact they never were, but due to a bug were accepted) Currently, wesee for example kernel-default fail (in Staging:A) with: [ 49s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' --define 'disturl obs://build.opensuse.org/openSUSE:Factory:Staging:A/standard/a6c3403454e62b1d7c2205998ff49630-kernel-default' /home/abuild/rpmbuild/SOURCES/kernel-default.spec [ 49s] error: bare words are no longer supported, please use "...": y != "y" [ 49s] error: ^ [ 49s] error: /home/abuild/rpmbuild/SOURCES/kernel-default.spec:57: bad %if condition: y != "y" -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179014 http://bugzilla.opensuse.org/show_bug.cgi?id=1179014#c1 --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> --- Created attachment 843761 --> http://bugzilla.opensuse.org/attachment.cgi?id=843761&action=edit Patch for kernel-binary.spec.in Looking in the kernel source, this mostly seems to be based on kernel-binary.spec.in The attached patch should fix at least the template. This should then be reproducible to the other spec files. -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com