From 4a84feb1e4d764a15ec1dd33a330b36fc0ab4eac Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 Mar 2018 12:13:03 +0100 Subject: v1.6.5 --- php-mikey179-vfsstream.spec | 45 ++++++++++++++------------------------------- 1 file changed, 14 insertions(+), 31 deletions(-) diff --git a/php-mikey179-vfsstream.spec b/php-mikey179-vfsstream.spec index b3efae4..efdb587 100644 --- a/php-mikey179-vfsstream.spec +++ b/php-mikey179-vfsstream.spec @@ -6,14 +6,14 @@ # # Please, preserve the changelog entries # -%global gh_commit 0247f57b2245e8ad2e689d7cee754b45fbabd592 +%global gh_commit d5fec95f541d4d71c4823bb5e30cf9b9e5b96145 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner mikey179 %global gh_project vfsStream %global with_tests %{?_without_tests:0}%{!?_without_tests:1} Name: php-mikey179-vfsstream -Version: 1.6.4 +Version: 1.6.5 Release: 1%{?dist} Summary: PHP stream wrapper for a virtual file system @@ -22,7 +22,6 @@ License: BSD 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 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php(language) >= 5.3 BuildRequires: %{_bindir}/phpab @@ -69,7 +68,6 @@ To use this library, you just have to add, in your project: %install -rm -rf %{buildroot} mkdir -p %{buildroot}%{_datadir}/php cp -pr src/main/php/org %{buildroot}%{_datadir}/php/org @@ -79,41 +77,23 @@ cp -pr src/main/php/org %{buildroot}%{_datadir}/php/org # erratic result in mock rm src/test/php/org/bovigo/vfs/vfsStreamWrapperLargeFileTestCase.php -# remirepo:15 -run=0 ret=0 -if which php56; then - php56 %{_bindir}/phpunit \ - --bootstrap %{buildroot}%{_datadir}/php/org/bovigo/vfs/autoload.php \ - --verbose || ret=1 - run=1 -fi -if which php71; then - php71 %{_bindir}/phpunit \ - --bootstrap %{buildroot}%{_datadir}/php/org/bovigo/vfs/autoload.php \ - --verbose || ret=1 - run=1 -fi -if [ $run -eq 0 ]; then -: Run test suite with installed library -%{_bindir}/phpunit \ - --bootstrap %{buildroot}%{_datadir}/php/org/bovigo/vfs/autoload.php \ - --verbose -# remirepo:2 -fi +for cmd in php php56 php70 php71 php72; do + if which $cmd; then + $cmd %{_bindir}/phpunit \ + --bootstrap %{buildroot}%{_datadir}/php/org/bovigo/vfs/autoload.php \ + --verbose || ret=1 + fi +done exit $ret %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE -%doc CHANGELOG.md README.md composer.json +%doc *.md +%doc composer.json %dir %{_datadir}/php/org %dir %{_datadir}/php/org/bovigo @@ -121,6 +101,9 @@ rm -rf %{buildroot} %changelog +* Fri Aug 4 2017 Remi Collet - 1.6.5-1 +- Update to 1.6.5 + * Mon Jul 18 2016 Remi Collet - 1.6.4-1 - update to 1.6.4 -- cgit