[php-horde-Horde-Http] php-horde-Horde-Http: 2.0.5

Remi Collet remi at fedoraproject.org
Tue Feb 25 11:28:49 UTC 2014


commit e3c1213bccd10b6282624b9cc39ddc2e8becc697
Author: Remi Collet <remi at fedoraproject.org>
Date:   Tue Feb 25 12:29:37 2014 +0100

    php-horde-Horde-Http: 2.0.5

 .gitignore                |    1 +
 php-horde-Horde-Http.spec |   25 ++++++++++++++++++++-----
 sources                   |    2 +-
 3 files changed, 22 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 39b05eb..face64c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /Horde_Http-2.0.2.tgz
 /Horde_Http-2.0.3.tgz
 /Horde_Http-2.0.4.tgz
+/Horde_Http-2.0.5.tgz
diff --git a/php-horde-Horde-Http.spec b/php-horde-Horde-Http.spec
index 7c54133..0d8a6a6 100644
--- a/php-horde-Horde-Http.spec
+++ b/php-horde-Horde-Http.spec
@@ -1,4 +1,13 @@
-%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
+# spec file for php-horde-Horde-Mail
+#
+# Copyright (c) 2012-2014 Nick Bebout, Remi Collet
+#
+# License: MIT
+# https://fedoraproject.org/wiki/Licensing:MIT#Modern_Style_with_sublicense
+#
+# Please, preserve the changelog entries
+#
+%{!?__pear:       %global __pear       %{_bindir}/pear}
 %{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
 %global pear_name    Horde_Http
 %global pear_channel pear.horde.org
@@ -7,7 +16,7 @@
 %global with_tests   %{?_with_tests:1}%{!?_with_tests:0}
 
 Name:           php-horde-Horde-Http
-Version:        2.0.4
+Version:        2.0.5
 Release:        1%{?dist}
 Summary:        Horde HTTP libraries
 
@@ -36,7 +45,7 @@ Requires:       php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0
 Requires:       php-pear(%{pear_channel}/Horde_Exception) <  3.0.0
 Requires:       php-pear(%{pear_channel}/Horde_Support) >= 2.0.0
 Requires:       php-pear(%{pear_channel}/Horde_Support) <  3.0.0
-# Optionnal
+# Optional
 Requires:       php-curl
 # php-pecl-http v1 optional but not available (only v2)
 
@@ -46,6 +55,8 @@ Provides:       php-pear(%{pear_channel}/%{pear_name}) = %{version}
 %description
 This package provides a set of classes for making HTTP requests.
 
+Optional dependency: php-pecl-http1
+
 
 %prep
 %setup -q -c
@@ -73,9 +84,10 @@ 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\
-    -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \
+phpunit \
+    --include-path=$src/lib \
     -d date.timezone=UTC \
     .
 %else
@@ -103,6 +115,9 @@ fi
 
 
 %changelog
+* Tue Feb 25 2014 Remi Collet <remi at fedoraproject.org> - 2.0.5-1
+- Update to 2.0.5
+
 * Tue Aug 27 2013 Remi Collet <remi at fedoraproject.org> - 2.0.4-1
 - Update to 2.0.4
 
diff --git a/sources b/sources
index aa19946..e5f9e2d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2c293b9f469c248a67fb93661ea19104  Horde_Http-2.0.4.tgz
+0d940b65626f40bd34f3185c82e14429  Horde_Http-2.0.5.tgz


More information about the scm-commits mailing list