SPECS: ZoneAdmin.spec - trying to move templates_c to /var/lib

paszczus paszczus at pld-linux.org
Fri Oct 12 21:53:59 CEST 2007


Author: paszczus                     Date: Fri Oct 12 19:53:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- trying to move templates_c to /var/lib

---- Files affected:
SPECS:
   ZoneAdmin.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/ZoneAdmin.spec
diff -u SPECS/ZoneAdmin.spec:1.8 SPECS/ZoneAdmin.spec:1.9
--- SPECS/ZoneAdmin.spec:1.8	Fri Oct 12 21:32:34 2007
+++ SPECS/ZoneAdmin.spec	Fri Oct 12 21:53:53 2007
@@ -23,6 +23,7 @@
 %define		_webapp		%{name}
 %define		_smartyplugindir	/usr/share/php/Smarty/plugins
 %define		_sysconfdir	%{_webapps}/%{_webapp}
+%define		_zavar		/var/lib/%{name}
 %define		_appdir		%{_datadir}/%{_webapp}
 
 %description
@@ -49,7 +50,7 @@
 EOF
 
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_smartyplugindir},%{_appdir}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_smartyplugindir},%{_zavar}/templates_c,%{_appdir}}
 
 install apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
 install apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
@@ -108,8 +109,9 @@
 %dir %{_appdir}/tpl/Boxes/img
 %{_appdir}/tpl/Boxes/img/*.jpg
 %{_appdir}/tpl/Boxes/img/*.gif
-%dir %attr(770,root,http) %{_appdir}/templates_c
 %{_smartyplugindir}/*
+%dir %{_zavar}
+%attr(770,root,http) %{_zavar}/templates_c
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -117,6 +119,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2007/10/12 19:53:53  paszczus
+- trying to move templates_c to /var/lib
+
 Revision 1.8  2007/10/12 19:32:34  paszczus
 - added Smarty patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ZoneAdmin.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list