[packages/php-Smarty] path patch no longer needed as Smarty.class.php symlink is not provided

glen glen at pld-linux.org
Tue Sep 2 13:40:40 CEST 2014


commit 1f33571445a8bf66bf96f732ace2e98b05961080
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Sep 2 14:40:16 2014 +0300

    path patch no longer needed as Smarty.class.php symlink is not provided

 path.patch      | 12 ------------
 php-Smarty.spec |  2 --
 2 files changed, 14 deletions(-)
---
diff --git a/php-Smarty.spec b/php-Smarty.spec
index c8ab62c..8a8de7c 100644
--- a/php-Smarty.spec
+++ b/php-Smarty.spec
@@ -13,7 +13,6 @@ Source0:	http://www.smarty.net/files/Smarty-%{version}.tar.gz
 # Source1Download: http://www.smarty.net/documentation
 Source1:	http://www.smarty.net/files/docs/manual-en.%{doc_version}.zip
 # Source1-md5:	f54b1dd458776e4b1ccfdbfbfda1f484
-Patch0:		path.patch
 URL:		http://www.smarty.net/
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.553
@@ -59,7 +58,6 @@ Dokumentacja do systemu szablonów Smarty.
 
 %prep
 %setup -q -n Smarty-%{main_version} -a1
-%patch0 -p1
 
 %undos -f php
 
diff --git a/path.patch b/path.patch
deleted file mode 100644
index de0eae2..0000000
--- a/path.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -uNr Smarty-3.1.5.old/libs/Smarty.class.php Smarty-3.1.5/libs/Smarty.class.php
---- Smarty-3.1.5.old/libs/Smarty.class.php	2011-11-14 18:55:20.000000000 +0100
-+++ Smarty-3.1.5/libs/Smarty.class.php	2011-11-15 22:52:22.824193889 +0100
-@@ -43,7 +43,7 @@
- * Sets SMARTY_DIR only if user application has not already defined it.
- */
- if (!defined('SMARTY_DIR')) {
--    define('SMARTY_DIR', dirname(__FILE__) . DS);
-+    define('SMARTY_DIR', '/usr/share/php/Smarty3/');
- }
- 
- /**
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-Smarty.git/commitdiff/1f33571445a8bf66bf96f732ace2e98b05961080



More information about the pld-cvs-commit mailing list