summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-07-03 07:34:33 +0200
committerRemi Collet <remi@php.net>2024-07-03 07:34:33 +0200
commita8ff4be36f701f78c3df77c65a08a83f32dbaa39 (patch)
tree39af70f008525b6eb9d853abfe02e5f7a4a59c89
parentd8af51b3ad0b28c42f169de718a1f7959c126db8 (diff)
update to 6.0.1
-rw-r--r--php-sebastian-comparator6.spec28
1 files changed, 8 insertions, 20 deletions
diff --git a/php-sebastian-comparator6.spec b/php-sebastian-comparator6.spec
index 5774ae9..87d9663 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 bd0f2fa5b9257c69903537b266ccb80fcf940db8
+%global gh_commit 131942b86d3587291067a94f295498ab6ac79c20
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project comparator
-%global gh_date 2024-02-02
+%global gh_date 2024-07-03
# Packagist
%global pk_vendor sebastian
%global pk_project %{gh_project}
@@ -25,12 +25,13 @@
%global ns_project Comparator
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 6.0.0
+Version: 6.0.1
Release: 1%{?dist}
Summary: Compare PHP values for equality, version %{major}
License: BSD-3-Clause
URL: https://github.com/%{gh_owner}/%{gh_project}
+# run makesrc.sh to create a git snapshot with test suite
Source0: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh
@@ -40,15 +41,8 @@ BuildRequires: php-date
BuildRequires: php-dom
BuildRequires: php-mbstring
BuildRequires: php-spl
-# remirepo:1
-%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
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)
-# remirepo:4
-%else
-BuildRequires: php-sebastian-diff6
-BuildRequires: php-sebastian-exporter6
-%endif
BuildRequires: php-fedora-autoloader-devel
%if %{with tests}
# from composer.json, "require-dev": {
@@ -65,15 +59,8 @@ BuildRequires: phpunit11
Requires: php(language) >= 8.1
Requires: php-dom
Requires: php-mbstring
-# remirepo:1
-%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
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)
-# remirepo:4
-%else
-Requires: php-sebastian-diff6
-Requires: php-sebastian-exporter6
-%endif
# from phpcompatinfo report for version 5.0.0
Requires: php-date
Requires: php-spl
@@ -134,14 +121,15 @@ exit $ret
%files
-%doc README.md composer.json
-# remirepo:1
-%{!?_licensedir:%global license %%doc}
%license LICENSE
+%doc README.md composer.json
%{php_home}/%{ns_vendor}/%{ns_project}%{major}
%changelog
+* Wed Jul 3 2024 Remi Collet <remi@remirepo.net> - 6.0.1-1
+- update to 6.0.1
+
* Mon Feb 5 2024 Remi Collet <remi@remirepo.net> - 6.0.0-1
- update to 6.0.0
- raise dependency on PHP 8.2