packages: openldap-module-sha2/openldap-module-sha2.spec - the PLD-way

shadzik shadzik at pld-linux.org
Fri Nov 20 21:08:44 CET 2009


Author: shadzik                      Date: Fri Nov 20 20:08:44 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- the PLD-way

---- Files affected:
packages/openldap-module-sha2:
   openldap-module-sha2.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/openldap-module-sha2/openldap-module-sha2.spec
diff -u packages/openldap-module-sha2/openldap-module-sha2.spec:1.4 packages/openldap-module-sha2/openldap-module-sha2.spec:1.5
--- packages/openldap-module-sha2/openldap-module-sha2.spec:1.4	Fri Nov 20 19:50:19 2009
+++ packages/openldap-module-sha2/openldap-module-sha2.spec	Fri Nov 20 21:08:39 2009
@@ -10,7 +10,6 @@
 Group:		Applications
 Source0:	http://xatka.net/~z/PLD/%{name}-%{svnrel}.tar.bz2
 # Source0-md5:	56e27d51467898783da461c4f0c78091
-Source1:	%{name}.make
 URL:		http://confluence.atlassian.com/display/JIRAEXT/OpenLDAP+support+for+SHA-2+%28SHA-256,+SHA-384,+SHA-512%29+and+atlassian-sha1+passwords
 BuildRequires:	openldap-headers
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -25,8 +24,12 @@
 %setup -qn %{name}-%{svnrel}
 
 %build
-%{__make} -f %{SOURCE1} OPENLDAPINC=%{_includedir}/openldap
-%{__make} -C standalone
+%{__make} \
+	CC="%{__cc}" \
+	CCFLAGS="%{rpmcflags} -fPIC -I%{_includedir}/openldap"
+%{__make} -C standalone \
+	CC="%{__cc}" \
+	CCFLAGS="%{rpmcflags} -fPIC"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -49,6 +52,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2009/11/20 20:08:39  shadzik
+- the PLD-way
+
 Revision 1.4  2009/11/20 18:50:19  pawelz
 - compile with -fPIC, not link!!!
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openldap-module-sha2/openldap-module-sha2.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list