This commit is contained in:
Remi Collet 2022-09-08 11:14:31 +02:00
commit c1495604de
3 changed files with 12 additions and 8 deletions

View file

@ -10,7 +10,7 @@
%bcond_without tests
# Github
%global gh_commit 2e9da11878c4202f97915c1cb4bb1ca318a63f5f
%global gh_commit aa94dc41e8661fe90c7316849907cba3007b10d8
#global gh_date 20150924
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_vendor sebastianbergmann
@ -25,8 +25,8 @@
%global ver_major 9
Name: php-%{pk_vendor}-%{pk_project}%{ver_major}
Version: 9.2.15
Release: 2%{?dist}
Version: 9.2.17
Release: 1%{?dist}
Summary: PHP code coverage information
# Main license is BSD
@ -42,7 +42,7 @@ BuildArch: noarch
BuildRequires: php-fedora-autoloader-devel >= 1.0.0
%if %{with tests}
BuildRequires: php(language) >= 7.3
BuildRequires: (php-composer(nikic/php-parser) >= 4.13.0 with php-composer(nikic/php-parser) < 5)
BuildRequires: (php-composer(nikic/php-parser) >= 4.14 with php-composer(nikic/php-parser) < 5)
BuildRequires: (php-composer(phpunit/php-file-iterator) >= 3.0.3 with php-composer(phpunit/php-file-iterator) < 4)
BuildRequires: (php-composer(phpunit/php-text-template) >= 2.0.2 with php-composer(phpunit/php-text-template) < 3)
BuildRequires: (php-composer(sebastian/code-unit-reverse-lookup) >= 2.0.2 with php-composer(sebastian/code-unit-reverse-lookup) < 3)
@ -62,7 +62,7 @@ BuildRequires: php-xdebug
# "ext-dom": "*",
# "ext-libxml": "*",
# "ext-xmlwriter": "*",
# "nikic/php-parser": "^4.13.0",
# "nikic/php-parser": "^4.14",
# "phpunit/php-file-iterator": "^3.0.3",
# "phpunit/php-text-template": "^2.0.2",
# "sebastian/code-unit-reverse-lookup": "^2.0.2",
@ -75,7 +75,7 @@ Requires: php(language) >= 7.3
Requires: php-dom
Requires: php-libxml
Requires: php-xmlwriter
Requires: (php-composer(nikic/php-parser) >= 4.13.0 with php-composer(nikic/php-parser) < 5)
Requires: (php-composer(nikic/php-parser) >= 4.14 with php-composer(nikic/php-parser) < 5)
Requires: (php-composer(phpunit/php-file-iterator) >= 3.0.3 with php-composer(phpunit/php-file-iterator) < 4)
Requires: (php-composer(phpunit/php-text-template) >= 2.0.2 with php-composer(phpunit/php-text-template) < 3)
Requires: (php-composer(sebastian/code-unit-reverse-lookup) >= 2.0.2 with php-composer(sebastian/code-unit-reverse-lookup) < 3)
@ -162,7 +162,7 @@ define('TEST_FILES_PATH', __DIR__ . '/_files/');
EOF
ret=0
for cmd in php php73 php74 php80 php81; do
for cmd in php php74 php80 php81 php82; do
if which $cmd; then
$cmd $EXT \
-d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php \
@ -183,6 +183,9 @@ exit $ret
%changelog
* Thu Sep 1 2022 Remi Collet <remi@remirepo.net> - 9.2.17-1
- update to 9.2.17
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild