packages: nss_ldap/nss_ldap.spec - rel 1 - fix building with heimdal

baggins baggins at pld-linux.org
Mon Jul 6 00:12:07 CEST 2009


Author: baggins                      Date: Sun Jul  5 22:12:07 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 1
- fix building with heimdal

---- Files affected:
packages/nss_ldap:
   nss_ldap.spec (1.101 -> 1.102) 

---- Diffs:

================================================================
Index: packages/nss_ldap/nss_ldap.spec
diff -u packages/nss_ldap/nss_ldap.spec:1.101 packages/nss_ldap/nss_ldap.spec:1.102
--- packages/nss_ldap/nss_ldap.spec:1.101	Thu Jul  2 16:38:34 2009
+++ packages/nss_ldap/nss_ldap.spec	Mon Jul  6 00:12:02 2009
@@ -5,7 +5,7 @@
 Summary(pt_BR.UTF-8):	Biblioteca NSS para LDAP
 Name:		nss_ldap
 Version:	264
-Release:	0.1
+Release:	1
 License:	LGPL
 Group:		Base
 Source0:	http://www.padl.com/download/%{name}-%{version}.tar.gz
@@ -14,7 +14,8 @@
 Patch1:		%{name}-nolibs.patch
 Patch2:		%{name}-gecos-optional.patch
 Patch3:		%{name}-group_range_fix.patch
-Patch5:		%{name}-soname.patch
+Patch4:		%{name}-soname.patch
+Patch5:		%{name}-heimdal.patch
 URL:		http://www.padl.com/OSS/nss_ldap.html
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -73,6 +74,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 %patch5 -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
@@ -83,6 +85,7 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+CFLAGS="%{rpmcflags} -DHEIMDAL" ; export CFLAGS
 %configure \
 	--with-ldap-lib=openldap \
 	--enable-rfc2307bis \
@@ -118,6 +121,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.102  2009/07/05 22:12:02  baggins
+- rel 1
+- fix building with heimdal
+
 Revision 1.101  2009/07/02 14:38:34  baggins
 - up to 264
 - removed parse patch (fixed upstream)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nss_ldap/nss_ldap.spec?r1=1.101&r2=1.102&f=u



More information about the pld-cvs-commit mailing list