SPECS: nss_ldap.spec - find out correct nss/libc versions on 64bit...

arekm arekm at pld-linux.org
Thu May 10 20:08:44 CEST 2007


Author: arekm                        Date: Thu May 10 18:08:44 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- find out correct nss/libc versions on 64bit systems

---- Files affected:
SPECS:
   nss_ldap.spec (1.95 -> 1.96) 

---- Diffs:

================================================================
Index: SPECS/nss_ldap.spec
diff -u SPECS/nss_ldap.spec:1.95 SPECS/nss_ldap.spec:1.96
--- SPECS/nss_ldap.spec:1.95	Thu May 10 19:47:31 2007
+++ SPECS/nss_ldap.spec	Thu May 10 20:08:38 2007
@@ -79,6 +79,9 @@
 %patch3 -p1
 %patch4 -p1
 
+sed -i -e "s#NSS_VERS =.*#NSS_VERS = $(ls /%{_lib}/libnss_files.so.? | tail -n 1 | sed -e 's#/%{_lib}/libnss_files\.so\.\(.*\)#\1#')#g" Makefile.am
+sed -i -e "s#LIBC_VERS =.*#LIBC_VERS = $(ls /%{_lib}/libc-*.so | tail -n 1 |sed -e 's#/%{_lib}/libc-\(.*\)\.so#\1#')#g" Makefile.am
+
 %build
 %{__aclocal}
 %{__autoconf}
@@ -120,6 +123,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.96  2007/05/10 18:08:38  arekm
+- find out correct nss/libc versions on 64bit systems
+
 Revision 1.95  2007/05/10 17:47:31  arekm
 - up to 255
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nss_ldap.spec?r1=1.95&r2=1.96&f=u



More information about the pld-cvs-commit mailing list