[Fedora-packaging] Creating a spin-off package

Simone Caronni negativo17 at gmail.com
Mon Jan 2 15:15:33 UTC 2012


Hello,

I would like to spin-off a package which is now a sub-package of another
one.

Bacula contains 4mb of code and 40mb of docs; I would like to split them
off:

[slaanesh at 3zpc0560 bacula]$ ls -alghs *tar*
3,9M -rw-rw-r--. 1 slaanesh 3,9M 19 dic 09.16 bacula-5.2.3.tar.gz
 40M -rw-rw-r--. 1 slaanesh  40M 19 dic 09.16 bacula-docs-5.2.3.tar.bz2

http://koji.fedoraproject.org/koji/buildinfo?buildID=279494

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.

bacula-docs does not really need to be part of the main package, and apart
from good packaging, rpmlint checks and packaging guidelines what is needed
to make a spinoff of the package in Fedora?

Following the same approach; after the docs I would also like to package
"bacula-gui" which is not yet packaged in Fedora; but that count as a
separate package.
I have already prepared the separate packages on my laptop.

Thanks & happy new year to everybody.
--Simone



-- 
You cannot discover new oceans unless you have the courage to lose sight of
the shore (R. W. Emerson).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20120102/dc4b9055/attachment.html>


More information about the packaging mailing list