Compare commits

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

2 commits

Author SHA1 Message Date
Remi Collet
83c4cf7c11 v1.4.1
(cherry picked from commit bb9abd67aa)
(cherry picked from commit eb4e83328f)
2020-03-02 11:34:38 +01:00
Remi Collet
90b8ef40b0 update to 1.4.0
switch to phpunit8

(cherry picked from commit 489610711b)
2019-11-07 11:13:27 +01:00
3 changed files with 18 additions and 9 deletions

2
.gitignore vendored
View file

@ -5,3 +5,5 @@
/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
/php-composer-xdebug-handler-1.4.1-1ab9842.tgz

View file

@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
%global gh_commit 46867cbf8ca9fb8d60c506895449eb799db1184f
%global gh_commit 1ab9842d69e64fb3a01be6b656501032d1b78cb7
%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
Version: 1.4.1
Release: 1%{?gh_date:.%{gh_date}git%{gh_short}}%{?dist}
Summary: Restarts a process without xdebug
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,13 @@ exit $ret
%changelog
* Mon Mar 2 2020 Remi Collet <remi@remirepo.net> - 1.4.1-1
- update to 1.4.1
* Thu Nov 7 2019 Remi Collet <remi@remirepo.net> - 1.4.0-1
- update to 1.4.0
- switch to phpunit8
* Tue May 28 2019 Remi Collet <remi@remirepo.net> - 1.3.3-1
- update to 1.3.3

View file

@ -1 +1 @@
SHA512 (php-composer-xdebug-handler-1.3.3-46867cb.tgz) = acd5aeaccba8a29ae960bdec16cc0e57eb288b5f8e52f969534f33b21f682c62ff92e01bb9d81ee4d4c1f9b63cca04309ceff58f5115019861fd94f17aab5440
SHA512 (php-composer-xdebug-handler-1.4.1-1ab9842.tgz) = 5f0fa60d986c59be4616825bdceda4aef2372e13280a43890f24dd0deeac2c4bb03355e72744e0b587931784f996f3502dfcba9f546c2db67a3654965e0f6676