summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-yoast-phpunit-polyfills1.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/php-yoast-phpunit-polyfills1.spec b/php-yoast-phpunit-polyfills1.spec
index 7660597..157435f 100644
--- a/php-yoast-phpunit-polyfills1.spec
+++ b/php-yoast-phpunit-polyfills1.spec
@@ -22,7 +22,7 @@
%bcond_without tests
%global php_home %{_datadir}/php
-Name: php-%{pk_vendor}-%{pk_project}%{major}
+Name: php-%{pk_vendor}-%{pk_project}1
Version: 1.1.1
Release: 1%{?dist}
Summary: Set of polyfills for changed PHPUnit functionality
@@ -50,6 +50,7 @@ BuildRequires: php-fedora-autoloader-devel
Requires: php(language) >= 5.4
# from phpcompatinfo report on version 0.2.0
Requires: php-reflection
+Conflicts: php-%{pk_vendor}-%{pk_project} < 2
Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
@@ -102,7 +103,7 @@ if [ -x %{_bindir}/phpunit8 ]; then
done
fi
if [ -x %{_bindir}/phpunit9 ]; then
- for cmd in php php81 php82 php83; do
+ for cmd in php php81 php82 php83 php84; do
if which $cmd; then
$cmd %{_bindir}/phpunit9 --no-coverage || ret=1
fi
@@ -114,8 +115,6 @@ exit $ret
%files
-# remirepo:1
-%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc *.md
%doc composer.json
@@ -123,6 +122,9 @@ exit $ret
%changelog
+* Fri Aug 30 2024 Remi Collet <remi@remirepo.net> - 1.1.1-1
+- rename to php-yoast-phpunit-polyfills1 (compat package)
+
* Tue Apr 9 2024 Remi Collet <remi@remirepo.net> - 1.1.1-1
- update to 1.1.1