It really depends whether you want to support the mysql and postgresql linked versions of your package bring installed simultaneously. If the answer is yes, then you either need to rename the file or at least put then on distinct paths and then use something like update- alternatives to allow your users to select which version they want.
On Dec 19, 2009, at 5:18 AM, "Dave Plater" <dplater@webafrica.org.za> wrote:
Hi, I need to package a postgresql and a mysql build of the same package, I can do two different builds in the same spec file but the resulting libraries and binaries have the same names. Is there a way to create two rpms with the files from the resulting builds or use two spec files in the same package or am I going to have to rename all the files with the same names? Thanks Dave P
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
I need to produce two rpms from the same package bacula, one built with -with-postgresql and one -with-mysql, in fact there is an sqlite version as well but if I can make two then I can make three. The resulting
On 12/19/2009 09:31 PM, Luke Imhoff wrote: libraries have the same names but I think the three binaries are identical. Unfortunately rpm doesn't support normal commands like cp in the %files section because that would solve my problem. An idea I've just had is to place them in a different directory and use the %pre section to copy them across to %{_libdir}. Thanks Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org