[php-horde-Horde-Imap-Client/f21] - Update to 2.27.0 - add provides php-composer(horde/horde-imap-client) - raise dependency on Horde_
Remi Collet
remi at fedoraproject.org
Fri Mar 13 07:01:09 UTC 2015
commit f6134d7be9616d79d014abec18f24522113795a4
Author: Remi Collet <remi at fedoraproject.org>
Date: Fri Mar 13 07:59:53 2015 +0100
- Update to 2.27.0
- add provides php-composer(horde/horde-imap-client)
- raise dependency on Horde_Socket_Client > 2
(cherry picked from commit c86954e5b6070231be210e6b7cf02c77ad0a362c)
.gitignore | 1 +
php-horde-Horde-Imap-Client.spec | 19 ++++++++++++++++---
sources | 2 +-
3 files changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2e0f534..879aa83 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
clog
/Horde_Imap_Client-2.26.0.tgz
/Horde_Imap_Client-2.26.1.tgz
+/Horde_Imap_Client-2.27.0.tgz
diff --git a/php-horde-Horde-Imap-Client.spec b/php-horde-Horde-Imap-Client.spec
index 8050c78..a3a8a9f 100644
--- a/php-horde-Horde-Imap-Client.spec
+++ b/php-horde-Horde-Imap-Client.spec
@@ -10,9 +10,10 @@
%{!?__pear: %global __pear %{_bindir}/pear}
%global pear_name Horde_Imap_Client
%global pear_channel pear.horde.org
+%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
Name: php-horde-Horde-Imap-Client
-Version: 2.26.1
+Version: 2.27.0
Release: 1%{?dist}
Summary: Horde IMAP abstraction interface
@@ -26,12 +27,14 @@ BuildRequires: php(language) >= 5.3.0
BuildRequires: php-pear(PEAR) >= 1.7.0
BuildRequires: php-channel(%{pear_channel})
BuildRequires: gettext
+%if %{with_tests}
# To run unit tests
BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.2.7
BuildRequires: php-pear(%{pear_channel}/Horde_Stream) >= 1.4.0
BuildRequires: php-pear(%{pear_channel}/Horde_Mime) >= 2.5.2
BuildRequires: php-pear(%{pear_channel}/Horde_Cache) >= 2.0.0
BuildRequires: php-pear(%{pear_channel}/Horde_Pack) >= 1.0.0
+%endif
Requires(post): %{__pear}
Requires(postun): %{__pear}
@@ -50,8 +53,8 @@ Requires: php-pear(%{pear_channel}/Horde_Mime) >= 2.5.2
Requires: php-pear(%{pear_channel}/Horde_Mime) < 3.0.0
Requires: php-pear(%{pear_channel}/Horde_Secret) >= 2.0.0
Requires: php-pear(%{pear_channel}/Horde_Secret) < 3.0.0
-Requires: php-pear(%{pear_channel}/Horde_Socket_Client) >= 1.1.0
-Requires: php-pear(%{pear_channel}/Horde_Socket_Client) < 2.0.0
+Requires: php-pear(%{pear_channel}/Horde_Socket_Client) >= 2.0.0
+Requires: php-pear(%{pear_channel}/Horde_Socket_Client) < 3
Requires: php-pear(%{pear_channel}/Horde_Stream) >= 1.4.0
Requires: php-pear(%{pear_channel}/Horde_Stream) < 2.0.0
Requires: php-pear(%{pear_channel}/Horde_Stream_Filter) >= 2.0.0
@@ -79,6 +82,7 @@ Requires: php-spl
# Horde_Compress_Fast, Horde_HashTable, Horde_Mongo, mongo, Horde_Support
Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version}
+Provides: php-composer(horde/horde-imap-client) = %{version}
%description
@@ -128,6 +132,7 @@ done | tee ../%{pear_name}.lang
%check
+%if %{with_tests}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
%if 0%{?fedora} < 21 && 0%{?rhel} < 7
# ignore test results with old PHPUnit
@@ -135,6 +140,9 @@ phpunit . || exit 0
%else
phpunit .
%endif
+%else
+: bootstrap build with test suite disabled
+%endif
%post
@@ -161,6 +169,11 @@ fi
%changelog
+* Tue Mar 10 2015 Remi Collet <remi at fedoraproject.org> - 2.27.0-1
+- Update to 2.27.0
+- add provides php-composer(horde/horde-imap-client)
+- raise dependency on Horde_Socket_Client > 2
+
* Tue Jan 27 2015 Remi Collet <remi at fedoraproject.org> - 2.26.1-1
- Update to 2.26.1
diff --git a/sources b/sources
index af5feb7..210631e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a603457ae0b4cf8e5013eb10613eb7be Horde_Imap_Client-2.26.1.tgz
+a0c022d16ba66e8dc28b126bfe1c5f16 Horde_Imap_Client-2.27.0.tgz
More information about the scm-commits
mailing list