From 291717bfa863611ab06ef4e306a8a0432bd468e1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 22 Sep 2021 11:38:41 +0200 Subject: v1.44.5 --- php-twig.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'php-twig.spec') diff --git a/php-twig.spec b/php-twig.spec index b57b9db..8fc2888 100644 --- a/php-twig.spec +++ b/php-twig.spec @@ -16,8 +16,8 @@ %global github_owner twigphp %global github_name Twig -%global github_version 1.44.4 -%global github_commit 4d400421528e9fa40caaffcf7824c172526dd99d +%global github_version 1.44.5 +%global github_commit dd4353357c5a116322e92a00d16043a31881a81e %global github_short %(c=%{github_commit}; echo ${c:0:7}) # Lib @@ -40,6 +40,8 @@ URL: http://twig.sensiolabs.org Source0: %{name}-%{github_version}-%{github_short}.tgz Source1: makesrc.sh +Patch0: https://patch-diff.githubusercontent.com/raw/twigphp/Twig/pull/3563.patch + BuildArch: noarch # as we use phpunit9 (for assertFileDoesNotExist) BuildRequires: php-devel >= 7.3 @@ -123,6 +125,7 @@ Autoloader: %{phpdir}/Twig/autoload.php %prep %setup -qn %{github_name}-%{github_commit} +%patch0 -p1 : Move the PSR-4 compat library mv src lib/Twig/psr4 @@ -190,6 +193,10 @@ exit $RETURN_CODE %changelog +* Wed Sep 22 2021 Remi Collet - 1.44.5-1 +- update to 1.44.5 +- add patch for test suite from https://github.com/twigphp/Twig/pull/3563 + * Mon May 17 2021 Remi Collet - 1.44.4-1 - update to 1.44.4 -- cgit