From e09255cbc86727b2e3f764fc98ad69bb27e08e27 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 26 Nov 2016 10:42:46 +0100 Subject: php-phpunit-File-Iterator: 1.4.2 --- composer.json | 36 ++++++++++++++++++++++++++++++++++++ php-phpunit-File-Iterator.spec | 14 ++++++++++---- 2 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..c652794 --- /dev/null +++ b/composer.json @@ -0,0 +1,36 @@ +{ + "name": "phpunit/php-file-iterator", + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "type": "library", + "keywords": [ + "iterator", + "filesystem" + ], + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "license": "BSD-3-Clause", + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sb@sebastian-bergmann.de", + "role": "lead" + } + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "irc": "irc://irc.freenode.net/phpunit" + }, + "require": { + "php": ">=5.3.3" + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + } +} + diff --git a/php-phpunit-File-Iterator.spec b/php-phpunit-File-Iterator.spec index e1dcc97..a1635a8 100644 --- a/php-phpunit-File-Iterator.spec +++ b/php-phpunit-File-Iterator.spec @@ -7,7 +7,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 6150bf2c35d3fc379e50c7602b75caceaa39dbf0 +%global gh_commit 3cc8f69b3028d0f96a9078e6295d86e9bf019be5 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project php-file-iterator @@ -18,7 +18,7 @@ %global with_tests %{?_with_tests:1}%{!?_with_tests:0} Name: php-phpunit-File-Iterator -Version: 1.4.1 +Version: 1.4.2 Release: 1%{?dist} Summary: FilterIterator implementation that filters files based on a list of suffixes @@ -30,7 +30,7 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php(language) >= 5.3.3 -BuildRequires: %{_bindir}/phpab +BuildRequires: php-fedora-autoloader-devel # From composer.json # "php": ">=5.3.3" @@ -38,6 +38,8 @@ Requires: php(language) >= 5.3.3 # From phpcompatinfo report for 1.3.4 Requires: php-pcre Requires: php-spl +# Autoloader +Requires: php-composer(fedora/autoloader) Provides: php-composer(phpunit/php-file-iterator) = %{version} @@ -61,8 +63,8 @@ mv File/Iterator/Iterator.php File/Iterator.php %build %{_bindir}/phpab \ + --template fedora \ --output File/Iterator/Autoload.php \ - --basedir File/Iterator \ File @@ -92,6 +94,10 @@ fi %changelog +* Sat Nov 26 2016 Remi Collet - 1.4.2-1 +- update to 1.4.2 (no change) +- switch to fedora/autoloader + * Sun Jul 26 2015 Remi Collet - 1.4.1-1 - Update to 1.4.1 (only CS) -- cgit