Specfile suggestion for subpackages with differently linked binaries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm currently trying to package ser, the sip express router.

Depending on the variables passed at compile time, the resulting binary is 
either linking against mysql or postgresql.
IN order not to pull in unneeded dependencies I'd like to package it as 
ser (no database support/no persistant storage), ser-mysql, ser-pgsql and
ser-common for the rest

Is there a template/example spec file somewhere detailing how one would 
package such a software?
Right now I'm wondering how to manage the %install phase and how to get 
the binaries with the same name, but different dependencies installed and 
listed in the %files section.

thx,
 andreas

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux