packaging(RHEL-CTDB): fix direction of symlink for libnss_winbind.so.2
authorMichael Adam <obnox@samba.org>
Wed, 27 Aug 2008 13:53:00 +0000 (15:53 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 29 Aug 2008 16:03:10 +0000 (18:03 +0200)
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)

packaging/RHEL-CTDB/samba.spec

index 882d6be0d5ccc02a851cc7f88dc33048cdd608a0..9e00ab3e2a3f4cca6554e4b1fc10f7d553ae8372 100644 (file)
@@ -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)