Mailinglist Archive: opensuse-buildservice (248 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] Building debug package failed for Mandriva 2009.1
- From: Marcus Hüwe <suse-tux@xxxxxx>
- Date: Wed, 7 Oct 2009 12:20:33 +0200
- Message-id: <20091007102033.GA3426@xxxxxxxxxxxxxxxxxxxxxx>
On 2009-10-01 18:06:16 +0200, Norbert Sendetzky wrote:
%debug_package macro is inserted+expanded twice). Either you add some
"%if 0%{?mandriva_version} ..." construct to your spec file or you let the
buildservice do this work, e.g. add the following to your project or package
meta: osc meta prj <your project> -e
<debuginfo>
<enable />
<disable repository="<name of your mandriva repo>" />
</debuginfo>
and afterwards remove %debug_package from your spec file (the buildservice
adds this macro to your spec file for all repositories except mandriva).
Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
After adding the %debug_package macro to my spec file, I get the followingIf I remember correctly Mandriva builds a debug package by default (so the
error for Mandriva 2009.1 builds:
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl
obs://build.opensuse.org/home:nsendetzky:OpenDBX/Mandriva_2009.1/26189cf80595b3f0b454bd9b8960d0a2-
OpenDBX' /home/abuild/rpmbuild/SOURCES/opendbx.spec
error: Package already exists: %package debug
%debug_package macro is inserted+expanded twice). Either you add some
"%if 0%{?mandriva_version} ..." construct to your spec file or you let the
buildservice do this work, e.g. add the following to your project or package
meta: osc meta prj <your project> -e
<debuginfo>
<enable />
<disable repository="<name of your mandriva repo>" />
</debuginfo>
and afterwards remove %debug_package from your spec file (the buildservice
adds this macro to your spec file for all repositories except mandriva).
Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |