SPECS: Smarty.spec - fixed issue where the symlink wasn't created ...
shadzik
shadzik at pld-linux.org
Fri Jun 23 00:33:52 CEST 2006
Author: shadzik Date: Thu Jun 22 22:33:52 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed issue where the symlink wasn't created because we hadn't have an earlier version of Smarty installed (idea by sparky)
- rel++
---- Files affected:
SPECS:
Smarty.spec (1.33 -> 1.34)
---- Diffs:
================================================================
Index: SPECS/Smarty.spec
diff -u SPECS/Smarty.spec:1.33 SPECS/Smarty.spec:1.34
--- SPECS/Smarty.spec:1.33 Mon May 29 22:52:12 2006
+++ SPECS/Smarty.spec Fri Jun 23 00:33:45 2006
@@ -5,7 +5,7 @@
Summary(pl): System szablonów dla PHP
Name: Smarty
Version: 2.6.14
-Release: 1
+Release: 2
License: LGPL
Group: Development/Languages/PHP
Source0: http://smarty.php.net/distributions/%{name}-%{version}.tar.gz
@@ -77,6 +77,9 @@
rmdir %{php_pear_dir}/%{name} 2>/dev/null || mv -v %{php_pear_dir}/%{name}{,.rpmsave}
ln -s %{_smartydir} %{php_pear_dir}/%{name}
+%post
+[ -e %{php_pear_dir}/%{name} ] || ln -s %{_smartydir} %{php_pear_dir}/%{name}
+
%files
%defattr(644,root,root,755)
%doc BUGS ChangeLog FAQ INSTALL NEWS README RELEASE_NOTES TODO
@@ -101,6 +104,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.34 2006/06/22 22:33:45 shadzik
+- fixed issue where the symlink wasn't created because we hadn't have an earlier version of Smarty installed (idea by sparky)
+- rel++
+
Revision 1.33 2006/05/29 20:52:12 glen
- 2.6.14
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/Smarty.spec?r1=1.33&r2=1.34&f=u
More information about the pld-cvs-commit
mailing list