summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-02-01 19:44:04 +0100
committerRemi Collet <fedora@famillecollet.com>2016-02-01 19:44:04 +0100
commit4b1d8147691ea2780306c7ddcb61d1c8b1671633 (patch)
tree0c196ed53627facf8e401b85aa1cc433050eedbe
parentc3b0818b89d97a6cfa17f7440efe33b022ca3127 (diff)
php-horde-Horde-Constraint: 2.0.3
-rw-r--r--php-horde-Horde-Constraint.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-horde-Horde-Constraint.spec b/php-horde-Horde-Constraint.spec
index 969a909..e60e8ee 100644
--- a/php-horde-Horde-Constraint.spec
+++ b/php-horde-Horde-Constraint.spec
@@ -18,7 +18,7 @@
%endif
Name: php-horde-Horde-Constraint
-Version: 2.0.2
+Version: 2.0.3
Release: 1%{?dist}
Summary: Horde Constraint library
@@ -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
: Test disabled, missing '--with tests' option.
%endif
@@ -106,6 +110,11 @@ fi
%changelog
+* Mon Feb 01 2016 Remi Collet <remi@fedoraproject.org> - 2.0.3-1
+- Update to 2.0.3
+- PHP 7 compatible version
+- run test suite with both PHP 5 and 7 when available
+
* Thu Jan 08 2015 Remi Collet <remi@fedoraproject.org> - 2.0.2-1
- Update to 2.0.2 (no change)
- add provides php-composer(horde/horde-constraint)