From 8d7bb021a56bc13211b021f92552e03034f4192c Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 12 Aug 2008 21:48:00 +0200 Subject: packaging(RHEL-CTDB): install the right libraries for 3.3.0. The library creation and installation has been fixed in that now the libfoo.so.VERSION is created and libfoo.so is correclty installed as a link. Since we do not have a separation of lib dir and modules dir, we do still install to /usr/lib/samba/, though. Therefore we still need the workaround in the spec file to install the libs to /usr/lib/ manually. Michael (This used to be commit ba17854342cfe8a0ad63b0f4800d16152291b50f) --- packaging/RHEL-CTDB/samba.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/RHEL-CTDB/samba.spec b/packaging/RHEL-CTDB/samba.spec index a7c9d46beb..2cd57bc240 100644 --- a/packaging/RHEL-CTDB/samba.spec +++ b/packaging/RHEL-CTDB/samba.spec @@ -271,22 +271,22 @@ install -m755 source/bin/pam_smbpass.so $RPM_BUILD_ROOT/%{_libarch}/security/pam # # libwbclient rm -f $RPM_BUILD_ROOT%{_libarchdir}/samba/libwbclient.so* -install -m 755 source/bin/libwbclient.so \ +install -m 755 source/bin/libwbclient.so.0 \ $RPM_BUILD_ROOT%{_libarchdir}/libwbclient.so.0 ln -s libwbclient.so.0 $RPM_BUILD_ROOT%{_libarchdir}/libwbclient.so # libtalloc rm -f $RPM_BUILD_ROOT%{_libarchdir}/samba/libtalloc.so* -install -m 755 source/bin/libtalloc.so \ +install -m 755 source/bin/libtalloc.so.1 \ $RPM_BUILD_ROOT%{_libarchdir}/libtalloc.so.1 ln -s libtalloc.so.1 $RPM_BUILD_ROOT%{_libarchdir}/libtalloc.so # libtdb rm -f $RPM_BUILD_ROOT%{_libarchdir}/samba/libtdb.so* -install -m 755 source/bin/libtdb.so \ +install -m 755 source/bin/libtdb.so.1 \ $RPM_BUILD_ROOT%{_libarchdir}/libtdb.so.1 ln -s libtdb.so.1 $RPM_BUILD_ROOT%{_libarchdir}/libtdb.so # libnetapi rm -f $RPM_BUILD_ROOT%{_libarchdir}/samba/libnetapi.so* -install -m 755 source/bin/libnetapi.so \ +install -m 755 source/bin/libnetapi.so.0 \ $RPM_BUILD_ROOT%{_libarchdir}/libnetapi.so.0 ln -s libnetapi.so.0 $RPM_BUILD_ROOT%{_libarchdir}/libnetapi.so -- cgit