https://bugzilla.novell.com/show_bug.cgi?id=225633 ------- Comment #4 from suse-tux@gmx.de 2006-12-22 05:19 MST ------- (In reply to comment #2)
The only problem with this is that I don't know of a way to access rpm macros from find-supplements.ksyms, and the environment doesn't include anything I could guess the context from, either.
Hmmm - normally we could tell the build scripts (lbuild, y2pmbuild...) to set their own _specdir macro: For lbuild the following would be sufficient: - just add "%_specdir %{_sourcedir}" to the "/usr/lib/build/configs/sl_VERSION_.conf" Now replace "RPM_SOURCE_DIR=/usr/src/packages/SOURCES" with "RPM_SOURCE_DIR="$(rpm --eval "%{_specdir}")" in the "/usr/lib/rpm/find-supplements.ksyms". The find-supplements.ksyms script uses the correct %{_specdir} now. I think this would solve our problem - or am i wrong? -- 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, or are watching someone who is.