SPECS: wpkg-http.spec - correct config

wolvverine wolvverine at pld-linux.org
Sat Oct 1 04:34:13 CEST 2005


Author: wolvverine                   Date: Sat Oct  1 02:34:13 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- correct config

---- Files affected:
SPECS:
   wpkg-http.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/wpkg-http.spec
diff -u SPECS/wpkg-http.spec:1.3 SPECS/wpkg-http.spec:1.4
--- SPECS/wpkg-http.spec:1.3	Sat Oct  1 04:19:33 2005
+++ SPECS/wpkg-http.spec	Sat Oct  1 04:34:08 2005
@@ -38,6 +38,9 @@
 
 install %{SOURCE1}	$RPM_BUILD_ROOT%{_sysconfdir}/httpd/httpd.conf/98_wpkg-http.conf
 
+mv $RPM_BUILD_ROOT%{_datadir}/%{name}/config/* $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+cd $RPM_BUILD_ROOT%{_datadir}/%{name}/config
+ln -s %{_sysconfdir}/%{name}/config.xml	config.xml
 cd $RPM_BUILD_ROOT%{_datadir}/%{name}/xml
 ln -s %{_sysconfdir}/%{name}/hosts.xml	hosts.xml
 ln -s %{_sysconfdir}/%{name}/packages.xml packages.xml 
@@ -50,6 +53,8 @@
 %defattr(644,root,root,755)
 #%doc README TODO GPL-2 LICENSE
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd/httpd.conf/*
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/*
 #%attr(755,root,root) %{_datadir}/%{name}/wpkg.js
@@ -61,6 +66,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/10/01 02:34:08  wolvverine
+- correct config
+
 Revision 1.3  2005/10/01 02:19:33  wolvverine
 - add config for apache
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/wpkg-http.spec?r1=1.3&r2=1.4&f=u




More information about the pld-cvs-commit mailing list