summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-08-12 21:48:00 +0200
committerMichael Adam <obnox@samba.org>2008-08-13 11:54:14 +0200
commit8d7bb021a56bc13211b021f92552e03034f4192c (patch)
tree1d715f60488f2b1ac95db4616caf91af179608a0
parent0a0b8ceb4449b3fbf061cb4408a603d3730c9f05 (diff)
downloadsamba-8d7bb021a56bc13211b021f92552e03034f4192c.tar.gz
samba-8d7bb021a56bc13211b021f92552e03034f4192c.tar.bz2
samba-8d7bb021a56bc13211b021f92552e03034f4192c.zip
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)
-rw-r--r--packaging/RHEL-CTDB/samba.spec8
1 files 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