summaryrefslogtreecommitdiffstats
path: root/php-yoast-phpunit-polyfills3.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-yoast-phpunit-polyfills3.spec')
-rw-r--r--php-yoast-phpunit-polyfills3.spec15
1 files changed, 10 insertions, 5 deletions
diff --git a/php-yoast-phpunit-polyfills3.spec b/php-yoast-phpunit-polyfills3.spec
index b586132..46f8999 100644
--- a/php-yoast-phpunit-polyfills3.spec
+++ b/php-yoast-phpunit-polyfills3.spec
@@ -7,7 +7,7 @@
# Please preserve changelog entries
#
# Github
-%global gh_commit 59b3f8ffa2eab9c8258e8638d97c3e37fac9a80e
+%global gh_commit 9cf2ccd990eadfc4a1e390592d4731e590b2c618
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner Yoast
%global gh_project PHPUnit-Polyfills
@@ -22,8 +22,8 @@
%bcond_without tests
%global php_home %{_datadir}/php
-Name: php-%{pk_vendor}-%{pk_project}
-Version: 3.1.0
+Name: php-%{pk_vendor}-%{pk_project}%{major}
+Version: 3.1.2
Release: 1%{?dist}
Summary: Set of polyfills for changed PHPUnit functionality, version %{major}
@@ -39,9 +39,10 @@ BuildRequires: php(language) >= 7.0
BuildRequires: php-reflection
# From composer.json, "require-dev": {
# "yoast/yoastcs": "^2.3.0"
-# remirepo:1
+%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
BuildRequires: phpunit11
-# phpunit10 is not supported
+%endif
+# phpunit10/phpunit12 are not supported
BuildRequires: phpunit9
BuildRequires: phpunit8
%endif
@@ -128,6 +129,10 @@ exit $ret
%changelog
+* Mon Feb 10 2025 Remi Collet <remi@remirepo.net> - 3.1.2-1
+- update to 3.1.2
+- rename to php-yoast-phpunit-polyfills3 (compat package)
+
* Thu Jan 9 2025 Remi Collet <remi@remirepo.net> - 3.1.0-1
- update to 3.1.0
- re-license spec file to CECILL-2.1