update to 2.1.3 (no change)
switch to phpunit8
This commit is contained in:
parent
a4168b35bb
commit
6957c48f27
3 changed files with 15 additions and 10 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
/php-phpunit-php-timer2-2.0.0-8b8454e.tar.gz
|
||||
/php-phpunit-php-timer2-2.1.1-8b389ae.tar.gz
|
||||
/php-phpunit-php-timer2-2.1.2-1038454.tar.gz
|
||||
/php-phpunit-php-timer2-2.1.3-2454ae1.tar.gz
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
# Please, preserve the changelog entries
|
||||
#
|
||||
%global bootstrap 0
|
||||
%global gh_commit 1038454804406b0b5f5f520358e78c1c2f71501e
|
||||
%global gh_commit 2454ae1765516d20c4ffe103d85a58a9a3bd5662
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
%global gh_owner sebastianbergmann
|
||||
%global gh_project php-timer
|
||||
|
|
@ -28,8 +28,8 @@
|
|||
%endif
|
||||
|
||||
Name: php-%{pk_vendor}-%{pk_project}%{major}
|
||||
Version: 2.1.2
|
||||
Release: 4%{?dist}
|
||||
Version: 2.1.3
|
||||
Release: 1%{?dist}
|
||||
Summary: PHP Utility class for timing
|
||||
|
||||
License: BSD
|
||||
|
|
@ -37,16 +37,16 @@ URL: https://github.com/%{gh_owner}/%{gh_project}
|
|||
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: php(language) >= 7.1
|
||||
BuildRequires: php(language) >= 7.2
|
||||
BuildRequires: php-fedora-autoloader-devel
|
||||
%if %{with_tests}
|
||||
# From composer.json"require-dev": {
|
||||
# "phpunit/phpunit": "^7.0"
|
||||
BuildRequires: phpunit7
|
||||
# "phpunit/phpunit": "^8.5"
|
||||
BuildRequires: phpunit8 >= 8.5
|
||||
%endif
|
||||
|
||||
# From composer.json
|
||||
# "php": "^7.1"
|
||||
# "php": ">=7.1"
|
||||
Requires: php(language) >= 7.1
|
||||
# From phpcompatinfo report for version 2.0.0
|
||||
Requires: php-spl
|
||||
|
|
@ -84,10 +84,10 @@ touch vendor/autoload.php
|
|||
|
||||
: Run upstream test suite
|
||||
ret=0
|
||||
for cmd in php php71 php72 php73 php74; do
|
||||
for cmd in php php72 php73 php74 php80; do
|
||||
if which $cmd; then
|
||||
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}/autoload.php \
|
||||
%{_bindir}/phpunit7 --verbose || ret=1
|
||||
%{_bindir}/phpunit8 --verbose || ret=1
|
||||
fi
|
||||
done
|
||||
exit $ret
|
||||
|
|
@ -103,6 +103,10 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Nov 30 2020 Remi Collet <remi@remirepo.net> - 2.1.3-1
|
||||
- update to 2.1.3 (no change)
|
||||
- switch to phpunit8
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-phpunit-php-timer2-2.1.2-1038454.tar.gz) = b035f63bb5192629eeaf794e38885de471d3e8f90c2402231e7ded14b2cdfc502a870e657d77b7c5e5d85d1ed9355af3c093de2eaf75a882af101c4dd39cbf3b
|
||||
SHA512 (php-phpunit-php-timer2-2.1.3-2454ae1.tar.gz) = ee750b5d57eca9af8a327f50d557d16feae29c487dc6420caf2127e2e6b486010bab95e455bb9da7e487b5d9e2a7cd2d4d2aa19622429cc08d907e0263c2fdd4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue