parent
5622c9fc0a
commit
39722264fa
3 changed files with 9 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# remirepo/fedora spec file for php-phpunit-php-timer2
|
||||
#
|
||||
# Copyright (c) 2010-2018 Christof Damian, Remi Collet
|
||||
# Copyright (c) 2010-2019 Christof Damian, Remi Collet
|
||||
#
|
||||
# License: MIT
|
||||
# http://opensource.org/licenses/MIT
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
# Please, preserve the changelog entries
|
||||
#
|
||||
%global bootstrap 0
|
||||
%global gh_commit 8b8454ea6958c3dee38453d3bd571e023108c91f
|
||||
%global gh_commit 8b389aebe1b8b0578430bda0c7c95a829608e059
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
%global gh_owner sebastianbergmann
|
||||
%global gh_project php-timer
|
||||
|
|
@ -28,11 +28,10 @@
|
|||
%endif
|
||||
|
||||
Name: php-%{pk_vendor}-%{pk_project}%{major}
|
||||
Version: 2.0.0
|
||||
Version: 2.1.1
|
||||
Release: 1%{?dist}
|
||||
Summary: PHP Utility class for timing
|
||||
|
||||
Group: Development/Libraries
|
||||
License: BSD
|
||||
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
|
||||
|
|
@ -85,7 +84,7 @@ touch vendor/autoload.php
|
|||
|
||||
: Run upstream test suite
|
||||
ret=0
|
||||
for cmd in php php71 php72; do
|
||||
for cmd in php php71 php72 php73; do
|
||||
if which $cmd; then
|
||||
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}/autoload.php \
|
||||
%{_bindir}/phpunit7 --verbose || ret=1
|
||||
|
|
@ -104,6 +103,9 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 20 2019 Remi Collet <remi@remirepo.net> - 2.1.1-1
|
||||
- update to 2.1.1
|
||||
|
||||
* Wed Feb 7 2018 Remi Collet <remi@remirepo.net> - 2.0.0-1
|
||||
- normal build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue