One source, multiple packages?

Manuel Wolfshant wolfy at nobugconsulting.ro
Tue Feb 10 10:12:46 UTC 2009


Steven Moix wrote:
> Hello all,
>
> I have a question regarding the generation of multiple packages from one
> source, I can't find anything about that in the packaging guidelines.
>
> I'm looking at packaging Motion [1] (which will probably end up in RPM
> Fusion, but it doesn't change my problem), but it can be compiled with
> several options people may want to use, like mysql or postgresql
> support. The problem is that you can't divide it into sub-packages, at
> the end it generates one big binary file.
>
> What should I do from here? Chose the options I care about and push the
> package that way? Propose 2 different packages? Anything else?
>   
personally I would compile twice, once enabling mysql and another time 
pgsql, and create 2 packages. each package would install a 
"motion-dbname" binary, and a symlink would allow access via the well 
known name "motion". Using alternatives would allow a switch between the 
two.




More information about the fedora-devel-list mailing list