From 01da5844f6c7a46c7b5d1ce7fc45d043e51c212f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 31 May 2016 06:51:49 +0200 Subject: php-nrk-Predis: 1.0.4 --- php-nrk-Predis.spec | 13 ++++++++++--- 1 file 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 - 1.0.4-1 +- Update to 1.0.4 + * Fri Jul 31 2015 Remi Collet - 1.0.3-1 - Update to 1.0.3 -- cgit