Compare commits
30 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
335d153d28 | ||
|
|
08f0211086 | ||
|
|
23a205550e | ||
|
|
4750726eb5 | ||
|
|
e004f6ed39 | ||
|
|
b0db48a833 | ||
|
|
699792dfbd | ||
|
|
4ed88e1678 | ||
|
|
f513e79cca | ||
|
|
1678447ca5 | ||
|
|
b24ef42855 | ||
|
|
8fb7b384d4 | ||
|
|
2ddc386306 | ||
|
|
4aa71c9b2b | ||
|
|
684770cc53 | ||
|
|
a34105ec69 | ||
|
|
2522c8b072 | ||
|
|
af6e4b71db | ||
|
|
0712adc847 | ||
|
|
2cf0a0f62d | ||
|
|
3b66ec6262 | ||
|
|
ee5598bf5d | ||
|
|
c1495604de | ||
|
|
f3a631d2c7 | ||
|
|
64cbb3f6de | ||
|
|
0616bf7b1e | ||
|
|
4d9bba8e2a | ||
|
|
da9fea5c9b | ||
|
|
d7fa77835d | ||
|
|
88dd7899da |
3 changed files with 165 additions and 45 deletions
21
.gitignore
vendored
21
.gitignore
vendored
|
|
@ -15,3 +15,24 @@
|
|||
/php-phpunit-php-code-coverage9-9.2.8-cf04e88.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.9-f301eb1.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.10-d5850aa.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.11-665a1ac.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.12-c011a0b.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.15-2e9da11.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.17-aa94dc4.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.18-12fddc4.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.19-c77b56b.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.20-af7463c.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.21-3f893e1.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.22-e4bf60d.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.23-9f1f0f9.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.24-2cf940e.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.25-0e2b405.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.26-443bc69.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.27-b0a8825.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.28-7134a5c.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.29-6a3a87a.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.30-ca2bd87.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.31-48c34b5.tgz
|
||||
/php-phpunit-php-code-coverage9-9.2.32-85402a8.tgz
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# remirepo/fedora spec file for php-phpunit-php-code-coverage9
|
||||
#
|
||||
# Copyright (c) 2013-2020 Remi Collet
|
||||
# License: CC-BY-SA
|
||||
# Copyright (c) 2013-2024 Remi Collet
|
||||
# License: CC-BY-SA-4.0
|
||||
# http://creativecommons.org/licenses/by-sa/4.0/
|
||||
#
|
||||
# Please, preserve the changelog entries
|
||||
|
|
@ -10,11 +10,12 @@
|
|||
%bcond_without tests
|
||||
|
||||
# Github
|
||||
%global gh_commit d5850aaf931743067f4bfc1ae4cbd06468400687
|
||||
%global gh_commit 85402a822d1ecf1db1096959413d35e1c37cf1a5
|
||||
#global gh_date 20150924
|
||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||
%global gh_vendor sebastianbergmann
|
||||
%global gh_owner sebastianbergmann
|
||||
%global gh_project php-code-coverage
|
||||
%global gh_date 2024-08-22
|
||||
# Packagist
|
||||
%global pk_vendor phpunit
|
||||
%global pk_project php-code-coverage
|
||||
|
|
@ -25,16 +26,16 @@
|
|||
%global ver_major 9
|
||||
|
||||
Name: php-%{pk_vendor}-%{pk_project}%{ver_major}
|
||||
Version: 9.2.10
|
||||
Release: 1%{?dist}
|
||||
Summary: PHP code coverage information
|
||||
Version: 9.2.32
|
||||
Release: 3%{?dist}
|
||||
Summary: PHP code coverage information, version %{ver_major}
|
||||
|
||||
# Main license is BSD
|
||||
# BSD: D3
|
||||
# SPDX: Main license is BSD-3-Clause
|
||||
# BSD-3-Clause: D3
|
||||
# MIT: boostrap, d3, holder, html5shiv, jquery, respond
|
||||
# ASL 2.0: nvd3
|
||||
License: BSD and MIT and ASL 2.0
|
||||
URL: https://github.com/%{gh_vendor}/%{gh_project}
|
||||
# Apache-2.0: nvd3
|
||||
License: BSD-3-Clause AND MIT AND Apache-2.0
|
||||
URL: https://github.com/%{gh_owner}/%{gh_project}
|
||||
Source0: %{name}-%{version}-%{gh_short}.tgz
|
||||
Source1: makesrc.sh
|
||||
|
||||
|
|
@ -42,18 +43,18 @@ 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(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)
|
||||
BuildRequires: (php-composer(sebastian/complexity) >= 2.0 with php-composer(sebastian/complexity) < 3)
|
||||
BuildRequires: (php-composer(sebastian/environment) >= 5.1.2 with php-composer(sebastian/environment) < 6)
|
||||
BuildRequires: (php-composer(sebastian/lines-of-code) >= 1.0.3 with php-composer(sebastian/lines-of-code) < 2)
|
||||
BuildRequires: (php-composer(sebastian/version) >= 3.0.1 with php-composer(sebastian/version) < 4)
|
||||
BuildRequires: (php-composer(theseer/tokenizer) >= 1.2.0 with php-composer(theseer/tokenizer) < 2)
|
||||
BuildRequires: (php-composer(nikic/php-parser) >= 4.19.1 with php-composer(nikic/php-parser) < 6)
|
||||
BuildRequires: (php-composer(phpunit/php-file-iterator) >= 3.0.6 with php-composer(phpunit/php-file-iterator) < 4)
|
||||
BuildRequires: (php-composer(phpunit/php-text-template) >= 2.0.4 with php-composer(phpunit/php-text-template) < 3)
|
||||
BuildRequires: (php-composer(sebastian/code-unit-reverse-lookup) >= 2.0.3 with php-composer(sebastian/code-unit-reverse-lookup) < 3)
|
||||
BuildRequires: (php-composer(sebastian/complexity) >= 2.0.3 with php-composer(sebastian/complexity) < 3)
|
||||
BuildRequires: (php-composer(sebastian/environment) >= 5.1.5 with php-composer(sebastian/environment) < 6)
|
||||
BuildRequires: (php-composer(sebastian/lines-of-code) >= 1.0.4 with php-composer(sebastian/lines-of-code) < 2)
|
||||
BuildRequires: (php-composer(sebastian/version) >= 3.0.2 with php-composer(sebastian/version) < 4)
|
||||
BuildRequires: (php-composer(theseer/tokenizer) >= 1.2.3 with php-composer(theseer/tokenizer) < 2)
|
||||
# From composer.json, "require-dev": {
|
||||
# "phpunit/phpunit": "^9.3"
|
||||
BuildRequires: phpunit9 >= 9.3
|
||||
# "phpunit/phpunit": "^9.6"
|
||||
BuildRequires: phpunit9 >= 9.6
|
||||
BuildRequires: php-xdebug
|
||||
%endif
|
||||
|
||||
|
|
@ -62,28 +63,28 @@ BuildRequires: php-xdebug
|
|||
# "ext-dom": "*",
|
||||
# "ext-libxml": "*",
|
||||
# "ext-xmlwriter": "*",
|
||||
# "nikic/php-parser": "^4.13.0",
|
||||
# "phpunit/php-file-iterator": "^3.0.3",
|
||||
# "phpunit/php-text-template": "^2.0.2",
|
||||
# "sebastian/code-unit-reverse-lookup": "^2.0.2",
|
||||
# "sebastian/complexity": "^2.0",
|
||||
# "sebastian/environment": "^5.1.2",
|
||||
# "sebastian/lines-of-code": "^1.0.3",
|
||||
# "sebastian/version": "^3.0.1",
|
||||
# "theseer/tokenizer": "^1.2.0"
|
||||
# "nikic/php-parser": "^4.19.1 || ^5.1.0"
|
||||
# "phpunit/php-file-iterator": "^3.0.6",
|
||||
# "phpunit/php-text-template": "^2.0.4",
|
||||
# "sebastian/code-unit-reverse-lookup": "^2.0.3",
|
||||
# "sebastian/complexity": "^2.0.3",
|
||||
# "sebastian/environment": "^5.1.5",
|
||||
# "sebastian/lines-of-code": "^1.0.4",
|
||||
# "sebastian/version": "^3.0.2",
|
||||
# "theseer/tokenizer": "^1.2.3"
|
||||
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(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)
|
||||
Requires: (php-composer(sebastian/complexity) >= 2.0 with php-composer(sebastian/complexity) < 3)
|
||||
Requires: (php-composer(sebastian/environment) >= 5.1.2 with php-composer(sebastian/environment) < 6)
|
||||
Requires: (php-composer(sebastian/lines-of-code) >= 1.0.3 with php-composer(sebastian/lines-of-code) < 2)
|
||||
Requires: (php-composer(sebastian/version) >= 3.0.1 with php-composer(sebastian/version) < 4)
|
||||
Requires: (php-composer(theseer/tokenizer) >= 1.2.0 with php-composer(theseer/tokenizer) < 2)
|
||||
Requires: (php-composer(nikic/php-parser) >= 4.19.1 with php-composer(nikic/php-parser) < 6)
|
||||
Requires: (php-composer(phpunit/php-file-iterator) >= 3.0.6 with php-composer(phpunit/php-file-iterator) < 4)
|
||||
Requires: (php-composer(phpunit/php-text-template) >= 2.0.4 with php-composer(phpunit/php-text-template) < 3)
|
||||
Requires: (php-composer(sebastian/code-unit-reverse-lookup) >= 2.0.3 with php-composer(sebastian/code-unit-reverse-lookup) < 3)
|
||||
Requires: (php-composer(sebastian/complexity) >= 2.0.3 with php-composer(sebastian/complexity) < 3)
|
||||
Requires: (php-composer(sebastian/environment) >= 5.1.5 with php-composer(sebastian/environment) < 6)
|
||||
Requires: (php-composer(sebastian/lines-of-code) >= 1.0.4 with php-composer(sebastian/lines-of-code) < 2)
|
||||
Requires: (php-composer(sebastian/version) >= 3.0.2 with php-composer(sebastian/version) < 4)
|
||||
Requires: (php-composer(theseer/tokenizer) >= 1.2.3 with php-composer(theseer/tokenizer) < 2)
|
||||
# From composer.json, suggest
|
||||
# "ext-pcov": "*",
|
||||
# "ext-xdebug": "*"
|
||||
|
|
@ -113,6 +114,8 @@ Provides: bundled(js-popper)
|
|||
Library that provides collection, processing, and rendering functionality
|
||||
for PHP code coverage information.
|
||||
|
||||
This package provides version %{ver_major} of %{pk_vendor}/%{pk_project} library.
|
||||
|
||||
Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php
|
||||
|
||||
|
||||
|
|
@ -128,7 +131,10 @@ Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php
|
|||
|
||||
cat << 'EOF' | tee -a src/autoload.php
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
'%{php_home}/PhpParser4/autoload.php',
|
||||
[
|
||||
'%{php_home}/PhpParser5/autoload.php',
|
||||
'%{php_home}/PhpParser4/autoload.php',
|
||||
],
|
||||
'%{php_home}/%{ns_vendor}/FileIterator3/autoload.php',
|
||||
'%{php_home}/%{ns_vendor}/Template2/autoload.php',
|
||||
'%{php_home}/%{ns_vendor}/CodeUnitReverseLookup2/autoload.php',
|
||||
|
|
@ -162,7 +168,7 @@ define('TEST_FILES_PATH', __DIR__ . '/_files/');
|
|||
EOF
|
||||
|
||||
ret=0
|
||||
for cmd in php php73 php74 php80 php81; do
|
||||
for cmd in php php81 php82 php83; do
|
||||
if which $cmd; then
|
||||
$cmd $EXT \
|
||||
-d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php \
|
||||
|
|
@ -177,12 +183,105 @@ exit $ret
|
|||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%doc ChangeLog.md
|
||||
%doc ChangeLog-9.2.md
|
||||
%doc composer.json
|
||||
%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.32-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.32-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Aug 22 2024 Remi Collet <remi@remirepo.net> - 9.2.32-1
|
||||
- update to 9.2.32 (no change)
|
||||
- raise dependencies
|
||||
|
||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.31-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Tue Mar 5 2024 Remi Collet <remi@remirepo.net> - 9.2.31-1
|
||||
- update to 9.2.31
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.30-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.30-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Dec 22 2023 Remi Collet <remi@remirepo.net> - 9.2.30-1
|
||||
- update to 9.2.30
|
||||
- raise dependency on nikic/php-parser 4.18 and allow 5.0
|
||||
|
||||
* Tue Sep 19 2023 Remi Collet <remi@remirepo.net> - 9.2.29-1
|
||||
- update to 9.2.29
|
||||
|
||||
* Wed Sep 13 2023 Remi Collet <remi@remirepo.net> - 9.2.28-1
|
||||
- update to 9.2.28
|
||||
|
||||
* Thu Jul 27 2023 Remi Collet <remi@remirepo.net> - 9.2.27-1
|
||||
- update to 9.2.27
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.26-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Mon Mar 6 2023 Remi Collet <remi@remirepo.net> - 9.2.26-1
|
||||
- update to 9.2.26
|
||||
|
||||
* Tue Feb 28 2023 Remi Collet <remi@remirepo.net> - 9.2.25-1
|
||||
- update to 9.2.25
|
||||
- raise dependency on nikic/php-parser 4.14
|
||||
|
||||
* Thu Jan 26 2023 Remi Collet <remi@remirepo.net> - 9.2.24-1
|
||||
- update to 9.2.24
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.23-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Mon Jan 2 2023 Remi Collet <remi@remirepo.net> - 9.2.23-1
|
||||
- update to 9.2.23
|
||||
|
||||
* Mon Dec 19 2022 Remi Collet <remi@remirepo.net> - 9.2.22-1
|
||||
- update to 9.2.22
|
||||
|
||||
* Wed Dec 14 2022 Remi Collet <remi@remirepo.net> - 9.2.21-1
|
||||
- update to 9.2.21
|
||||
|
||||
* Tue Dec 13 2022 Remi Collet <remi@remirepo.net> - 9.2.20-1
|
||||
- update to 9.2.20
|
||||
|
||||
* Fri Nov 18 2022 Remi Collet <remi@remirepo.net> - 9.2.19-1
|
||||
- update to 9.2.19
|
||||
|
||||
* Fri Oct 28 2022 Remi Collet <remi@remirepo.net> - 9.2.18-1
|
||||
- update to 9.2.18
|
||||
|
||||
* 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
|
||||
|
||||
* Mon Mar 7 2022 Remi Collet <remi@remirepo.net> - 9.2.15-1
|
||||
- update to 9.2.15
|
||||
|
||||
* Mon Feb 28 2022 Remi Collet <remi@remirepo.net> - 9.2.14-1
|
||||
- update to 9.2.14
|
||||
|
||||
* Thu Feb 24 2022 Remi Collet <remi@remirepo.net> - 9.2.13-1
|
||||
- update to 9.2.13
|
||||
|
||||
* Wed Feb 23 2022 Remi Collet <remi@remirepo.net> - 9.2.12-1
|
||||
- update to 9.2.12
|
||||
|
||||
* Fri Feb 18 2022 Remi Collet <remi@remirepo.net> - 9.2.11-1
|
||||
- update to 9.2.11
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.10-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Tue Dec 7 2021 Remi Collet <remi@remirepo.net> - 9.2.10-1
|
||||
- update to 9.2.10
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-phpunit-php-code-coverage9-9.2.10-d5850aa.tgz) = 91f505b0d47e3546eb52f57e8ccd6c686f246522828717d05e912f3bd8e283de0476228358ee8f9043578b5a85112b349431ac454c4a332a0956100ce0e0e9b6
|
||||
SHA512 (php-phpunit-php-code-coverage9-9.2.32-85402a8.tgz) = 135adf1a4e08da0999f80fa4f535d524ba4d29885a313c89973377b0a31fce475264950361cfc037d6ba7b3e9ca378f301c98f62dc2063eee1b7d05d56646f13
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue