summaryrefslogtreecommitdiffstats
path: root/phpunit10.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-10-06 07:38:52 +0200
committerRemi Collet <remi@php.net>2023-10-06 07:38:52 +0200
commit5a660ac6eb1075c5f1bbfb3fa38dbedb7e7e5c77 (patch)
treec173c329e69675c3770a8539529bab6028519d42 /phpunit10.spec
parent76f5783ed46e566e0d7640da8a30da62affc8f59 (diff)
update to 10.4.0
Diffstat (limited to 'phpunit10.spec')
-rw-r--r--phpunit10.spec19
1 files changed, 13 insertions, 6 deletions
diff --git a/phpunit10.spec b/phpunit10.spec
index 6251b1d..559657f 100644
--- a/phpunit10.spec
+++ b/phpunit10.spec
@@ -14,7 +14,7 @@
%bcond_without tests
-%global gh_commit 747c3b2038f1139e3dcd9886a3f5a948648b7503
+%global gh_commit 9784e877e3700de37475545bdbdce8383ff53d25
#global gh_date 20150927
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
@@ -26,9 +26,9 @@
%global ns_vendor PHPUnit10
%global php_home %{_datadir}/php
%global ver_major 10
-%global ver_minor 3
+%global ver_minor 4
-%global upstream_version 10.3.5
+%global upstream_version 10.4.0
#global upstream_prever dev
Name: %{pk_project}%{ver_major}
@@ -48,11 +48,10 @@ BuildArch: noarch
BuildRequires: php(language) >= 8.1
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(doctrine/instantiator) >= 1.3.1 with php-composer(doctrine/instantiator) < 3)
BuildRequires: (php-composer(myclabs/deep-copy) >= 1.10.1 with php-composer(myclabs/deep-copy) < 2)
BuildRequires: (php-composer(phar-io/manifest) >= 2.0.3 with php-composer(phar-io/manifest) < 3)
BuildRequires: (php-composer(phar-io/version) >= 3.0.2 with php-composer(phar-io/version) < 4)
-BuildRequires: (php-composer(phpunit/php-code-coverage) >= 10.1.1 with php-composer(phpunit/php-code-coverage) < 11)
+BuildRequires: (php-composer(phpunit/php-code-coverage) >= 10.1.5 with php-composer(phpunit/php-code-coverage) < 11)
BuildRequires: (php-composer(phpunit/php-file-iterator) >= 4.0 with php-composer(phpunit/php-file-iterator) < 5)
BuildRequires: (php-composer(phpunit/php-invoker) >= 4.0 with php-composer(phpunit/php-invoker) < 5)
BuildRequires: (php-composer(phpunit/php-text-template) >= 3.0 with php-composer(phpunit/php-text-template) < 4)
@@ -73,7 +72,7 @@ BuildRequires: (php-composer(sebastian/version) >= 4.0 with php-c
BuildRequires: php-myclabs-deep-copy >= 1.10.1
BuildRequires: php-phar-io-manifest2 >= 2.0.3
BuildRequires: php-phar-io-version3 >= 3.0.2
-BuildRequires: php-phpunit-php-code-coverage10 >= 10.1.1
+BuildRequires: php-phpunit-php-code-coverage10 >= 10.1.5
BuildRequires: php-phpunit-php-file-iterator4
BuildRequires: php-phpunit-php-invoker4
BuildRequires: php-phpunit-php-text-template3
@@ -192,6 +191,11 @@ Requires: php-pcre
Requires: php-phar
Requires: php-spl
+%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10
+Provides: php-composer(phpunit/phpunit) = %{version}
+Provides: phpunit = %{version}-%{release}
+%endif
+
%description
PHPUnit is a programmer-oriented testing framework for PHP.
@@ -302,6 +306,9 @@ exit $ret
%changelog
+* Fri Oct 6 2023 Remi Collet <remi@remirepo.net> - 10.4.0-1
+- update to 10.4.0
+
* Tue Sep 19 2023 Remi Collet <remi@remirepo.net> - 10.3.5-1
- update to 10.3.5
- raise dependency on sebastian/exporter 5