[opensuse-packaging] Sub packaging or extra
Hi, It is a general question actually, but what is the recommended approach when one is packaging more then one source package? I have a main package with its' source file and then small source packages that would enhance the main package and some of them have different licenses in relation to the main source. These small packages do need the main package as otherwise they are useless. Currently I am inclined to create sub packages so when eventually the package goes in to Factory, I don't have to submit X number of packages but only one ;). However, experience has taught me as well when the package is maintained for different releases then there are lots of if/else/endif blocks going on and with these sub-packages it means more work to keep them building and functioning as the spec file itself becomes big. On the other hand if I create separate packages that would mean I need to submit each one separately and still need to maintain for the different releases. It probably is a taste issue, but would like to hear others' thoughts as well Thanks Togan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sat, 2012-09-15 at 11:14 +0200, Togan Muftuoglu wrote:
Hi,
It is a general question actually, but what is the recommended approach when one is packaging more then one source package? I have a main package with its' source file and then small source packages that would enhance the main package and some of them have different licenses in relation to the main source. These small packages do need the main package as otherwise they are useless.
As a genera rule of thumb: Do the same as upstream does: if it's different tarballs, that means it's different packages. Mind we did have exactly that situation in Xorg packages for a while: one 'package' with a gazillion or tarballs, spitting out a gaziliion of RPMs. Maintenance of such a beast is incredible and it becomes really difficult to see what packages had updates. Submitting X packages is much less hassle in the long run. Best regards, Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Dimstar / Dominique Leuenberger
-
Togan Muftuoglu