summaryrefslogtreecommitdiff
path: root/packaging/RHEL
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-09-10 23:22:49 +0200
committerMichael Adam <obnox@samba.org>2008-09-10 23:24:21 +0200
commitb4c708cb940bc16f72b939f0e5b217154d834000 (patch)
tree81040f0b3679f528a35cb99cf1d03a2972e95ac4 /packaging/RHEL
parent3978317af0c265d317258f5f6a04436100437a8c (diff)
downloadsamba-b4c708cb940bc16f72b939f0e5b217154d834000.tar.gz
samba-b4c708cb940bc16f72b939f0e5b217154d834000.tar.bz2
samba-b4c708cb940bc16f72b939f0e5b217154d834000.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 (This used to be commit 295bfb6af8153e91ae881e2437cc707d5736bc97)
Diffstat (limited to 'packaging/RHEL')
-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 20567bb98b..92030fcd6b 100644
--- a/packaging/RHEL/samba.spec.tmpl
+++ b/packaging/RHEL/samba.spec.tmpl
@@ -217,11 +217,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 )
## cleanup
/bin/rm -rf $RPM_BUILD_ROOT/usr/lib*/samba/security