summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-03-05 12:13:03 +0100
committerRemi Collet <remi@remirepo.net>2018-03-05 12:13:03 +0100
commit4a84feb1e4d764a15ec1dd33a330b36fc0ab4eac (patch)
treeeb420a81409724aed268f4c11b1fce623cbdaa76
parent773fc3c36afb607fdf9581b3dca1866a2b16de46 (diff)
v1.6.5
-rw-r--r--php-mikey179-vfsstream.spec45
1 files 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 <remi@remirepo.net> - 1.6.5-1
+- Update to 1.6.5
+
* Mon Jul 18 2016 Remi Collet <remi@fedoraproject.org> - 1.6.4-1
- update to 1.6.4