Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Remi Collet
71d90f9ff3 v1.7.6
(cherry picked from commit eac8912738)
2020-02-14 12:09:30 +01:00
Remi Collet
e20b7fd443 v1.7.5
(cherry picked from commit 97e41d5b3c)
2020-02-14 08:22:17 +01:00
Remi Collet
ac78515294 update to 1.7.4
switch to phpunit7

(cherry picked from commit 12421cf554)
(cherry picked from commit c0880c7ac5)
2020-02-07 13:45:57 +01:00
Remi Collet
8f7e638497 v1.7.2
(cherry picked from commit 2db792af05)
2019-08-20 11:53:00 +02:00
2 changed files with 21 additions and 7 deletions

View file

@ -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 <remi@remirepo.net> - 1.7.6-1
- update to 1.7.6
* Fri Feb 14 2020 Remi Collet <remi@remirepo.net> - 1.7.5-1
- update to 1.7.5
* Fri Feb 7 2020 Remi Collet <remi@remirepo.net> - 1.7.4-1
- update to 1.7.4
- switch to phpunit7
* Tue Aug 20 2019 Remi Collet <remi@remirepo.net> - 1.7.2-1
- update to 1.7.2
* Mon May 6 2019 Remi Collet <remi@remirepo.net> - 1.7.1-1
- update to 1.7.1
- lower dependency on PHP 7.1

View file

@ -1 +1 @@
SHA512 (php-myclabs-php-enum-1.7.1-f468476.tgz) = 0bde392fc9ac903d6d2f13bf2f54e824ce9a137df64ec4e86eb5b1d42a30b6733682e3511f7dc7f9fbf90e836af81c5b9ac1c9e02b4ac5b8dc14c8da77ecc71b
SHA512 (php-myclabs-php-enum-1.7.6-5f36467.tgz) = 0f2378d51211bb057da41c1e67af9b5c9ff6d00c5b1e91dc5523251263b3f1ca04ac35784001148e9cce8a6384c9f17e88e99fd8cf1dbb170b86dec9a9121adb