gunnar: server/php-smarty php-smarty.spec,1.7,1.8
cvs at kolab.org
cvs at kolab.org
Thu Sep 13 16:45:07 CEST 2007
Author: gunnar
Update of /kolabrepository/server/php-smarty
In directory doto:/tmp/cvs-serv10159
Modified Files:
php-smarty.spec
Log Message:
Revert, this should happen later.
Index: php-smarty.spec
===================================================================
RCS file: /kolabrepository/server/php-smarty/php-smarty.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- php-smarty.spec 13 Sep 2007 14:43:35 -0000 1.7
+++ php-smarty.spec 13 Sep 2007 14:45:05 -0000 1.8
@@ -1,6 +1,6 @@
# Variables
%define V_version 2.6.18
-%define V_release 20070816
+%define V_release 20070607
# Package Information
Name: php-smarty
@@ -39,14 +39,14 @@
%install
rm -rf $RPM_BUILD_ROOT
- %{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/lib/php/smarty/internals
- %{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/lib/php/smarty/plugins
+ %{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/lib/php/Smarty/internals
+ %{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/lib/php/Smarty/plugins
%{l_shtool} install -d $RPM_BUILD_ROOT%{l_prefix}/share/php-smarty/manual/stylesheet-images
%{l_shtool} install -m 644 libs/{Config_File,Smarty{,_Compiler}}.class.php \
- $RPM_BUILD_ROOT%{l_prefix}/lib/php/smarty
- %{l_shtool} install -m 644 libs/debug.tpl $RPM_BUILD_ROOT%{l_prefix}/lib/php/smarty
- %{l_shtool} install -m 644 libs/internals/*.php $RPM_BUILD_ROOT%{l_prefix}/lib/php/smarty/internals
- %{l_shtool} install -m 644 libs/plugins/*.php $RPM_BUILD_ROOT%{l_prefix}/lib/php/smarty/plugins
+ $RPM_BUILD_ROOT%{l_prefix}/lib/php/Smarty
+ %{l_shtool} install -m 644 libs/debug.tpl $RPM_BUILD_ROOT%{l_prefix}/lib/php/Smarty
+ %{l_shtool} install -m 644 libs/internals/*.php $RPM_BUILD_ROOT%{l_prefix}/lib/php/Smarty/internals
+ %{l_shtool} install -m 644 libs/plugins/*.php $RPM_BUILD_ROOT%{l_prefix}/lib/php/Smarty/plugins
%{l_shtool} install -m 644 BUGS ChangeLog FAQ INSTALL NEWS README RELEASE_NOTES TODO \
$RPM_BUILD_ROOT%{l_prefix}/share/php-smarty
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
@@ -59,3 +59,7 @@
rm -rf $RPM_BUILD_ROOT
%files -f files
+
+%post
+ echo "Removing old compiled templates from %{l_prefix}/var/kolab/php/admin/templates_c"
+ rm -f %{l_prefix}/var/kolab/php/admin/templates_c/*
More information about the commits
mailing list