[Fedora-packaging] Creating a spin-off package

Toshio Kuratomi a.badger at gmail.com
Wed Jan 4 23:56:53 UTC 2012


On Tue, Jan 03, 2012 at 09:49:19PM +0200, Jussi Lehtola wrote:
> On Mon, 2 Jan 2012 16:15:33 +0100
> Simone Caronni <negativo17 at gmail.com> wrote:
> > Everything is rebuilt every time there's the need to apply any change;
> > while the docs are usually static for each release. With all the
> > testing done for rawhide and the rebuilding of the same packages for
> > RHEL 4/5/6 and Fedora 16 I lost a lot of time doing uploads for
> > scratch builds and mock/koji rebuilds; so I would like to get away
> > from this. Also RHEL 4 and 5 do not allow you to specify a separate
> > BuildArch in a subpackage; which make "x86_64" pointless as an arch
> > for a package containing PDF files.
> 
> Then why not just make a --without doc option (or a %global switch) in
> the spec file? Then the docs would be built by default, but you could
> also skip the building of the docs when you are just working on the package.
> 

The end user also has to download and install the new docs package everytime
the main bacula package is updated when the -docs package is just
a subpackage (instead of a separate package).

I agree that having a separate package makes a lot of sense here.

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20120104/749859a3/attachment.sig>


More information about the packaging mailing list