[php-horde-Horde-Http] update to 2.1.2 + enable test suite

Remi Collet remi at fedoraproject.org
Tue Dec 30 07:57:16 UTC 2014


commit 6c4cf45520860e06f66e74661b45a5b88b3c1a63
Author: Remi Collet <remi at fedoraproject.org>
Date:   Tue Dec 30 08:57:15 2014 +0100

    update to 2.1.2 + enable test suite

 .gitignore                |    1 +
 php-horde-Horde-Http.spec |   21 ++++++++++++---------
 sources                   |    2 +-
 3 files changed, 14 insertions(+), 10 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 ebb4d95..418ce3e 100644
--- a/php-horde-Horde-Http.spec
+++ b/php-horde-Horde-Http.spec
@@ -9,15 +9,18 @@
 #
 %{!?__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
-Release:        2%{?dist}
+Version:        2.1.2
+Release:        1%{?dist}
 Summary:        Horde HTTP libraries
 
 Group:          Development/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 Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
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