diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-07-04 07:46:05 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-07-04 07:46:05 +0200 |
commit | ee050c7b074eb39e7f3053593db87e9a58f57e25 (patch) | |
tree | 73149eb5265c0dce239e9d77dbd1d9bcde225fba | |
parent | 9e4faeb16c72683fc4e91f17c3a16b98a0ab728a (diff) |
php-alcaeus-mongo-php-adapter: 1.0.5
-rw-r--r-- | php-alcaeus-mongo-php-adapter.spec | 39 |
1 files changed, 27 insertions, 12 deletions
diff --git a/php-alcaeus-mongo-php-adapter.spec b/php-alcaeus-mongo-php-adapter.spec index c9dc28b..4873844 100644 --- a/php-alcaeus-mongo-php-adapter.spec +++ b/php-alcaeus-mongo-php-adapter.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 92feaf5b6e368fbfefa7f53f41dd66f3f7963bd3 +%global gh_commit db7ef240fc9de81cd093d4d7e401a30b79023196 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner alcaeus %global gh_project mongo-php-adapter @@ -19,7 +19,7 @@ Name: php-%{gh_owner}-%{gh_project} -Version: 1.0.4 +Version: 1.0.5 Release: 1%{?dist} Summary: Mongo PHP Adapter @@ -125,19 +125,31 @@ mongod \ --dbpath $PWD/dbtest \ --fork || : skip test as server cant start -if [ -s server.pid ] ; then - : Run the test suite - %{_bindir}/phpunit --bootstrap bs.php || RET=1 - - if which php71; then - php71 %{_bindir}/phpunit --bootstrap bs.php || RET=1 - fi +if [ ! -s server.pid ] ; then + exit 0 +fi - : Cleanup - kill $(cat server.pid) +: Run the test suite +ret=0 +# remirepo:10 +run=0 +if which php56; then + php56 %{_bindir}/phpunit --bootstrap bs.php || ret=1 + run=1 +fi +if which php71; then + php71 %{_bindir}/phpunit --bootstrap bs.php || ret=1 + run=1 fi +if [ $run -eq 0 ]; then +%{_bindir}/phpunit --bootstrap bs.php || ret=1 +# remirepo:1 +fi + +: Cleanup +kill $(cat server.pid) -exit $RET +exit $ret %else : Test suite disabled %endif @@ -157,6 +169,9 @@ rm -rf %{buildroot} %changelog +* Mon Jul 4 2016 Remi Collet <remi@fedoraproject.org> - 1.0.5-1 +- update to 1.0.5 + * Wed Jun 22 2016 Remi Collet <remi@fedoraproject.org> - 1.0.4-1 - update to 1.0.4 |