]> git.pld-linux.org Git - packages/apache-mod_bw.git/commitdiff
- correct %files section
authorMichał 'Wolvverine' Panasiewicz <wolvverine@pld-linux.org>
Tue, 8 Mar 2005 08:58:43 +0000 (08:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- add conf file

Changed files:
    apache-mod_bw.spec -> 1.16

apache-mod_bw.spec

index 74e4ac016cc363eeee3cf813aca2e0bd0292ad34..c66bbda8713bfc55f9e4949a38e9c31f618b58a9 100644 (file)
@@ -14,7 +14,7 @@ Group:                Networking/Daemons
 Source0:       http://www.ivn.cl/apache/bw_mod-%{_ver}.tgz
 # Source0-md5: 0c92fa6344f487321291a592dbb49856
 #Source0:      http://www.ivn.cl/apache/mod_%{mod_name}-%{_version}.tgz
-#Source1:      %{name}.conf
+Source1:       %{name}.conf
 URL:           http://www.ivn.cl/apache/
 BuildRequires: apache-devel >= 2.0.0
 BuildRequires: %{apxs}
@@ -54,10 +54,10 @@ mv .libs/bw_mod-0.6.so mod_bandwidth.so
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}} \
        $RPM_BUILD_ROOT%{_var}/run/%{name}/{link,master} \
-       $RPM_BUILD_ROOT{/etc/cron.d,%{_sbindir}}
+       $RPM_BUILD_ROOT{/etc/cron.d,%{_sbindir},%{_sysconfdir}/httpd.conf}
 
 install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
-#install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/mod_%{mod_name}.conf
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/97_mod_%{mod_name}.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -78,10 +78,9 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc bw_mod-0.6.txt
-#TODO
-#%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/mod_*.conf
-%config(noreplace) %verify(not size mtime md5) %attr(640,root,root) /etc/cron.d/%{name}
-%attr(755,root,root) %{_sbindir}/*
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*mod_*.conf
+#%config(noreplace) %verify(not size mtime md5) %attr(640,root,root) /etc/cron.d/%{name}
+#%attr(755,root,root) %{_sbindir}/*
 %attr(755,root,root) %{_pkglibdir}/*
 %attr(750,http,root) %dir %{_var}/run/%{name}
 %attr(750,http,root) %dir %{_var}/run/%{name}/link
This page took 0.065554 seconds and 4 git commands to generate.