From 17dca360f08cad3beb7a73685272fdcf995d6bba Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 24 Apr 2017 15:45:00 +0200 Subject: v5.4.3 (backported from Fedora) --- .gitignore | 12 +++++++----- php-di.spec | 17 ++++++++++------- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 43303d1..1ab5c4f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ -clog -/php-di-5.2.0-e20ff1b465a15548e22efcea79e06df64d9e2068.tar.gz -/php-di-5.2.2-f574bcc841201ab04587b1c6da1234d4044f67d8.tar.gz -/php-di-5.4.0-e348393488fa909e4bc0707ba5c9c44cd602a1cb.tar.gz -/php-di-5.4.2-bbe2ed4b48e5b832436bf50928c30af8aedf61f8.tar.gz +package-*.xml +*.tgz +*.tar.gz +*.tar.xz +*.tar.xz.asc +*.src.rpm +*/*rpm diff --git a/php-di.spec b/php-di.spec index 498c88d..5186a02 100644 --- a/php-di.spec +++ b/php-di.spec @@ -12,8 +12,8 @@ %global github_owner PHP-DI %global github_name PHP-DI -%global github_version 5.4.2 -%global github_commit bbe2ed4b48e5b832436bf50928c30af8aedf61f8 +%global github_version 5.4.3 +%global github_commit 8ecded470bb0255c93f2996f78bb3b644c06599a %global composer_vendor php-di %global composer_project php-di @@ -60,7 +60,7 @@ License: MIT URL: http://php-di.org/ # GitHub export does not include tests. -# Run php-di-invoker-get-source.sh to create full source. +# Run php-di-get-source.sh to create full source. Source0: %{name}-%{github_version}-%{github_commit}.tar.gz Source1: %{name}-get-source.sh @@ -89,7 +89,7 @@ BuildRequires: php-composer(phpunit/phpunit) %if 0%{?fedora} >= 26 BuildRequires: phpunit6 %endif -## phpcompatinfo (computed from version 5.4.0) +## phpcompatinfo (computed from version 5.4.3) BuildRequires: php-json BuildRequires: php-pcre BuildRequires: php-reflection @@ -108,7 +108,7 @@ Requires: php-composer(php-di/phpdoc-reader) < %{di_phpdoc_reader_max_ver} Requires: php-composer(php-di/phpdoc-reader) >= %{di_phpdoc_reader_min_ver} Requires: php-composer(psr/container) < %{psr_container_max_ver} Requires: php-composer(psr/container) >= %{psr_container_min_ver} -# phpcompatinfo (computed from version 5.4.0) +# phpcompatinfo (computed from version 5.4.3) Requires: php-json Requires: php-pcre Requires: php-reflection @@ -207,9 +207,9 @@ sed -e '/@test/d' \ : Upstream tests RETURN_CODE=0 -for PHP_EXEC in php php56 php70 php71; do +for PHP_EXEC in php php70 php71; do if [ "php" == "$PHP_EXEC" ] || which $PHP_EXEC; then - for PHPUNIT in phpunit phpunit6; do + for PHPUNIT in phpunit; do PHPUNIT=$(which $PHPUNIT) || : if [ -n "$PHPUNIT" ]; then $PHP_EXEC $PHPUNIT --bootstrap bootstrap.php --verbose || RETURN_CODE=1 @@ -233,6 +233,9 @@ exit $RETURN_CODE %changelog +* Fri Apr 14 2017 Shawn Iwinski - 5.4.3-1 +- Update to 5.4.3 (RHBZ #1442382) + * Sun Apr 02 2017 Shawn Iwinski - 5.4.2-1 - Update to 5.4.2 (RHBZ #1435627) - Add max versions to BuildRequires -- cgit