summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-09-10 23:31:26 +0200
committerMichael Adam <obnox@samba.org>2008-09-11 12:54:23 +0200
commitd63cd755220aba591709917c729e028a913bec5d (patch)
tree5b5bac09c3a6ae557640e5119db96593f8c7207f /packaging
parentfe8448fe8f7ee0d33631366503163d3b2ee3eded (diff)
downloadsamba-d63cd755220aba591709917c729e028a913bec5d.tar.gz
samba-d63cd755220aba591709917c729e028a913bec5d.tar.xz
samba-d63cd755220aba591709917c729e028a913bec5d.zip
packaging(RHEL): fix direction of link (.so) of nss libs.
libnss_winbindd.so -> libnss_winbindd.so.2 libnss_wins.so -> libnss_wins.so.2 Michael
Diffstat (limited to 'packaging')
-rw-r--r--packaging/RHEL/samba.spec.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging/RHEL/samba.spec.tmpl b/packaging/RHEL/samba.spec.tmpl
index b2a7fc374b6..49a01090e81 100644
--- a/packaging/RHEL/samba.spec.tmpl
+++ b/packaging/RHEL/samba.spec.tmpl
@@ -218,11 +218,11 @@ make DESTDIR=$RPM_BUILD_ROOT \
cd ..
# NSS winbind support
-install -m 755 source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_libarch}/libnss_winbind.so
-install -m 755 source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_libarch}/libnss_wins.so
+install -m 755 source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_libarch}/libnss_winbind.so.2
+install -m 755 source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_libarch}/libnss_wins.so.2
( cd $RPM_BUILD_ROOT/%{_libarch};
- ln -sf libnss_winbind.so libnss_winbind.so.2;
- ln -sf libnss_wins.so libnss_wins.so.2 )
+ ln -sf libnss_winbind.so.2 libnss_winbind.so;
+ ln -sf libnss_wins.so.2 libnss_wins.so )
# Put the shared (and possibly static) libraries into /usr/lib{,64}/ .
# Samba 3.2.2 installs them into /usr/lib{,64}/samba/ .