]> git.pld-linux.org Git - packages/ZoneAdmin.git/commitdiff
- trying to move templates_c to /var/lib
authorSÅ‚awomir Paszkiewicz <paszczus@pld-linux.org>
Fri, 12 Oct 2007 19:53:53 +0000 (19:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ZoneAdmin.spec -> 1.9

ZoneAdmin.spec

index 8af2e65351be82f01bb73f410ec7f4187a5b9468..0462d3e54a8c2c1ad19488bae273dbf9833ee4e3 100644 (file)
@@ -22,6 +22,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _webapp         %{name}
 %define                _smartyplugindir        /usr/share/php/Smarty/plugins
 %define                _sysconfdir     %{_webapps}/%{_webapp}
+%define                _zavar          /var/lib/%{name}
 %define                _appdir         %{_datadir}/%{_webapp}
 
 %description
@@ -48,7 +49,7 @@ Alias /%{name} %{_appdir}
 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
@@ -107,5 +108,6 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.064745 seconds and 4 git commands to generate.