diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-05-31 06:51:49 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-05-31 06:51:49 +0200 |
commit | 01da5844f6c7a46c7b5d1ce7fc45d043e51c212f (patch) | |
tree | 8b0dfd6830dbf9421463e30a79658d852b387c77 | |
parent | 663813e85b162186bb7ebdcdae722b92ea72a4cc (diff) |
php-nrk-Predis: 1.0.4
-rw-r--r-- | php-nrk-Predis.spec | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/php-nrk-Predis.spec b/php-nrk-Predis.spec index 8e1ce9d..53d70b3 100644 --- a/php-nrk-Predis.spec +++ b/php-nrk-Predis.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}} +%{!?__pear: %global __pear %{_bindir}/pear} %global pear_name Predis %global pear_channel pear.nrk.io @@ -17,7 +17,7 @@ %endif Name: php-nrk-Predis -Version: 1.0.3 +Version: 1.0.4 Release: 1%{?dist} Summary: PHP client library for Redis @@ -102,7 +102,11 @@ sed -e "s:/var:$PWD:" \ : Run the installed test Suite against the installed library pushd %{buildroot}%{pear_testdir}/%{pear_name} ret=0 -phpunit --include-path=%{buildroot}%{pear_phpdir} || ret=1 +%{_bindir}/phpunit --include-path=%{buildroot}%{pear_phpdir} || ret=1 + +if which php70; then + php70 %{_bindir}/phpunit --include-path=%{buildroot}%{pear_phpdir} || ret=1 +fi popd : Cleanup @@ -140,6 +144,9 @@ fi %changelog +* Tue May 31 2016 Remi Collet <remi@fedoraproject.org> - 1.0.4-1 +- Update to 1.0.4 + * Fri Jul 31 2015 Remi Collet <remi@fedoraproject.org> - 1.0.3-1 - Update to 1.0.3 |