This commit is contained in:
Remi Collet 2017-04-24 17:18:56 +02:00
commit 801e24005d
3 changed files with 16 additions and 7 deletions

1
.gitignore vendored
View file

@ -16,3 +16,4 @@
/php-league-flysystem-1.0.35-dda7f3a.tgz
/php-league-flysystem-1.0.36-d9c1698.tgz
/php-league-flysystem-1.0.37-78b5cc4.tgz
/php-league-flysystem-1.0.38-4ba6e13.tgz

View file

@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
# Github
%global gh_commit 78b5cc4feb61a882302df4fbaf63b7662e5e4ccd
%global gh_commit 4ba6e13f5116204b21c3afdf400ecf2b9eb1c482
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner thephpleague
%global gh_project flysystem
@ -19,7 +19,7 @@
%global ns_project Flysystem
Name: php-%{pk_vendor}-%{pk_name}
Version: 1.0.37
Version: 1.0.38
Release: 1%{?dist}
Summary: Filesystem abstraction: Many filesystems, one API
@ -88,7 +88,6 @@ AUTOLOAD
%install
# Restore PSR-0 tree
mkdir -p %{buildroot}%{_datadir}/php/%{ns_vendor}
cp -pr src %{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}
@ -119,9 +118,15 @@ then PHPSPEC=/dev/null
else PHPSPEC=%{_bindir}/phpspec
fi
: Run upstream test suite
%{_bindir}/php $PHPSPEC run
%{_bindir}/phpunit --verbose
ret=0
for cmd in php php56 php70 php71 php72; do
if which $cmd; then
: Run upstream test suite with PHP 5
$cmd $PHPSPEC run || ret=1
$cmd %{_bindir}/phpunit --verbose || ret=1
fi
done
exit $ret
%files
@ -133,6 +138,9 @@ fi
%changelog
* Mon Apr 24 2017 Remi Collet <remi@remirepo.net> - 1.0.38-1
- Update to 1.0.38
* Thu Mar 23 2017 Remi Collet <remi@remirepo.net> - 1.0.37-1
- Update to 1.0.37

View file

@ -1 +1 @@
SHA512 (php-league-flysystem-1.0.37-78b5cc4.tgz) = fa962343837c38a103cdf2689b36c35af05d04a0c00d018ebc32ce8a5af5944cdb9fc24381bd137a0b57ff93a55c638b021ec9abe105da6a00ef99fd2de4a90c
SHA512 (php-league-flysystem-1.0.38-4ba6e13.tgz) = 3c1b210f5225379ad2ac77f2094d33e1c29df1b87a596f1ee4df86d3ad0c3991f85d03b370adceaf89d176d77a3c732b12b74a2ae2a9481400ff94d91b226324