summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json4
-rw-r--r--php-sebastian-comparator6.spec24
2 files changed, 20 insertions, 8 deletions
diff --git a/composer.json b/composer.json
index 215e1ca..7587c01 100644
--- a/composer.json
+++ b/composer.json
@@ -35,7 +35,7 @@
"ext-mbstring": "*"
},
"require-dev": {
- "phpunit/phpunit": "^11.0"
+ "phpunit/phpunit": "^11.4"
},
"config": {
"platform": {
@@ -56,7 +56,7 @@
},
"extra": {
"branch-alias": {
- "dev-main": "6.0-dev"
+ "dev-main": "6.2-dev"
}
}
}
diff --git a/php-sebastian-comparator6.spec b/php-sebastian-comparator6.spec
index 722db25..e6d3636 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 43d129d6a0f81c78bee378b46688293eb7ea3739
%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-10-31
# 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.2.1
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.4"
+BuildRequires: phpunit11 >= 11.4
%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,18 @@ exit $ret
%changelog
+* Thu Oct 31 2024 Remi Collet <remi@remirepo.net> - 6.2.1-1
+- update to 6.2.1
+
+* Wed Oct 30 2024 Remi Collet <remi@remirepo.net> - 6.2.0-1
+- update to 6.2.0
+
+* Mon Oct 21 2024 Remi Collet <remi@remirepo.net> - 6.1.1-1
+- update to 6.1.1
+
+* 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