summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Idna.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-horde-Horde-Idna.spec b/php-horde-Horde-Idna.spec
index 7158b80..c1ff195 100644
--- a/php-horde-Horde-Idna.spec
+++ b/php-horde-Horde-Idna.spec
@@ -18,7 +18,7 @@
%endif
Name: php-horde-Horde-Idna
-Version: 1.0.3
+Version: 1.0.4
Release: 1%{?dist}
Summary: IDNA backend normalization package
@@ -87,7 +87,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 .
+%{_bindir}/phpunit .
+
+if which php70; then
+ php70 %{_bindir}/phpunit .
+fi
%else
: Test disabled, bootstrap build
%endif
@@ -118,6 +122,11 @@ fi
%changelog
+* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 1.0.4-1
+- Update to 1.0.4
+- PHP 7 compatible version
+- run test suite with both PHP 5 and 7 when available
+
* Tue Apr 28 2015 Remi Collet <remi@fedoraproject.org> - 1.0.3-1
- Update to 1.0.3