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

1
.gitignore vendored
View file

@ -20,3 +20,4 @@
/php-phpunit-php-code-coverage9-9.2.13-deac854.tgz /php-phpunit-php-code-coverage9-9.2.13-deac854.tgz
/php-phpunit-php-code-coverage9-9.2.14-9f4d60b.tgz /php-phpunit-php-code-coverage9-9.2.14-9f4d60b.tgz
/php-phpunit-php-code-coverage9-9.2.15-2e9da11.tgz /php-phpunit-php-code-coverage9-9.2.15-2e9da11.tgz
/php-phpunit-php-code-coverage9-9.2.17-aa94dc4.tgz

View file

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

View file

@ -1 +1 @@
SHA512 (php-phpunit-php-code-coverage9-9.2.15-2e9da11.tgz) = be7ab25baf335b06e637a9690848caadea8cfd4ec98478f9467552416a2bd4217ce83952a205e3bc5d6b7bc2f024fb439aae25c847d7da7645c138c38a5b93a6 SHA512 (php-phpunit-php-code-coverage9-9.2.17-aa94dc4.tgz) = df16054a0aee9e4d312c0d3f71109beac2bf825839c7000d30df2f9eac7fc557962a7a797a478061236993c314f9d2fdd06d927e5c7c4ef720bb30e87d269526