summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-02-02 08:51:54 +0100
committerRemi Collet <fedora@famillecollet.com>2016-02-02 08:51:54 +0100
commit2534cbb28b4aa9137a9c52e32e37faca99dabc58 (patch)
tree00bb651d55a5c4ac3c8e9577efdbf3844f285761
parent7f9c328ba23f01644a43330d3f4fe7746a3a6c4a (diff)
php-horde-Horde-Pdf: 2.0.7
-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