summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Date.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-02-02 07:56:08 +0100
committerRemi Collet <fedora@famillecollet.com>2016-02-02 07:56:08 +0100
commit864b32213afbf77b510990e82f893adefa4f4b69 (patch)
treee8a733ad06acf82b9768b72db350301ba0f53b66 /php-horde-Horde-Date.spec
parentc1466d1a8684b93269c27c328dfb8d437a4e2e08 (diff)
php-horde-Horde-Date: 2.2.0
Diffstat (limited to 'php-horde-Horde-Date.spec')
-rw-r--r--php-horde-Horde-Date.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-horde-Horde-Date.spec b/php-horde-Horde-Date.spec
index 636fc3c..135661a 100644
--- a/php-horde-Horde-Date.spec
+++ b/php-horde-Horde-Date.spec
@@ -18,7 +18,7 @@
%endif
Name: php-horde-Horde-Date
-Version: 2.1.1
+Version: 2.2.0
Release: 1%{?dist}
Summary: Horde Date package
@@ -110,7 +110,11 @@ done | tee ../%{pear_name}.lang
%check
%if %{with_tests}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-phpunit --verbose .
+%{_bindir}/phpunit .
+
+if which php70; then
+ php70 %{_bindir}/phpunit .
+fi
%else
: Test disabled, missing '--with tests' option.
%endif
@@ -138,6 +142,11 @@ fi
%changelog
+* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.2.0-1
+- Update to 2.2.0
+- PHP 7 compatible version
+- run test suite with both PHP 5 and 7 when available
+
* Fri Jul 31 2015 Remi Collet <remi@fedoraproject.org> - 2.1.1-1
- Update to 2.1.1