From 3dc01ff2bee818efb27abbeeb100ee195491e408 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 17 Dec 2015 08:48:06 +0100 Subject: php-Smarty: add upstream patch, fix regression --- php-Smarty.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'php-Smarty.spec') diff --git a/php-Smarty.spec b/php-Smarty.spec index 80dffab..5b09911 100644 --- a/php-Smarty.spec +++ b/php-Smarty.spec @@ -16,13 +16,16 @@ Name: php-Smarty Summary: Template/Presentation Framework for PHP Version: 3.1.28 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.smarty.net License: LGPLv2+ Group: Development/Libraries Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz +# https://github.com/smarty-php/smarty/issues/121 +Patch0: %{name}-upstream.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # For tests @@ -56,6 +59,8 @@ Autoloader: %{_datadir}/php/Smarty/autoload.php %prep %setup -qn %{gh_project}-%{gh_commit} +%patch0 -p1 + cat << 'EOF' | tee libs/autoload.php - 3.1.28-2 +- add upstream patch, fix regression in 3.1.28, unable to load + template file, https://github.com/smarty-php/smarty/issues/121 + * Sun Dec 13 2015 Remi Collet - 3.1.28-1 - update to 3.1.28 - add an autoloader -- cgit