Compare commits
13 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7c7d1ace20 | ||
|
|
8fb49f6727 | ||
|
|
1ad256641d | ||
|
|
220942f27a | ||
|
|
dfd675707f | ||
|
|
d7eabbe540 | ||
|
|
2e6e8d0ac2 | ||
|
|
71c520b6ea | ||
|
|
3ebcee95b6 | ||
|
|
cd5b03f626 | ||
|
|
795f5e4979 | ||
|
|
7389142339 | ||
|
|
df990b840a |
3 changed files with 62 additions and 17 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -1 +1,5 @@
|
|||
/php-composer-xdebug-handler-1.1.0-c919dc6.tgz
|
||||
clog
|
||||
/php-composer-xdebug-handler-1.4.3-ebd27a9.tgz
|
||||
/php-composer-xdebug-handler-1.4.4-6e076a1.tgz
|
||||
/php-composer-xdebug-handler-1.4.5-f28d44c.tgz
|
||||
/php-composer-xdebug-handler-1.4.6-f27e06c.tgz
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
# remirepo/fedora spec file for php-composer-xdebug-handler
|
||||
#
|
||||
# Copyright (c) 2018 Remi Collet
|
||||
# Copyright (c) 2018-2021 Remi Collet
|
||||
# License: CC-BY-SA
|
||||
# http://creativecommons.org/licenses/by-sa/4.0/
|
||||
#
|
||||
# Please, preserve the changelog entries
|
||||
#
|
||||
%global gh_commit c919dc6c62e221fc6406f861ea13433c0aa24f08
|
||||
%global gh_commit f27e06cd9675801df441b3656569b328e04aa37c
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
#global gh_date 20150717
|
||||
%global gh_owner composer
|
||||
|
|
@ -16,12 +16,12 @@
|
|||
%global ns_project XdebugHandler
|
||||
|
||||
%global php_home %{_datadir}/php
|
||||
%global with_tests 0%{!?_without_tests:1}
|
||||
%bcond_without tests
|
||||
|
||||
Name: php-%{gh_owner}-%{gh_project}
|
||||
Version: 1.1.0
|
||||
Release: 2%{?gh_date:.%{gh_date}git%{gh_short}}%{?dist}
|
||||
Summary: Restarts a process without xdebug
|
||||
Version: 1.4.6
|
||||
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}
|
||||
|
|
@ -30,7 +30,7 @@ Source0: %{name}-%{version}-%{gh_short}.tgz
|
|||
Source1: makesrc.sh
|
||||
|
||||
BuildArch: noarch
|
||||
%if %{with_tests}
|
||||
%if %{with tests}
|
||||
# For tests
|
||||
BuildRequires: php(language) >= 5.3.2
|
||||
BuildRequires: php-reflection
|
||||
|
|
@ -39,22 +39,23 @@ BuildRequires: php-pcre
|
|||
BuildRequires: php-posix
|
||||
BuildRequires: php-spl
|
||||
# From composer.json, "require-dev": {
|
||||
# "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5"
|
||||
# "symfony/phpunit-bridge": "^4.2 || ^5",
|
||||
# "phpstan/phpstan": "^0.12.55"
|
||||
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
|
||||
BuildRequires: (php-composer(psr/log) >= 1.0 with php-composer(psr/log) < 2)
|
||||
BuildRequires: phpunit6 >= 6.5
|
||||
%global phpunit %{_bindir}/phpunit6
|
||||
BuildRequires: phpunit8
|
||||
%global phpunit %{_bindir}/phpunit8
|
||||
%else
|
||||
BuildRequires: php-PsrLog
|
||||
BuildRequires: php-phpunit-PHPUnit >= 4.8.35
|
||||
%global phpunit %{_bindir}/phpunit
|
||||
%endif
|
||||
%endif
|
||||
# Autoloader
|
||||
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
|
||||
|
|
@ -114,12 +115,12 @@ require_once '%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}/autoload.ph
|
|||
\Fedora\Autoloader\Autoload::addPsr4('%{ns_vendor}\\%{ns_project}\\', dirname(__DIR__).'/tests');
|
||||
EOF
|
||||
|
||||
%if %{with_tests}
|
||||
%if %{with tests}
|
||||
ret=0
|
||||
for cmdarg in "php %{phpunit}" php70 php71 php72; do
|
||||
for cmdarg in "php %{phpunit}" php73 php74 php80; 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 +139,46 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Mar 26 2021 Remi Collet <remi@remirepo.net> - 1.4.6-1
|
||||
- update to 1.4.6
|
||||
|
||||
* Fri Nov 13 2020 Remi Collet <remi@remirepo.net> - 1.4.5-1
|
||||
- update to 1.4.5
|
||||
|
||||
* Sun Oct 25 2020 Remi Collet <remi@remirepo.net> - 1.4.4-1
|
||||
- update to 1.4.4
|
||||
|
||||
* Wed Aug 19 2020 Remi Collet <remi@remirepo.net> - 1.4.3-1
|
||||
- update to 1.4.3
|
||||
|
||||
* Thu Jun 4 2020 Remi Collet <remi@remirepo.net> - 1.4.2-1
|
||||
- update to 1.4.2
|
||||
|
||||
* 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
|
||||
|
||||
* Tue Jan 29 2019 Remi Collet <remi@remirepo.net> - 1.3.2-1
|
||||
- update to 1.3.2
|
||||
|
||||
* Thu Nov 29 2018 Remi Collet <remi@remirepo.net> - 1.3.1-1
|
||||
- update to 1.3.1
|
||||
|
||||
* Sun Sep 2 2018 Remi Collet <remi@remirepo.net> - 1.3.0-1
|
||||
- update to 1.3.0
|
||||
|
||||
* Thu Aug 23 2018 Remi Collet <remi@remirepo.net> - 1.2.1-1
|
||||
- update to 1.2.1
|
||||
|
||||
* Fri Aug 17 2018 Remi Collet <remi@remirepo.net> - 1.2.0-1
|
||||
- update to 1.2.0
|
||||
|
||||
* Mon Jun 4 2018 Remi Collet <remi@remirepo.net> - 1.1.0-2
|
||||
- fix dependency on PHPUnit
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-composer-xdebug-handler-1.1.0-c919dc6.tgz) = c1424d1cdf9b0802247c789b279a218f2b96e97dd76b6c0edcd333814a263a12ef1cafe84e2c6a1de667337d7ee778fbdad5a0251ab6af5a8859f00536e57ede
|
||||
SHA512 (php-composer-xdebug-handler-1.4.6-f27e06c.tgz) = 67d21111b182315925b48ee38d42491137be517d654a27a439bf986ce99e16cc64aad4f441bd82907e689ad423bfe563ea0ddbf759e57a1cc86cd502e915581e
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue