![](https://seccdn.libravatar.org/avatar/45bf5eef0471996074efa055ea252116.jpg?s=120&d=mm&r=g)
On 20/12/09 02:20, Dave Plater wrote:
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 libraries have the same names but I think the three binaries are identical.
In that case, create two different spec files with the same source and make them to conflict with each other. Unfortunately rpm doesn't support normal commands like cp in
the %files section
huh ? that would be pretty wrong..
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}.
No.. You are going to mess the target system up. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org