summaryrefslogtreecommitdiffstats
path: root/php-phpunit-File-Iterator.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpunit-File-Iterator.spec')
-rw-r--r--php-phpunit-File-Iterator.spec7
1 files changed, 2 insertions, 5 deletions
diff --git a/php-phpunit-File-Iterator.spec b/php-phpunit-File-Iterator.spec
index 61e82c5..4db862e 100644
--- a/php-phpunit-File-Iterator.spec
+++ b/php-phpunit-File-Iterator.spec
@@ -53,24 +53,21 @@ FilterIterator implementation that filters files based on a list of suffixes.
%setup -q -n %{gh_project}-%{gh_commit}
# Restore PSR-0 tree
+# see https://github.com/sebastianbergmann/php-file-iterator/issues/26
mkdir -p File/Iterator/
mv src/* File/Iterator/
mv File/Iterator/Iterator.php File/Iterator.php
-
%build
%{_bindir}/phpab \
--output File/Iterator/Autoload.php \
--basedir File/Iterator \
File
-cat File/Iterator/Autoload.php
%install
rm -rf %{buildroot}
-# Restore PSR-0 tree
-# see https://github.com/sebastianbergmann/php-file-iterator/issues/26
mkdir -p %{buildroot}%{php_home}
cp -pr File %{buildroot}%{php_home}/File
@@ -91,7 +88,7 @@ fi
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc ChangeLog.md README.md composer.json
-%{php_home}/*
+%{php_home}/File
%changelog