packages: apache-mod_cfg_ldap/apache-mod_cfg_ldap.spec - working url. dir f...

glen glen at pld-linux.org
Fri Dec 9 12:45:33 CET 2011


Author: glen                         Date: Fri Dec  9 11:45:33 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- working url. dir fixes

---- Files affected:
packages/apache-mod_cfg_ldap:
   apache-mod_cfg_ldap.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: packages/apache-mod_cfg_ldap/apache-mod_cfg_ldap.spec
diff -u packages/apache-mod_cfg_ldap/apache-mod_cfg_ldap.spec:1.24 packages/apache-mod_cfg_ldap/apache-mod_cfg_ldap.spec:1.25
--- packages/apache-mod_cfg_ldap/apache-mod_cfg_ldap.spec:1.24	Sat Oct 25 17:50:01 2008
+++ packages/apache-mod_cfg_ldap/apache-mod_cfg_ldap.spec	Fri Dec  9 12:45:28 2011
@@ -11,7 +11,7 @@
 Source0:	http://dl.sourceforge.net/modcfgldap/mod_%{mod_name}-%{version}.tar.gz
 # Source0-md5:	055924d6488608f684b22e7b04cea2ea
 Patch0:		%{name}-openldap-2.3.patch
-URL:		http://modcfgldap.sourceforge.net/
+URL:		http://sourceforge.net/projects/modcfgldap/
 BuildRequires:	%{apxs}
 BuildRequires:	apache-devel >= 2.0
 BuildRequires:	db-devel >= 4.2.52
@@ -21,7 +21,7 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_pkglibdir	%(%{apxs} -q LIBEXECDIR 2>/dev/null)
-%define		_sysconfdir	%(%{apxs} -q SYSCONFDIR 2>/dev/null)
+%define		_sysconfdir	%(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
 %define		schemadir	/usr/share/openldap/schema
 
 %description
@@ -54,11 +54,11 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf}
+install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir},%{schemadir}}
 
-install .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
-install cfg_ldap.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/85_mod_cfg_ldap.conf
-install -D mod_cfg_ldap.schema $RPM_BUILD_ROOT%{schemadir}/mod_cfg_ldap.schema
+install -p .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
+cp -p cfg_ldap.conf $RPM_BUILD_ROOT%{_sysconfdir}/85_mod_cfg_ldap.conf
+cp -p mod_cfg_ldap.schema $RPM_BUILD_ROOT%{schemadir}/mod_cfg_ldap.schema
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -84,7 +84,7 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog INSTALL README TODO
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_%{mod_name}.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*_mod_%{mod_name}.conf
 %attr(755,root,root) %{_pkglibdir}/*.so
 
 %files -n openldap-schema-mod_cfg_ldap
@@ -97,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2011/12/09 11:45:28  glen
+- working url. dir fixes
+
 Revision 1.24  2008/10/25 15:50:01  blues
 - HTTP group
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache-mod_cfg_ldap/apache-mod_cfg_ldap.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list