This commit is contained in:
Remi Collet 2021-06-29 14:35:31 +02:00
commit 14d14d0a38
2 changed files with 8 additions and 5 deletions

View file

@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
%global gh_commit 46cf3d8498b095bd33727b13fd5707263af99421
%global gh_commit 55555d31a622b4bc9662664132a0533ae6ef47b1
%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.8.0
Version: 1.8.1
Release: 1%{?dist}
Summary: PHP Enum implementation
@ -40,7 +40,7 @@ BuildRequires: php-spl
# From composer.json, "require-dev": {
# "phpunit/phpunit": "^9.5",
# "squizlabs/php_codesniffer": "1.*"
# "vimeo/psalm": "^4.5.1"
# "vimeo/psalm": "^4.6.2"
%global phpunit %{_bindir}/phpunit9
BuildRequires: phpunit9 >= 9.5
# Required by autoloader
@ -99,7 +99,7 @@ require __DIR__ . '/bootstrap.php';
EOF
ret=0
for cmd in "php %{phpunit}" php73 php74 php80; do
for cmd in "php %{phpunit}" php73 php74 php80 php81; do
if which $cmd; then
set $cmd
$1 ${2:-%{_bindir}/phpunit9} --verbose --bootstrap tests/autoload.php || ret=1
@ -121,6 +121,9 @@ exit $ret
%changelog
* Tue Jun 29 2021 Remi Collet <remi@remirepo.net> - 1.8.1-1
- update to 1.8.1
* Tue Feb 16 2021 Remi Collet <remi@remirepo.net> - 1.8.0-1
- update to 1.8.0
- raise dependency on PHP 7.3

View file

@ -1 +1 @@
SHA512 (php-myclabs-php-enum-1.8.0-46cf3d8.tgz) = aad18b76a99f30c0dc5e669040740f55bdd8475d2a175264ceb5974ea6e037e802a7c0723400e623e7070df58e2c34c6a1c2ae9743c12dcb0038d44e21c99517
SHA512 (php-myclabs-php-enum-1.8.1-55555d3.tgz) = c9b5f06a4806484d1c3b9e07c82922829eea306d2f4f56b69ae21ef0da542f08e7c6d7d6d328116af32b534c5f68c88e0fbe24441c8da4c9be66b8ee5b663cd5