summaryrefslogtreecommitdiffstats
path: root/php-sebastian-comparator3.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-09-14 14:29:18 +0200
committerRemi Collet <remi@php.net>2022-09-14 14:29:18 +0200
commit7978dfd89a6be1ce65e8a9a3e56bfb4d4ef8b925 (patch)
treee4c76fa416cf4422163db0a16646b9c530f9371d /php-sebastian-comparator3.spec
parentc86631b1527c019523171fedb9b3cbae26e53fad (diff)
update to 3.0.4
Diffstat (limited to 'php-sebastian-comparator3.spec')
-rw-r--r--php-sebastian-comparator3.spec22
1 files changed, 14 insertions, 8 deletions
diff --git a/php-sebastian-comparator3.spec b/php-sebastian-comparator3.spec
index b2ccc37..8603d68 100644
--- a/php-sebastian-comparator3.spec
+++ b/php-sebastian-comparator3.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
%global bootstrap 0
-%global gh_commit 5de4fc177adf9bce8df98d8d141a7559d7ccf6da
+%global gh_commit c05dd1878ec74058a28a569c59fc5c53a8cc1c7a
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project comparator
@@ -24,11 +24,10 @@
%endif
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 3.0.2
+Version: 3.0.4
Release: 1%{?dist}
Summary: Compare PHP values for equality
-Group: Development/Libraries
License: BSD
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
@@ -47,12 +46,12 @@ BuildRequires: php-sebastian-exporter3 >= 3.1
BuildRequires: php-fedora-autoloader-devel
%if %{with_tests}
# from composer.json, "require-dev": {
-# "phpunit/phpunit": "^7.1"
-BuildRequires: phpunit7 >= 7.1
+# "phpunit/phpunit": "^8.5"
+BuildRequires: phpunit8 >= 8.5
%endif
# from composer.json
-# "php": "^7.1",
+# "php": ">=7.1",
# "sebastian/diff": "^3.0",
# "sebastian/exporter": "^3.1"
Requires: php(language) >= 7.1
@@ -111,10 +110,10 @@ mkdir vendor
: Run upstream test suite
ret=0
-for cmd in php php71 php72 php73; do
+for cmd in php php74 php80 php81 php82; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
- %{_bindir}/phpunit7 --no-coverage --verbose || ret=1
+ %{_bindir}/phpunit8 --no-coverage --verbose || ret=1
fi
done
exit $ret
@@ -132,6 +131,13 @@ exit $ret
%changelog
+* Wed Sep 14 2022 Remi Collet <remi@remirepo.net> - 3.0.4-1
+- update to 3.0.4
+
+* Mon Nov 30 2020 Remi Collet <remi@remirepo.net> - 3.0.3-1
+- update to 3.0.3 (no change)
+- switch to phpunit8
+
* Thu Jul 12 2018 Remi Collet <remi@remirepo.net> - 3.0.2-1
- update to 3.0.2