summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-sebastian-comparator3.spec26
1 files changed, 16 insertions, 10 deletions
diff --git a/php-sebastian-comparator3.spec b/php-sebastian-comparator3.spec
index 514c7d9..04392bc 100644
--- a/php-sebastian-comparator3.spec
+++ b/php-sebastian-comparator3.spec
@@ -1,13 +1,13 @@
# remirepo/fedora spec file for php-sebastian-comparator3
#
-# Copyright (c) 2014-2022 Remi Collet
-# License: CC-BY-SA
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2014-2025 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
%global bootstrap 0
-%global gh_commit 1dc7ceb4a24aede938c7af2a9ed1de09609ca770
+%global gh_commit 4b3c947888c81708b20fb081bb653a2ba68f989a
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project comparator
@@ -24,11 +24,11 @@
%endif
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 3.0.5
+Version: 3.0.6
Release: 1%{?dist}
-Summary: Compare PHP values for equality
+Summary: Compare PHP values for equality, version %{major}
-License: BSD
+License: BSD-3-Clause
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh
@@ -66,9 +66,7 @@ Requires: php-sebastian-diff3
Requires: php-sebastian-exporter3 >= 3.1
%endif
# from phpcompatinfo report for version 3.0.0
-Requires: php-date
Requires: php-dom
-Requires: php-spl
# Autoloader
Requires: php-composer(fedora/autoloader)
@@ -78,6 +76,8 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
%description
This component provides the functionality to compare PHP values for equality.
+This package provides the version %{major} of the library.
+
Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php
@@ -111,7 +111,7 @@ mkdir vendor
: Run upstream test suite
ret=0
-for cmd in php php74 php80 php81 php82; do
+for cmd in php php81 php82 php83 php84 php85; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
%{_bindir}/phpunit8 --no-coverage --verbose || ret=1
@@ -132,6 +132,12 @@ exit $ret
%changelog
+* Mon Aug 11 2025 Remi Collet <remi@remirepo.net> - 3.0.6-1
+- update to 3.0.6
+
+* Fri Apr 21 2023 Remi Collet <remi@remirepo.net> - 3.0.5-3
+- use SPDX license ID
+
* Wed Sep 14 2022 Remi Collet <remi@remirepo.net> - 3.0.5-1
- update to 3.0.5
- sources from git snapshot