diff --git a/php-myclabs-php-enum.spec b/php-myclabs-php-enum.spec index 7e062e4..74533ab 100644 --- a/php-myclabs-php-enum.spec +++ b/php-myclabs-php-enum.spec @@ -1,12 +1,12 @@ # remirepo/fedora spec file for php-myclabs-php-enum # -# Copyright (c) 2017-2019 Remi Collet +# Copyright (c) 2017-2020 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit f46847626b8739de22e4ebc6b56010f317d4448d +%global gh_commit 5f36467c7a87e20fbdc51e524fd8f9d1de80187c %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner myclabs %global gh_project php-enum @@ -20,7 +20,7 @@ %global with_tests 0%{!?_without_tests:1} Name: php-%{pk_vendor}-%{pk_project} -Version: 1.7.1 +Version: 1.7.6 Release: 1%{?dist} Summary: PHP Enum implementation @@ -38,9 +38,10 @@ BuildRequires: php-reflection BuildRequires: php-json BuildRequires: php-spl # From composer.json, "require-dev": { -# "phpunit/phpunit": "^4.8.35|^5.7|^6.0", +# "phpunit/phpunit": "^7", # "squizlabs/php_codesniffer": "1.*" -%global phpunit %{_bindir}/phpunit6 +# "vimeo/psalm": "^3.8" +%global phpunit %{_bindir}/phpunit7 BuildRequires: %{phpunit} # Required by autoloader BuildRequires: php-composer(fedora/autoloader) @@ -98,7 +99,7 @@ require __DIR__ . '/bootstrap.php'; EOF ret=0 -for cmd in "php %{phpunit}" php71 php72 php73; do +for cmd in "php %{phpunit}" php71 php72 php73 php74; do if which $cmd; then set $cmd $1 ${2:-%{_bindir}/phpunit6} --verbose --bootstrap tests/autoload.php || ret=1 @@ -120,6 +121,19 @@ exit $ret %changelog +* Fri Feb 14 2020 Remi Collet - 1.7.6-1 +- update to 1.7.6 + +* Fri Feb 14 2020 Remi Collet - 1.7.5-1 +- update to 1.7.5 + +* Fri Feb 7 2020 Remi Collet - 1.7.4-1 +- update to 1.7.4 +- switch to phpunit7 + +* Tue Aug 20 2019 Remi Collet - 1.7.2-1 +- update to 1.7.2 + * Mon May 6 2019 Remi Collet - 1.7.1-1 - update to 1.7.1 - lower dependency on PHP 7.1 diff --git a/sources b/sources index a932dc9..d20d7d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-myclabs-php-enum-1.7.1-f468476.tgz) = 0bde392fc9ac903d6d2f13bf2f54e824ce9a137df64ec4e86eb5b1d42a30b6733682e3511f7dc7f9fbf90e836af81c5b9ac1c9e02b4ac5b8dc14c8da77ecc71b +SHA512 (php-myclabs-php-enum-1.7.6-5f36467.tgz) = 0f2378d51211bb057da41c1e67af9b5c9ff6d00c5b1e91dc5523251263b3f1ca04ac35784001148e9cce8a6384c9f17e88e99fd8cf1dbb170b86dec9a9121adb