[php-horde-Horde-Http/f20] update to 2.1.2 + enable test suite
Remi Collet
remi at fedoraproject.org
Tue Dec 30 07:59:09 UTC 2014
commit 797fa313409566694b40e76e65c1c47b3a776634
Author: Remi Collet <remi at fedoraproject.org>
Date: Tue Dec 30 08:59:10 2014 +0100
update to 2.1.2 + enable test suite
.gitignore | 1 +
php-horde-Horde-Http.spec | 19 +++++++++++--------
sources | 2 +-
3 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6aeec81..1b8e701 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/Horde_Http-2.0.5.tgz
/Horde_Http-2.1.0.tgz
/Horde_Http-2.1.1.tgz
+/Horde_Http-2.1.2.tgz
diff --git a/php-horde-Horde-Http.spec b/php-horde-Horde-Http.spec
index 3572a82..2e7df79 100644
--- a/php-horde-Horde-Http.spec
+++ b/php-horde-Horde-Http.spec
@@ -9,14 +9,17 @@
#
%{!?__pear: %global __pear %{_bindir}/pear}
%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
+%global bootstrap 0
%global pear_name Horde_Http
%global pear_channel pear.horde.org
-
-# Can run test because of circular dependency with Horde_Test
+%if %{bootstrap}
%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
+%else
+%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
+%endif
Name: php-horde-Horde-Http
-Version: 2.1.1
+Version: 2.1.2
Release: 1%{?dist}
Summary: Horde HTTP libraries
@@ -84,12 +87,8 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%check
%if %{with_tests}
-src=$(pwd)/%{pear_name}-%{version}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-phpunit \
- --include-path=$src/lib \
- -d date.timezone=UTC \
- .
+phpunit .
%else
: Test disabled, missing '--with tests' option.
%endif
@@ -115,6 +114,10 @@ fi
%changelog
+* Tue Dec 30 2014 Remi Collet <remi at fedoraproject.org> - 2.1.2-1
+- Update to 2.1.2
+- enable test suite
+
* Sat May 03 2014 Remi Collet <remi at fedoraproject.org> - 2.1.1-1
- Update to 2.1.1
diff --git a/sources b/sources
index 856d92c..f4b1794 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ac5a954033ce381da36f97481c1a045d Horde_Http-2.1.1.tgz
+a5c41e1540e0f45349d195d4d2366b65 Horde_Http-2.1.2.tgz
More information about the scm-commits
mailing list