summaryrefslogtreecommitdiffstats
path: root/php-phpunit-php-file-iterator5.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpunit-php-file-iterator5.spec')
-rw-r--r--php-phpunit-php-file-iterator5.spec29
1 files changed, 18 insertions, 11 deletions
diff --git a/php-phpunit-php-file-iterator5.spec b/php-phpunit-php-file-iterator5.spec
index 439755a..5e93ebe 100644
--- a/php-phpunit-php-file-iterator5.spec
+++ b/php-phpunit-php-file-iterator5.spec
@@ -1,6 +1,6 @@
-# remirepo/fedora spec file for php-phpunit-php-file-iterator4
+# remirepo/fedora spec file for php-phpunit-php-file-iterator5
#
-# Copyright (c) 2009-2023 Christof Damian, Remi Collet
+# Copyright (c) 2009-2024 Christof Damian, Remi Collet
#
# License: MIT
# http://opensource.org/licenses/MIT
@@ -8,24 +8,25 @@
# Please, preserve the changelog entries
#
-%bcond_without tests
+%bcond_with tests
-%global gh_commit a95037b6d9e608ba092da1b23931e537cadc3c3c
+%global gh_commit 99e95c94ad9500daca992354fa09d7b99abe2210
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project php-file-iterator
+%global gh_date 2024-02-02
%global php_home %{_datadir}/php
# Packagist
%global pk_vendor phpunit
%global pk_project %{gh_project}
-%global major 4
+%global major 5
# Namespace
%global ns_vendor SebastianBergmann
%global ns_project FileIterator
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 4.1.0
+Version: 5.0.0
Release: 1%{?dist}
Summary: FilterIterator implementation based on a list of suffixes, version %{major}
@@ -35,19 +36,19 @@ Source0: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh
BuildArch: noarch
-BuildRequires: php(language) >= 8.1
+BuildRequires: php(language) >= 8.2
BuildRequires: php-pcre
BuildRequires: php-spl
%if %{with tests}
# From composer.json, "require-dev"
-# "phpunit/phpunit": "^10.0"
-BuildRequires: phpunit10
+# "phpunit/phpunit": "^11.0"
+BuildRequires: phpunit11
%endif
BuildRequires: php-fedora-autoloader-devel
# From composer.json, "require"
-# "php": ">=8.1"
-Requires: php(language) >= 8.1
+# "php": ">=8.2"
+Requires: php(language) >= 8.2
# From phpcompatinfo report for 4.0.0
Requires: php-pcre
Requires: php-spl
@@ -110,6 +111,12 @@ exit $ret
%changelog
+* Mon Feb 5 2024 Remi Collet <remi@remirepo.net> - 5.0.0-1
+- update to 5.0.0
+- raise dependency on PHP 8.2
+- rename to php-phpunit-php-file-iterator5
+- move to /usr/share/php/SebastianBergmann/FileIterator5
+
* Thu Aug 31 2023 Remi Collet <remi@remirepo.net> - 4.1.0-1
- update to 4.1.0