summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-02-02 13:43:10 +0100
committerRemi Collet <fedora@famillecollet.com>2016-02-02 13:43:10 +0100
commit567c5333ba278c4fa0718e8d9b4615f806d082d2 (patch)
tree25ddcc10011511946cff0b748cd2bf9e639453fc
parent199d944a735dae9a568dc04160837855a57d273e (diff)
php-horde-Horde-Translation: 2.2.1
-rw-r--r--php-horde-Horde-Translation.spec15
1 files changed, 11 insertions, 4 deletions
diff --git a/php-horde-Horde-Translation.spec b/php-horde-Horde-Translation.spec
index 4655b69..f6b259f 100644
--- a/php-horde-Horde-Translation.spec
+++ b/php-horde-Horde-Translation.spec
@@ -19,7 +19,7 @@
%endif
Name: php-horde-Horde-Translation
-Version: 2.2.0
+Version: 2.2.1
Release: 1%{?dist}
Summary: Horde translation library
@@ -89,9 +89,11 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%check
%if %{with_tests}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-phpunit\
- -d date.timezone=UTC \
- .
+%{_bindir}/phpunit .
+
+if which php70; then
+ php70 %{_bindir}/phpunit .
+fi
%else
: Test disabled, missing '--with tests' option.
%endif
@@ -119,6 +121,11 @@ fi
%changelog
+* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.2.1-1
+- Update to 2.2.1
+- PHP 7 compatible version
+- run test suite with both PHP 5 and 7 when available
+
* Thu Nov 06 2014 Remi Collet <remi@fedoraproject.org> - 2.2.0-1
- Update to 2.2.0
- enable test suite