summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Pdf.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-horde-Horde-Pdf.spec')
-rw-r--r--php-horde-Horde-Pdf.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-horde-Horde-Pdf.spec b/php-horde-Horde-Pdf.spec
index c2f1d73..01e6a69 100644
--- a/php-horde-Horde-Pdf.spec
+++ b/php-horde-Horde-Pdf.spec
@@ -12,7 +12,7 @@
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
Name: php-horde-Horde-Pdf
-Version: 2.0.6
+Version: 2.0.7
Release: 1%{?dist}
Summary: Horde PDF library
@@ -81,7 +81,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
@@ -111,6 +115,11 @@ fi
%changelog
+* Tue Feb 02 2016 Remi Collet <remi@fedoraproject.org> - 2.0.7-1
+- Update to 2.0.7
+- PHP 7 compatible version
+- run test suite with both PHP 5 and 7 when available
+
* Wed Oct 21 2015 Remi Collet <remi@fedoraproject.org> - 2.0.6-1
- Update to 2.0.6