summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Stream-Wrapper.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-horde-Horde-Stream-Wrapper.spec')
-rw-r--r--php-horde-Horde-Stream-Wrapper.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-horde-Horde-Stream-Wrapper.spec b/php-horde-Horde-Stream-Wrapper.spec
index 60888ae..959b359 100644
--- a/php-horde-Horde-Stream-Wrapper.spec
+++ b/php-horde-Horde-Stream-Wrapper.spec
@@ -18,7 +18,7 @@
%endif
Name: php-horde-Horde-Stream-Wrapper
-Version: 2.1.2
+Version: 2.1.3
Release: 1%{?dist}
Summary: Horde Stream wrappers
@@ -78,7 +78,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
: Tests disabled, use --with tests to enable them
%endif
@@ -104,6 +108,11 @@ fi
%changelog
+* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.1.3-1
+- Update to 2.1.3
+- PHP 7 compatible version
+- run test suite with both PHP 5 and 7 when available
+
* Wed Feb 11 2015 Remi Collet <remi@fedoraproject.org> - 2.1.2-1
- Update to 2.1.2