Mailinglist Archive: opensuse-packaging (218 mails)

< Previous Next >
Re: [opensuse-packaging] How can I produce two different builds of the same package?
  • From: Dave Plater <dplater@xxxxxxxxxxxxxxxx>
  • Date: Tue, 22 Dec 2009 19:48:58 +0200
  • Message-id: <4B31068A.5020507@xxxxxxxxxxxxxxxx>
On 12/22/2009 07:11 PM, Cristian Rodríguez wrote:
On 22/12/09 14:00, Dave Plater wrote:
and I end up

with a baculapostgre package which is just a link in the same project
but the postgre rpms are in the baculapostgre package and the mysql ones
are in bacula.

That's right, assuming you have spec files named baculapostgre.spec and
bacula.spec

I want to have all the rpms in the bacula package.

You can't.


Have I perhaps done something wrong?

No, it is just fine.


How does libqt4 get it right? It has three spec files libqt4,
libqt4-sql-plugins and libqt4-doc and all of the rpms from these spec
files are built in the one package. This is much cleaner than having
three different packages all using the same source and also better than
using update-alternatives in the %pre section of the rpm. Meanwhile
Contrib only has the mysql version of bacula.
Regards
Dave P

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

< Previous Next >
Follow Ups