[php-horde-Horde-Exception] - Update to 2.0.5 - add provides php-composer(horde/horde-exception) - raise dependency on Horde_Tra

Remi Collet remi at fedoraproject.org
Fri Jan 9 15:31:38 UTC 2015


commit a145b7af7e38b58b92163118173b83337b073993
Author: Remi Collet <remi at fedoraproject.org>
Date:   Fri Jan 9 16:31:52 2015 +0100

    - Update to 2.0.5
    - add provides php-composer(horde/horde-exception)
    - raise dependency on Horde_Translation 2.2.0

 .gitignore                     |    1 +
 php-horde-Horde-Exception.spec |   37 ++++++++++++++++++++++++++-----------
 sources                        |    2 +-
 3 files changed, 28 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fddd78b..9fb66ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ clog
 /Horde_Exception-2.0.2.tgz
 /Horde_Exception-2.0.3.tgz
 /Horde_Exception-2.0.4.tgz
+/Horde_Exception-2.0.5.tgz
diff --git a/php-horde-Horde-Exception.spec b/php-horde-Horde-Exception.spec
index e66382a..dbce91a 100644
--- a/php-horde-Horde-Exception.spec
+++ b/php-horde-Horde-Exception.spec
@@ -1,14 +1,26 @@
-%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
+# spec file for php-horde-Horde-Exception
+#
+# Copyright (c) 2012-2015 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 bootstrap    0
 %global pear_name    Horde_Exception
 %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-Exception
-Version:        2.0.4
-Release:        2%{?dist}
+Version:        2.0.5
+Release:        1%{?dist}
 Summary:        Horde Exception Handler
 
 Group:          Development/Libraries
@@ -32,10 +44,11 @@ Requires:       php(language) >= 5.3.0
 Requires:       php-spl
 Requires:       php-pear(PEAR) >= 1.7.0
 Requires:       php-channel(%{pear_channel})
-Requires:       php-pear(%{pear_channel}/Horde_Translation) >= 2.0.0
+Requires:       php-pear(%{pear_channel}/Horde_Translation) >= 2.2.0
 Requires:       php-pear(%{pear_channel}/Horde_Translation) <  3.0.0
 
 Provides:       php-pear(%{pear_channel}/%{pear_name}) = %{version}
+Provides:       php-composer(horde/horde-exception) = %{version}
 
 
 %description
@@ -87,12 +100,8 @@ 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=$src/lib:.:%{pear_phpdir} \
-    -d date.timezone=UTC \
-    .
+phpunit .
 %else
 : Test disabled, missing '--with tests' option.
 %endif
@@ -118,7 +127,13 @@ fi
 %dir %{pear_datadir}/%{pear_name}/locale
 %{pear_testdir}/%{pear_name}
 
+
 %changelog
+* Thu Jan 08 2015 Remi Collet <remi at fedoraproject.org> - 2.0.5-1
+- Update to 2.0.5
+- add provides php-composer(horde/horde-exception)
+- raise dependency on Horde_Translation 2.2.0
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.4-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 725df8b..9a3feb9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dcd84683bca18b61337d0e5eecafb7d0  Horde_Exception-2.0.4.tgz
+51cb84e8854582c4408178953a2c80dd  Horde_Exception-2.0.5.tgz


More information about the scm-commits mailing list