update to 1.4.0
switch to phpunit8
This commit is contained in:
parent
f371be73e1
commit
489610711b
3 changed files with 15 additions and 10 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -5,3 +5,4 @@
|
|||
/php-composer-xdebug-handler-1.3.1-dc52313.tgz
|
||||
/php-composer-xdebug-handler-1.3.2-d177081.tgz
|
||||
/php-composer-xdebug-handler-1.3.3-46867cb.tgz
|
||||
/php-composer-xdebug-handler-1.4.0-cbe2338.tgz
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
# Please, preserve the changelog entries
|
||||
#
|
||||
%global gh_commit 46867cbf8ca9fb8d60c506895449eb799db1184f
|
||||
%global gh_commit cbe23383749496fe0f373345208b79568e4bc248
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
#global gh_date 20150717
|
||||
%global gh_owner composer
|
||||
|
|
@ -19,9 +19,9 @@
|
|||
%global with_tests 0%{!?_without_tests:1}
|
||||
|
||||
Name: php-%{gh_owner}-%{gh_project}
|
||||
Version: 1.3.3
|
||||
Release: 2%{?gh_date:.%{gh_date}git%{gh_short}}%{?dist}
|
||||
Summary: Restarts a process without xdebug
|
||||
Version: 1.4.0
|
||||
Release: 1%{?gh_date:.%{gh_date}git%{gh_short}}%{?dist}
|
||||
Summary: Restarts a process without Xdebug
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/%{gh_owner}/%{gh_project}
|
||||
|
|
@ -39,10 +39,10 @@ BuildRequires: php-pcre
|
|||
BuildRequires: php-posix
|
||||
BuildRequires: php-spl
|
||||
# From composer.json, "require-dev": {
|
||||
# "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5"
|
||||
# "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8"
|
||||
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
|
||||
BuildRequires: (php-composer(psr/log) >= 1.0 with php-composer(psr/log) < 2)
|
||||
BuildRequires: phpunit6 >= 6.5
|
||||
BuildRequires: phpunit8
|
||||
%global phpunit %{_bindir}/phpunit6
|
||||
%else
|
||||
BuildRequires: php-PsrLog
|
||||
|
|
@ -54,7 +54,7 @@ BuildRequires: php-composer(fedora/autoloader)
|
|||
%endif
|
||||
|
||||
# From composer.json, "require": {
|
||||
# "php": "^5.3.2 || ^7.0",
|
||||
# "php": "^5.3.2 || ^7.0 || ^8.0",
|
||||
# "psr/log": "^1.0"
|
||||
Requires: php(language) >= 5.3.2
|
||||
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
|
||||
|
|
@ -116,10 +116,10 @@ EOF
|
|||
|
||||
%if %{with_tests}
|
||||
ret=0
|
||||
for cmdarg in "php %{phpunit}" php70 php71 php72 php73 php74; do
|
||||
for cmdarg in "php %{phpunit}" "php70 %{_bindir}/phpunit6" "php71 %{_bindir}/phpunit7" php72 php73 php74; do
|
||||
if which $cmdarg; then
|
||||
set $cmdarg
|
||||
$1 ${2:-%{_bindir}/phpunit6} --verbose|| ret=1
|
||||
$1 ${2:-%{_bindir}/phpunit8} --verbose|| ret=1
|
||||
fi
|
||||
done
|
||||
exit $ret
|
||||
|
|
@ -138,6 +138,10 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Nov 7 2019 Remi Collet <remi@remirepo.net> - 1.4.0-1
|
||||
- update to 1.4.0
|
||||
- switch to phpunit8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-composer-xdebug-handler-1.3.3-46867cb.tgz) = acd5aeaccba8a29ae960bdec16cc0e57eb288b5f8e52f969534f33b21f682c62ff92e01bb9d81ee4d4c1f9b63cca04309ceff58f5115019861fd94f17aab5440
|
||||
SHA512 (php-composer-xdebug-handler-1.4.0-cbe2338.tgz) = e69d8658e0db081c873a0e2c48bd297d79269a0994bd746ae1ca15b21b3412469ade13fdce80b0ea515f4ac38fef8744b9649f4792f3fe457a5a36860f170649
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue