summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-11 06:45:42 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-11 06:45:42 +0100
commite067e3662905a16674e79469d65ba3e052b67669 (patch)
tree8fbcae76a63fbddfc17ef6881c0861b7defd50f0
parentd9e61cb058dcad505d061b930d3f56ee94bdd82f (diff)
php-horde-Horde-Icalendar: 2.1.5
-rw-r--r--php-horde-Horde-Icalendar.spec17
1 files changed, 11 insertions, 6 deletions
diff --git a/php-horde-Horde-Icalendar.spec b/php-horde-Horde-Icalendar.spec
index cca4532..95b91f0 100644
--- a/php-horde-Horde-Icalendar.spec
+++ b/php-horde-Horde-Icalendar.spec
@@ -12,7 +12,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Icalendar
-Version: 2.1.4
+Version: 2.1.5
Release: 1%{?dist}
Summary: iCalendar API
@@ -102,11 +102,13 @@ done | tee ../%{pear_name}.lang
%check
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-%{_bindir}/phpunit --verbose .
-
-if which php70; then
- php70 %{_bindir}/phpunit --verbose .
-fi
+ret=0
+for cmd in php56 php70 php71 php; do
+ if which $cmd; then
+ $cmd %{_bindir}/phpunit --verbose . || ret=1
+ fi
+done
+exit $ret
%post
@@ -132,6 +134,9 @@ fi
%changelog
+* Sat Feb 11 2017 Remi Collet <remi@fedoraproject.org> - 2.1.5-1
+- Update to 2.1.5
+
* Mon Mar 21 2016 Remi Collet <remi@fedoraproject.org> - 2.1.4-1
- Update to 2.1.4