[Bug 981083] New: rpm ksyms fileattrs do not expand %name
http://bugzilla.novell.com/show_bug.cgi?id=981083 Bug ID: 981083 Summary: rpm ksyms fileattrs do not expand %name Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: jslaby@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- When the kernel is built in OBS, provides are being found. But this emits a lot of: [ 400s] sed: can't read /usr/src/packages/SOURCES/%name.spec: No such file or directory The process tree is: \_ rpmbuild -ba --define _srcdefattr (-,root,root) --nosignature /home/abuild/rpmbuild/SOURCES/kernel-default.spec \_ /bin/bash /home/abuild/rpmbuild/SOURCES/find-provides kernel-default \_ /bin/sh /usr/lib/rpm/find-provides kernel-default \_ /usr/lib/rpm/rpmdeps --provides \_ /bin/bash /usr/lib/rpm/find-supplements.ksyms %name \_ /bin/bash /usr/lib/rpm/find-supplements.ksyms %name | \_ /bin/bash /usr/lib/rpm/find-supplements.ksyms %name | \_ sed -nre s,(.+:.+),modalias(kernel-default:\1),p | \_ tee -a /tmp/tmp.6NZ7l2NDRz \_ sort -u \_ /bin/bash /usr/lib/rpm/find-supplements.ksyms %name It can be seen, that this is executed: /usr/lib/rpm/find-supplements.ksyms %name I believe this is from /usr/lib/rpm/fileattrs/ksyms.attr: %__ksyms_provides %{_rpmconfigdir}/find-provides.ksyms %name %__ksyms_requires %{_rpmconfigdir}/find-requires.ksyms %name %__ksyms_supplements %{_rpmconfigdir}/find-supplements.ksyms %name %__ksyms_path (/lib/modules/.*\.ko(\.gz)?)|(/boot/vmlinu[xz].*)$ But %name is never expanded here. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=981083
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=981083
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=981083
http://bugzilla.novell.com/show_bug.cgi?id=981083#c1
--- Comment #1 from Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=981083
http://bugzilla.novell.com/show_bug.cgi?id=981083#c3
--- Comment #3 from Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=981083
http://bugzilla.novell.com/show_bug.cgi?id=981083#c4
--- Comment #4 from Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=981083
http://bugzilla.novell.com/show_bug.cgi?id=981083#c5
--- Comment #5 from Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=981083
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=981083
http://bugzilla.novell.com/show_bug.cgi?id=981083#c6
--- Comment #6 from Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=981083
http://bugzilla.novell.com/show_bug.cgi?id=981083#c7
Michal Marek
participants (1)
-
bugzilla_noreply@novell.com