summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json4
-rw-r--r--php-sebastian-comparator6.spec15
2 files changed, 11 insertions, 8 deletions
diff --git a/composer.json b/composer.json
index 215e1ca..6720b56 100644
--- a/composer.json
+++ b/composer.json
@@ -35,7 +35,7 @@
"ext-mbstring": "*"
},
"require-dev": {
- "phpunit/phpunit": "^11.0"
+ "phpunit/phpunit": "^11.3"
},
"config": {
"platform": {
@@ -56,7 +56,7 @@
},
"extra": {
"branch-alias": {
- "dev-main": "6.0-dev"
+ "dev-main": "6.1-dev"
}
}
}
diff --git a/php-sebastian-comparator6.spec b/php-sebastian-comparator6.spec
index 722db25..fab6306 100644
--- a/php-sebastian-comparator6.spec
+++ b/php-sebastian-comparator6.spec
@@ -10,11 +10,11 @@
# disabled until phpunit11 available
%bcond_with tests
-%global gh_commit 450d8f237bd611c45b5acf0733ce43e6bb280f81
+%global gh_commit fa37b9e2ca618cb051d71b60120952ee8ca8b03d
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project comparator
-%global gh_date 2024-08-12
+%global gh_date 2024-09-11
# Packagist
%global pk_vendor sebastian
%global pk_project %{gh_project}
@@ -25,7 +25,7 @@
%global ns_project Comparator
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 6.0.2
+Version: 6.1.0
Release: 1%{?dist}
Summary: Compare PHP values for equality, version %{major}
@@ -46,8 +46,8 @@ BuildRequires: (php-composer(%{pk_vendor}/exporter) >= 6.0 with php-composer(
BuildRequires: php-fedora-autoloader-devel
%if %{with tests}
# from composer.json, "require-dev": {
-# "phpunit/phpunit": "^11.0"
-BuildRequires: phpunit11
+# "phpunit/phpunit": "^11.3"
+BuildRequires: phpunit11 >= 11.3
%endif
# from composer.json
@@ -111,7 +111,7 @@ ret=0
for cmd in php php82 php83 php84; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
- %{_bindir}/phpunit11 --no-coverage || ret=1
+ %{_bindir}/phpunit11 --bootstrap vendor/autoload.php --no-coverage || ret=1
fi
done
exit $ret
@@ -127,6 +127,9 @@ exit $ret
%changelog
+* Thu Sep 12 2024 Remi Collet <remi@remirepo.net> - 6.1.0-1
+- update to 6.1.0
+
* Mon Aug 12 2024 Remi Collet <remi@remirepo.net> - 6.0.2-1
- update to 6.0.2