summaryrefslogtreecommitdiffstats
path: root/php-phpunit-File-Iterator.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-03-31 09:02:19 +0200
committerRemi Collet <remi@php.net>2023-03-31 09:02:19 +0200
commit90b9016133eb0a9f2e2fa63591cb6f2cc023f90e (patch)
tree6ba8a35f2a310dd021bc707c139e95490d1fb28a /php-phpunit-File-Iterator.spec
parentad40e85243d7289986bdf47d245947dc6da41bcc (diff)
minimal fix for PHP 8HEADmaster
Diffstat (limited to 'php-phpunit-File-Iterator.spec')
-rw-r--r--php-phpunit-File-Iterator.spec14
1 files changed, 10 insertions, 4 deletions
diff --git a/php-phpunit-File-Iterator.spec b/php-phpunit-File-Iterator.spec
index 149801c..7fcf893 100644
--- a/php-phpunit-File-Iterator.spec
+++ b/php-phpunit-File-Iterator.spec
@@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-phpunit-File-Iterator
#
-# Copyright (c) 2009-2015 Christof Damian, Remi Collet
+# Copyright (c) 2009-2023 Christof Damian, Remi Collet
#
# License: MIT
# http://opensource.org/licenses/MIT
@@ -19,14 +19,15 @@
Name: php-phpunit-File-Iterator
Version: 1.4.5
-Release: 1%{?dist}
+Release: 13%{?dist}
Summary: FilterIterator implementation that filters files based on a list of suffixes
-Group: Development/Libraries
-License: BSD
+License: BSD-3-Clause
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
+Patch0: %{gh_project}-php8.patch
+
BuildArch: noarch
BuildRequires: php(language) >= 5.3.3
BuildRequires: php-fedora-autoloader-devel
@@ -59,6 +60,8 @@ mkdir -p File/Iterator/
mv src/* File/Iterator/
mv File/Iterator/Iterator.php File/Iterator.php
+%patch0 -p1
+
%build
%{_bindir}/phpab \
@@ -87,6 +90,9 @@ fi
%changelog
+* Fri Mar 31 2023 Remi Collet <remi@remirepo.net> - 1.4.5-13
+- minimal fix for PHP 8
+
* Tue Nov 28 2017 Remi Collet <remi@remirepo.net> - 1.4.5-1
- Update to 1.4.5