From 6085ad2b4a1ae79a08855f96bf122a37c6864a91 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Oct 2016 09:38:46 +0200 Subject: php-twig-extensions: upstream patch --- php-twig-extensions.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-twig-extensions.spec') diff --git a/php-twig-extensions.spec b/php-twig-extensions.spec index 61be0f8..cbc5533 100644 --- a/php-twig-extensions.spec +++ b/php-twig-extensions.spec @@ -32,7 +32,7 @@ Name: php-%{composer_vendor}-%{composer_project} Version: %{github_version} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Twig extensions Group: Development/Libraries @@ -40,6 +40,8 @@ License: MIT URL: http://twig.sensiolabs.org/doc/extensions/index.html Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz +Patch0: %{name}-upstream.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # Tests @@ -76,6 +78,8 @@ Common additional features for Twig that do not directly belong in core Twig. %prep %setup -qn %{github_name}-%{github_commit} +%patch0 -p1 -b .upstream + : Create autoloader cat <<'AUTOLOAD' | tee lib/Twig/Extensions/autoload.php - 1.4.0-2 +- add upstream patch for test suite with twig 1.26 + * Sun Sep 25 2016 Shawn Iwinski - 1.4.0-1 - Updated to 1.4.0 (RHBZ #1378643) -- cgit