On Fri, Sep 04, 2009 at 01:21:22PM +0200, Pavol Rusnak wrote:
Michal Marek wrote:
If you rename the library package to libaudit1 (which is a good idea anyway, see http://en.opensuse.org/Packaging/Shared_Libraries), the old audit-libs package will still be available for the not-yet rebuilt packages.
It is not only good idea but a policy that should be followed for every newly created package.
I made the change to rename libaudit.rpm -> libaudit1.rpm $ ls ~/pref-rpms # from osc build audit.spec audit-libs1-2.0-1.x86_64.rpm $ rpm -qlp ~/pref-rpms/audit-libs1-2.0-1.x86_64.rpm /etc/libaudit.conf /lib64/libaudit.so.1 /lib64/libaudit.so.1.0.0 /lib64/libauparse.so.0 /lib64/libauparse.so.0.0.0 $ osc build --no-verify -p ~/pref-rpms audit-secondary.spec ... keeping audit-libs-1.7.13-3.11 installing audit-libs1-2.0-1 file /lib64/libauparse.so.0.0.0 from install of audit-libs1-2.0-1.x86_64 conflicts with file from package audit-libs-1.7.13-3.11.x86_64 Issue is that I have two libraries but only libaudit.so incremented it's version so I'm in violation of "lib$NAME$NUM.rpm may only contain multiple shared libraries if the SO versions of all of them change at the same time always, in lockstep" from "http://en.opensuse.org/Packaging/Shared_Libraries" Is splitting audit-libs into two rpms the only option? I was wondering whether it's possible (or wise?) to try and force the SO vers of libauparse even though nothing has changed? Trying to deviate as litle as possible from the RedHat release (audit-libs.rpm in current rawhide has libaudit.so.1 and libauparse.so.0). Tony -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org