summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-08-27 15:53:00 +0200
committerMichael Adam <obnox@samba.org>2008-08-29 18:03:10 +0200
commit81e9895a0e588d83558adc723683ebbeeaf4e860 (patch)
tree68d872138aa460219fe0ceb076ed8fdfe409d30f
parent3b18ac2282a25818b8b50853db053c11a9d2ed90 (diff)
downloadsamba-81e9895a0e588d83558adc723683ebbeeaf4e860.tar.gz
samba-81e9895a0e588d83558adc723683ebbeeaf4e860.tar.bz2
samba-81e9895a0e588d83558adc723683ebbeeaf4e860.zip
packaging(RHEL-CTDB): fix direction of symlink for libnss_winbind.so.2
This is a workaround, until we have proper creation of libnss_winbind.so.2 and .so as a symlink from the Makefile. Michael (This used to be commit f48070b8798db7be1197dba18b759cf50eb121d8)
-rw-r--r--packaging/RHEL-CTDB/samba.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/RHEL-CTDB/samba.spec b/packaging/RHEL-CTDB/samba.spec
index 882d6be0d5..9e00ab3e2a 100644
--- a/packaging/RHEL-CTDB/samba.spec
+++ b/packaging/RHEL-CTDB/samba.spec
@@ -232,9 +232,9 @@ cd ..
# NSS & PAM winbind support
install -m 755 source/bin/pam_winbind.so $RPM_BUILD_ROOT/%{_libarch}/security/pam_winbind.so
-install -m 755 source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_libarch}/libnss_winbind.so
+install -m 755 source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_libarch}/libnss_winbind.so.2
( cd $RPM_BUILD_ROOT/%{_libarch};
- ln -sf libnss_winbind.so libnss_winbind.so.2 )
+ ln -sf libnss_winbind.so.2 libnss_winbind.so )
#
# do not install libnss_wins.so in order to reduce dependencies
# (we do not need it for the samba-ctdb scenario)