Mailinglist Archive: opensuse-mingw (10 mails)

< Previous Next >
[opensuse-mingw] Adding files to a debug package
  • From: Maarten Bosmans <mkbosmans@xxxxxxxxx>
  • Date: Sat, 7 May 2011 21:12:49 +0200
  • Message-id: <BANLkTi=g1x+RLrUQvt5ndOXLezJFf026aw@mail.gmail.com>
For the gstreamer-sharp package, there is the standard macro in the
spec file to extract debug symbols and package that separately:

%{_mingw32_debug_package}

Additionally Mono/.Net debug info is generated and I tried including
that in the debug package by adding to the end of the spec file:

%files debug
%defattr(-,root,root)
%{_mingw32_libdir}/mono/gac/gstreamer-sharp/*/gstreamer-sharp.dll.mdb

For the OpenSUSE repos this works, but for SLE, the following error occurs:

+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define
'disturl
obs://build.opensuse.org/windows:mingw:win32/SLE_11/0bce3036fc4cc2405c0f404f87b5a40c-mingw32-gstreamer-sharp'
/usr/src/packages/SOURCES/mingw32-gstreamer-sharp.spec
error: line 86: Second %files list

Is there some way to work around this?

(Personally I'm not that interested in SLE, but a nice green build
matrix in the project monitor is always nice ;-)

Maarten
--
To unsubscribe, e-mail: opensuse-mingw+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-mingw+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups