summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-07-03 14:09:05 +0200
committerRemi Collet <remi@php.net>2024-07-03 14:09:05 +0200
commit5894efb24d728b436fc2727333a3d2265d4cead9 (patch)
treee968bd233ce5a3aa5a38b385d46289dc074ea19e
parentdec69809867d713b19546151e0f3afb06851bec4 (diff)
update to 11.0.5
-rw-r--r--php-phpunit-php-code-coverage11.spec41
1 files changed, 7 insertions, 34 deletions
diff --git a/php-phpunit-php-code-coverage11.spec b/php-phpunit-php-code-coverage11.spec
index ac53658..c65484a 100644
--- a/php-phpunit-php-code-coverage11.spec
+++ b/php-phpunit-php-code-coverage11.spec
@@ -11,11 +11,11 @@
%bcond_with tests
# Github
-%global gh_commit 4dc2b7a606073f0fb80da09842ffb068b627c38f
+%global gh_commit 19b6365ab8b59a64438c0c3f4241feeb480c9861
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project php-code-coverage
-%global gh_date 2024-06-29
+%global gh_date 2024-07-03
# Packagist
%global pk_vendor phpunit
%global pk_project php-code-coverage
@@ -26,7 +26,7 @@
%global ver_major 11
Name: php-%{pk_vendor}-%{pk_project}%{ver_major}
-Version: 11.0.4
+Version: 11.0.5
Release: 1%{?dist}
Summary: PHP code coverage information, version %{ver_major}
@@ -44,8 +44,6 @@ BuildArch: noarch
BuildRequires: php(language) >= 8.2
BuildRequires: php-fedora-autoloader-devel >= 1.0.0
%if %{with tests}
-# remirepo:1
-%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(nikic/php-parser) >= 5.0 with php-composer(nikic/php-parser) < 6)
BuildRequires: (php-composer(phpunit/php-file-iterator) >= 5.0 with php-composer(phpunit/php-file-iterator) < 6)
BuildRequires: (php-composer(phpunit/php-text-template) >= 4.0 with php-composer(phpunit/php-text-template) < 5)
@@ -55,18 +53,6 @@ BuildRequires: (php-composer(sebastian/environment) >= 7.0 with
BuildRequires: (php-composer(sebastian/lines-of-code) >= 3.0 with php-composer(sebastian/lines-of-code) < 4)
BuildRequires: (php-composer(sebastian/version) >= 5.0 with php-composer(sebastian/version) < 6)
BuildRequires: (php-composer(theseer/tokenizer) >= 1.2.0 with php-composer(theseer/tokenizer) < 2)
-# remirepo:11
-%else
-BuildRequires: php-nikic-php-parser5
-BuildRequires: php-phpunit-php-file-iterator5
-BuildRequires: php-phpunit-php-text-template4
-BuildRequires: php-sebastian-code-unit-reverse-lookup4
-BuildRequires: php-sebastian-complexity4
-BuildRequires: php-sebastian-environment7
-BuildRequires: php-sebastian-lines-of-code3
-BuildRequires: php-sebastian-version5
-BuildRequires: php-theseer-tokenizer >= 1.2.0
-%endif
BuildRequires: php-date
BuildRequires: php-dom
BuildRequires: php-json
@@ -100,8 +86,6 @@ Requires: php(language) >= 8.2
Requires: php-dom
Requires: php-libxml
Requires: php-xmlwriter
-# remirepo:1
-%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(nikic/php-parser) >= 5.0 with php-composer(nikic/php-parser) < 6)
Requires: (php-composer(phpunit/php-file-iterator) >= 5.0 with php-composer(phpunit/php-file-iterator) < 6)
Requires: (php-composer(phpunit/php-text-template) >= 4.0 with php-composer(phpunit/php-text-template) < 5)
@@ -116,18 +100,6 @@ Requires: (php-composer(theseer/tokenizer) >= 1.2.0 with
# "ext-xdebug": "*"
Suggests: php-xdebug
Recommends: php-pcov
-# remirepo:11
-%else
-Requires: php-nikic-php-parser5
-Requires: php-phpunit-php-file-iterator5
-Requires: php-phpunit-php-text-template4
-Requires: php-sebastian-code-unit-reverse-lookup4
-Requires: php-sebastian-complexity4
-Requires: php-sebastian-environment7
-Requires: php-sebastian-lines-of-code3
-Requires: php-sebastian-version5
-Requires: php-theseer-tokenizer >= 1.2.0
-%endif
# From phpcompatinfo report for version 10.0.0
Requires: php-date
Requires: php-json
@@ -208,7 +180,7 @@ EOF
ret=0
# testCanBeCreatedFromDefaults rely on git layout
-for cmd in php php82 php83; do
+for cmd in php php82 php83 php84; do
if which $cmd; then
$cmd $EXT \
-d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php \
@@ -222,8 +194,6 @@ exit $ret
%files
-# remirepo:1
-%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README.md
%doc ChangeLog-11.0.md
@@ -232,6 +202,9 @@ exit $ret
%changelog
+* Wed Jul 3 2024 Remi Collet <remi@remirepo.net> - 11.0.5-1
+- update to 11.0.5
+
* Tue Jul 2 2024 Remi Collet <remi@remirepo.net> - 11.0.4-1
- update to 11.0.4