From 46dd203a978d1d78a71c01a5254532abaf3ce33c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mar 02 2017 09:34:28 +0000 Subject: update to 2.2.0 add dependency on psr/container --- diff --git a/.gitignore b/.gitignore index e088fc3..b182187 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ clog /php-twig2-2.0.0-2a86dde.tar.gz /php-twig2-2.1.0-9062992.tar.gz +/php-twig2-2.2.0-29bb02d.tar.gz diff --git a/php-twig2.spec b/php-twig2.spec index 60ad644..cbc9f9c 100644 --- a/php-twig2.spec +++ b/php-twig2.spec @@ -13,7 +13,7 @@ %global with_tests 0%{!?_without_tests:1} %global github_owner twigphp %global github_name Twig -%global github_commit 9062992538bc5855a683c6737257bfa18d25a4b8 +%global github_commit 29bb02dde09ff56291d30f7687eb8696918023af %global github_short %(c=%{github_commit}; echo ${c:0:7}) %global composer_vendor twig @@ -24,8 +24,8 @@ %global phpdir %{_datadir}/php Name: php-%{composer_project}2 -Version: 2.1.0 -Release: 2%{?dist} +Version: 2.2.0 +Release: 1%{?dist} Summary: The flexible, fast, and secure template engine for PHP Group: Development/Libraries @@ -41,7 +41,8 @@ BuildRequires: php-fedora-autoloader-devel BuildRequires: php(language) >= %{php_min_ver} BuildRequires: php-composer(phpunit/phpunit) BuildRequires: php-composer(symfony/phpunit-bridge) -BuildRequires: php-composer(symfony/debug) +BuildRequires: php-composer(symfony/debug) >= 2.7 +BuildRequires: php-composer(psr/container) >= 1.0 ## phpcompatinfo (computed from version 2.0.0) BuildRequires: php-ctype BuildRequires: php-date @@ -120,6 +121,7 @@ require_once '%{buildroot}%{phpdir}/Twig2/autoload.php'; // Dependencies (require-dev) require_once '%{phpdir}/Symfony/Bridge/PhpUnit/autoload.php'; require_once '%{phpdir}/Symfony/Component/Debug/autoload.php'; +require_once '%{phpdir}/Psr/Container/autoload.php'; EOF : Upstream test suite @@ -146,6 +148,10 @@ exit $RETURN_CODE %changelog +* Mon Feb 27 2017 Remi Collet - 2.2.0-1 +- update to 2.2.0 +- add dependency on psr/container + * Sat Feb 11 2017 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index a441856..83e7733 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-twig2-2.1.0-9062992.tar.gz) = 0517f1a93f56625d14e9641a2ac77cba63e1da8178c5c87aac5ee8d757489e2f2a51a448b7c8fcc1bc244c362c35fbd0752347d6e4f6b2fd97714009d5b00bf8 +SHA512 (php-twig2-2.2.0-29bb02d.tar.gz) = 7a8c7e750c850825e1a5cb789bb968c10898747b0c1917831d87a27a3064a04ef24d2d7267d2f2b4a7d2684bf0e31a8b4b704e795101637f24c85beb6e36605c