packages: apache-mod_bw/apache-mod_bw.spec - fix config dir

glen glen at pld-linux.org
Fri Oct 21 20:51:53 CEST 2011


Author: glen                         Date: Fri Oct 21 18:51:53 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix config dir

---- Files affected:
packages/apache-mod_bw:
   apache-mod_bw.spec (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: packages/apache-mod_bw/apache-mod_bw.spec
diff -u packages/apache-mod_bw/apache-mod_bw.spec:1.35 packages/apache-mod_bw/apache-mod_bw.spec:1.36
--- packages/apache-mod_bw/apache-mod_bw.spec:1.35	Fri Jun 10 12:59:01 2011
+++ packages/apache-mod_bw/apache-mod_bw.spec	Fri Oct 21 20:51:48 2011
@@ -7,7 +7,7 @@
 Summary(pl.UTF-8):	Moduł do Apache: limity pasma
 Name:		apache-mod_%{mod_name}
 Version:	0.92
-Release:	1
+Release:	2
 License:	Apache v2.0
 Group:		Networking/Daemons/HTTP
 Source0:	http://ivn.cl/files/source/mod_bw-%{version}.tgz
@@ -24,7 +24,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
 
 %description
 "Mod_bandwidth" is a module for the Apache webserver that enable the
@@ -43,12 +43,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf} \
+install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}} \
 	$RPM_BUILD_ROOT%{_var}/run/%{name}/{link,master} \
 	$RPM_BUILD_ROOT{/etc/cron.d,%{_sbindir}}
 
 install -p .libs/mod_bw.so $RPM_BUILD_ROOT%{_pkglibdir}/mod_%{mod_name}.so
-cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/97_mod_%{mod_name}.conf
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/97_mod_%{mod_name}.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -64,7 +64,7 @@
 %files
 %defattr(644,root,root,755)
 %doc mod_bw.txt LICENSE ChangeLog
-%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
 #%config(noreplace) %verify(not size mtime md5) %attr(640,root,root) /etc/cron.d/%{name}
 #%attr(755,root,root) %{_sbindir}/*
@@ -78,6 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2011/10/21 18:51:48  glen
+- fix config dir
+
 Revision 1.35  2011/06/10 10:59:01  glen
 - license version
 
================================================================

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



More information about the pld-cvs-commit mailing list