[php-horde-Horde-Image/epel7] update to 2.0.6

Remi Collet remi at fedoraproject.org
Sat Apr 5 07:01:06 UTC 2014


commit 40ae84b94cdf2d1d3bed1e687922606c2f376fb8
Author: Remi Collet <remi at fedoraproject.org>
Date:   Sat Apr 5 09:00:56 2014 +0200

    update to 2.0.6

 .gitignore                 |    1 +
 php-horde-Horde-Image.spec |   31 ++++++++++++++++++++++---------
 sources                    |    2 +-
 3 files changed, 24 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d121098..b4c1b64 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /Horde_Image-2.0.3.tgz
 /Horde_Image-2.0.4.tgz
 /Horde_Image-2.0.5.tgz
+/Horde_Image-2.0.6.tgz
diff --git a/php-horde-Horde-Image.spec b/php-horde-Horde-Image.spec
index 65ad94a..9d3110f 100644
--- a/php-horde-Horde-Image.spec
+++ b/php-horde-Horde-Image.spec
@@ -1,14 +1,22 @@
+# spec file for php-horde-Horde-Image
+#
+# 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}}
-%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
+
 %global pear_name    Horde_Image
 %global pear_channel pear.horde.org
-
-# No test: all are skipped.
-%global with_tests   %{?_with_tests:1}%{!?_with_tests:0}
+%global with_tests   %{?_without_tests:0}%{!?_without_tests:1}
 
 Name:           php-horde-Horde-Image
-Version:        2.0.5
-Release:        2%{?dist}
+Version:        2.0.6
+Release:        1%{?dist}
 Summary:        Horde Image API
 
 Group:          Development/Libraries
@@ -44,7 +52,7 @@ Requires:       php-pear(%{pear_channel}/Horde_Translation) >= 2.0.0
 Requires:       php-pear(%{pear_channel}/Horde_Translation) <  3.0.0
 Requires:       php-pear(%{pear_channel}/Horde_Util) >= 2.0.0
 Requires:       php-pear(%{pear_channel}/Horde_Util) <  3.0.0
-# Optionnal
+# Optional
 Requires:       php-gd
 Requires:       php-json
 Requires:       php-zlib
@@ -107,9 +115,10 @@ done | tee ../%{pear_name}.lang
 
 %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
@@ -139,6 +148,10 @@ fi
 
 
 %changelog
+* Fri Apr 04 2014 Remi Collet <remi at fedoraproject.org> - 2.0.6-1
+- Update to 2.0.6
+- enable test suite
+
 * Mon Jul 15 2013 Remi Collet <remi at fedoraproject.org> - 2.0.5-1
 - Update to 2.0.5
 
diff --git a/sources b/sources
index fa30517..a253d9e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b7b3516df73b8725b71f8dbc1d1f1054  Horde_Image-2.0.5.tgz
+fdb3ff12bc914f0ee3832e559a314ca4  Horde_Image-2.0.6.tgz


More information about the scm-commits mailing list