summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json3
-rw-r--r--php-sebastian-comparator6.spec23
2 files changed, 15 insertions, 11 deletions
diff --git a/composer.json b/composer.json
index 7587c01..1b1d957 100644
--- a/composer.json
+++ b/composer.json
@@ -34,6 +34,9 @@
"ext-dom": "*",
"ext-mbstring": "*"
},
+ "suggest": {
+ "ext-bcmath": "For comparing BcMath\\Number objects"
+ },
"require-dev": {
"phpunit/phpunit": "^11.4"
},
diff --git a/php-sebastian-comparator6.spec b/php-sebastian-comparator6.spec
index e6d3636..f6b38bc 100644
--- a/php-sebastian-comparator6.spec
+++ b/php-sebastian-comparator6.spec
@@ -1,8 +1,8 @@
# remirepo/fedora spec file for php-sebastian-comparator6
#
-# Copyright (c) 2014-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2014-2024 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
@@ -10,11 +10,11 @@
# disabled until phpunit11 available
%bcond_with tests
-%global gh_commit 43d129d6a0f81c78bee378b46688293eb7ea3739
+%global gh_commit d4e47a769525c4dd38cea90e5dcd435ddbbc7115
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project comparator
-%global gh_date 2024-10-31
+%global gh_date 2025-01-06
# 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.2.1
+Version: 6.3.0
Release: 1%{?dist}
Summary: Compare PHP values for equality, version %{major}
@@ -37,10 +37,9 @@ Source1: makesrc.sh
BuildArch: noarch
BuildRequires: php(language) >= 8.2
-BuildRequires: php-date
+BuildRequires: php-bcmath
BuildRequires: php-dom
BuildRequires: php-mbstring
-BuildRequires: php-spl
BuildRequires: (php-composer(%{pk_vendor}/diff) >= 6.0 with php-composer(%{pk_vendor}/diff) < 7)
BuildRequires: (php-composer(%{pk_vendor}/exporter) >= 6.0 with php-composer(%{pk_vendor}/exporter) < 7)
BuildRequires: php-fedora-autoloader-devel
@@ -61,9 +60,8 @@ Requires: php-dom
Requires: php-mbstring
Requires: (php-composer(%{pk_vendor}/diff) >= 6.0 with php-composer(%{pk_vendor}/diff) < 7)
Requires: (php-composer(%{pk_vendor}/exporter) >= 6.0 with php-composer(%{pk_vendor}/exporter) < 7)
-# from phpcompatinfo report for version 5.0.0
-Requires: php-date
-Requires: php-spl
+# from phpcompatinfo report for version 6.3.0
+# Only core, date, spl (bcmath is optional)
# Autoloader
Requires: php-composer(fedora/autoloader)
@@ -127,6 +125,9 @@ exit $ret
%changelog
+* Mon Jan 6 2025 Remi Collet <remi@remirepo.net> - 6.3.0-1
+- update to 6.3.0
+
* Thu Oct 31 2024 Remi Collet <remi@remirepo.net> - 6.2.1-1
- update to 6.2.1