- add smarty subdir in cache
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 11 Jan 2006 23:15:20 +0000 (23:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drupal-themeengine-smarty.spec -> 1.9

drupal-themeengine-smarty.spec

index 8f32a42..103cacf 100644 (file)
@@ -3,7 +3,7 @@ Summary:        Drupal Smarty theme engine
 Summary(pl):   Silnik motywów Drupala Smarty
 Name:          drupal-themeengine-%{engine}
 Version:       4.6.0
-Release:       0.13
+Release:       0.15
 License:       GPL v2
 Group:         Applications/WWW
 Source0:       http://drupal.org/files/projects/%{engine}-%{version}.tar.gz
@@ -40,7 +40,7 @@ rm -f LICENSE.txt # GPL v2
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_enginedir}/%{engine}/plugins,%{_cachedir}/%{engine}}
+install -d $RPM_BUILD_ROOT{%{_enginedir}/%{engine}/plugins,%{_cachedir}/%{engine}/smarty}
 
 install *.tpl $RPM_BUILD_ROOT%{_enginedir}/%{engine}
 install *.engine *.php $RPM_BUILD_ROOT%{_enginedir}/%{engine}
@@ -53,10 +53,12 @@ rm -rf $RPM_BUILD_ROOT
 if [ "$1" = "0" ]; then
        # nuke cache
        rm -f %{_cachedir}/%{engine}/*.php
+       rm -f %{_cachedir}/%{engine}/smarty/*.php
 fi
 
 %files
 %defattr(644,root,root,755)
 %doc *.txt
 %{_enginedir}/%{engine}
-%dir %attr(775,root,http) %{_cachedir}/%{engine}
+%dir %attr(770,root,http) %{_cachedir}/%{engine}
+%dir %attr(770,root,http) %{_cachedir}/%{engine}/smarty
This page took 0.066027 seconds and 4 git commands to generate.