http://bugzilla.novell.com/show_bug.cgi?id=528851
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=528851#c5
--- Comment #5 from Richard Guenther 2009-08-07 03:58:38 MDT ---
I don't see where finddebuginfo.diff changes anything for mono.
But ...
+# Find mono debugging data
+if [ -x "/usr/bin/mono" ] ; then
+ echo "find in $RPM_BUILD_ROOT/usr/lib"
+ find $RPM_BUILD_ROOT/usr/lib -type f \( -name "*.dll.mdb" -or -name
"*.exe.mdb" \) | sed "s|$RPM_BUILD_ROOT||" >> "$LISTFILE"
+fi
+
so you are special-casing packages that have /usr/bin/mono. Why not simply
manually add a
Package: debuginfo
..
%files debuginfo
..
which is possible now (well, not mono-debuginfo as that exists already and
you can't add to it - I didn't see that would be necessary yet). Likely
what you want is something like mono-runtime-debuginfo anyway (or wherever
that pieces are).
The proposed solution to finddebuginfo.sh is a hack. If more packages
would provide debuginformation in a mono format then if a mono
build environment is present there needs to be a way to identify a
*.dll.mdb or *.exe.mdb file as proper debuginformation and the packaging
should be done for all packages not just the one containing /usr/bin/mono.
--
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.