summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-09-01 16:30:14 +0200
committerRemi Collet <fedora@famillecollet.com>2016-09-01 16:30:14 +0200
commita1d87747295b7bbdd807a4ae68eb62f184571d89 (patch)
tree19d23d9b5872e682ac84adc4fb7b5482177c6b7e
parent0373a931b6061213a319fbade92cff473697f6a9 (diff)
php-horde-Horde-Cache: 2.5.4
-rw-r--r--php-horde-Horde-Cache.spec26
1 files changed, 20 insertions, 6 deletions
diff --git a/php-horde-Horde-Cache.spec b/php-horde-Horde-Cache.spec
index d70ce80..22fcc55 100644
--- a/php-horde-Horde-Cache.spec
+++ b/php-horde-Horde-Cache.spec
@@ -12,8 +12,8 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Cache
-Version: 2.5.3
-Release: 2%{?dist}
+Version: 2.5.4
+Release: 1%{?dist}
Summary: Horde Caching API
Group: Development/Libraries
@@ -96,11 +96,22 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%check
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-php -d apc.enable_cli=1 %{_bindir}/phpunit .
-
-if which php70; then
- php70 -d apc.enable_cli=1 %{_bindir}/phpunit .
+# remirepo:11
+run=0
+ret=0
+if which php56; then
+ php56 -d apc.enable_cli=1 %{_bindir}/phpunit . || ret=1
+ run=1
+fi
+if which php71; then
+ php71 -d apc.enable_cli=1 %{_bindir}/phpunit . || ret=1
+ run=1
fi
+if [ $run -eq 0 ]; then
+php -d apc.enable_cli=1 %{_bindir}/phpunit --verbose .
+# remirepo:2
+fi
+exit $ret
%post
@@ -125,6 +136,9 @@ fi
%changelog
+* Thu Sep 01 2016 Remi Collet <remi@fedoraproject.org> - 2.5.4-1
+- Update to 2.5.4 (no change)
+
* Tue Jun 28 2016 Remi Collet <remi@fedoraproject.org> - 2.5.3-2
- Horde_Mongo is optional