From 0c36a997c2475f9231d42f4801bde4875d219d12 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Apr 2020 10:30:16 +0200 Subject: v1.0.4 from Fedora --- php-brumann-polyfill-unserialize.spec | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'php-brumann-polyfill-unserialize.spec') diff --git a/php-brumann-polyfill-unserialize.spec b/php-brumann-polyfill-unserialize.spec index e59d84f..1eebb71 100644 --- a/php-brumann-polyfill-unserialize.spec +++ b/php-brumann-polyfill-unserialize.spec @@ -2,7 +2,7 @@ # # Fedora spec file for php-brumann-polyfill-unserialize # -# Copyright (c) 2019 Shawn Iwinski +# Copyright (c) 2019-2020 Shawn Iwinski # # License: MIT # http://opensource.org/licenses/MIT @@ -12,8 +12,8 @@ %global github_owner dbrumann %global github_name polyfill-unserialize -%global github_version 1.0.3 -%global github_commit 844d7e44b62a1a3d5c68cfb7ebbd59c17ea0fd7b +%global github_version 1.0.4 +%global github_commit 8ed1cd343ddc134a7ef649aca0aa0fe2a1b45008 %global composer_vendor brumann %global composer_project polyfill-unserialize @@ -33,7 +33,11 @@ Summary: Backports unserialize options introduced in PHP 7.0 License: MIT URL: https://github.com/%{github_owner}/%{github_name} -Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz + +# GitHub export does not include tests. +# Run php-brumann-polyfill-unserialize-get-source.sh to create full source. +Source0: %{name}-%{github_version}-%{github_commit}.tar.gz +Source1: %{name}-get-source.sh BuildArch: noarch # Tests @@ -41,7 +45,7 @@ BuildArch: noarch ## composer.json BuildRequires: php(language) >= %{php_min_ver} BuildRequires: php-composer(phpunit/phpunit) -## phpcompatinfo for version 1.0.3 +## phpcompatinfo for version 1.0.4 BuildRequires: php-pcre ## Autoloader BuildRequires: php-composer(fedora/autoloader) @@ -49,7 +53,7 @@ BuildRequires: php-composer(fedora/autoloader) # composer.json Requires: php(language) >= %{php_min_ver} -# phpcompatinfo for version 1.0.3 +# phpcompatinfo for version 1.0.4 Requires: php-pcre # Autoloader Requires: php-composer(fedora/autoloader) @@ -113,7 +117,7 @@ BOOTSTRAP : Upstream tests RETURN_CODE=0 PHPUNIT=$(which phpunit) -for PHP_EXEC in php php71 php72 php73 php74; do +for PHP_EXEC in php php72 php73 php74; do if [ "php" == "$PHP_EXEC" ] || which $PHP_EXEC; then $PHP_EXEC $PHPUNIT --verbose --bootstrap bootstrap.php || RETURN_CODE=1 fi @@ -134,5 +138,8 @@ exit $RETURN_CODE %changelog +* Sun Apr 05 2020 Shawn Iwinski - 1.0.4-1 +- Update to 1.0.4 (RHBZ #1742087) + * Wed May 08 2019 Shawn Iwinski - 1.0.3-1 - Initial package -- cgit