summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Autoloader.spec15
1 files changed, 12 insertions, 3 deletions
diff --git a/php-horde-Horde-Autoloader.spec b/php-horde-Horde-Autoloader.spec
index 57ea21c..e1a4618 100644
--- a/php-horde-Horde-Autoloader.spec
+++ b/php-horde-Horde-Autoloader.spec
@@ -18,8 +18,8 @@
%endif
Name: php-horde-Horde-Autoloader
-Version: 2.1.1
-Release: 3%{?dist}
+Version: 2.1.2
+Release: 1%{?dist}
Summary: Horde Autoloader
Group: Development/Libraries
@@ -86,7 +86,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
@@ -113,6 +117,11 @@ fi
%changelog
+* Mon Feb 01 2016 Remi Collet <remi@fedoraproject.org> - 2.1.2-1
+- Update to 2.1.2
+- PHP 7 compatible version
+- run test suite with both PHP 5 and 7 when available
+
* Fri Sep 25 2015 Remi Collet <remi@fedoraproject.org> - 2.1.1-3
- simplify ClassPathMapper patch for Sabre