[php-horde-ingo] - Update to 3.2.0 - raise dep on Hode_Core - run test suite during build

Remi Collet remi at fedoraproject.org
Wed Jul 23 15:10:25 UTC 2014


commit dd3b77c840c94fd2fa9ca5a0e48e45adf1bd64a3
Author: Remi Collet <remi at fedoraproject.org>
Date:   Wed Jul 23 17:10:17 2014 +0200

    - Update to 3.2.0
    - raise dep on Hode_Core
    - run test suite during build

 .gitignore          |    1 +
 php-horde-ingo.spec |   26 ++++++++++++++++++++------
 sources             |    2 +-
 3 files changed, 22 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1fb14dd..3108299 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /ingo-3.1.4.tgz
 /ingo-3.1.5.tgz
+/ingo-3.2.0.tgz
diff --git a/php-horde-ingo.spec b/php-horde-ingo.spec
index b6bc489..0449868 100644
--- a/php-horde-ingo.spec
+++ b/php-horde-ingo.spec
@@ -11,11 +11,8 @@
 %global pear_name    ingo
 %global pear_channel pear.horde.org
 
-# TODO
-# Tests are not ready (need Framework 5.2)
-
 Name:           php-horde-ingo
-Version:        3.1.5
+Version:        3.2.0
 Release:        1%{?dist}
 Summary:        An email filter rules manager
 
@@ -30,6 +27,8 @@ BuildRequires:  php(language) >= 5.3.0
 BuildRequires:  php-pear(PEAR) >= 1.7.0
 BuildRequires:  php-channel(%{pear_channel})
 BuildRequires:  php-pear(%{pear_channel}/Horde_Role) >= 1.0.0
+BuildRequires:  php-pear(%{pear_channel}/Horde_Test) >= 2.1.0
+BuildRequires:  php-pear(%{pear_channel}/Horde_Core) >= 2.12.0
 
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
@@ -49,7 +48,7 @@ Requires:       php-pear(%{pear_channel}/Horde_Auth) >= 2.0.0
 Requires:       php-pear(%{pear_channel}/Horde_Auth) <  3.0.0
 Requires:       php-pear(%{pear_channel}/Horde_Autoloader) >= 2.0.0
 Requires:       php-pear(%{pear_channel}/Horde_Autoloader) <  3.0.0
-Requires:       php-pear(%{pear_channel}/Horde_Core) >= 2.0.0
+Requires:       php-pear(%{pear_channel}/Horde_Core) >= 2.12.0
 Requires:       php-pear(%{pear_channel}/Horde_Core) <  3.0.0
 Requires:       php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0
 Requires:       php-pear(%{pear_channel}/Horde_Exception) <  3.0.0
@@ -152,6 +151,15 @@ do
 done | tee ../%{pear_name}.lang
 
 
+%check
+src=$(pwd)/%{pear_name}-%{version}
+cd %{pear_name}-%{version}/test/Ingo
+phpunit\
+    --include-path=$src/lib \
+    -d date.timezone=UTC \
+    .
+
+
 %post
 %{__pear} install --nodeps --soft --force --register-only \
     %{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -174,6 +182,7 @@ fi
 %{_bindir}/ingo-convert-prefs-to-sql
 %{_bindir}/ingo-convert-sql-shares-to-sqlng
 %{_bindir}/ingo-postfix-policyd
+%{_bindir}/ingo-admin-upgrade
 %dir %{pear_hordedir}/%{pear_name}
 %dir %{pear_hordedir}/%{pear_name}/locale
 %{pear_hordedir}/%{pear_name}/*.php
@@ -183,10 +192,15 @@ fi
 %{pear_hordedir}/%{pear_name}/migration
 %{pear_hordedir}/%{pear_name}/templates
 %{pear_hordedir}/%{pear_name}/themes
-%{pear_datadir}/%{pear_name}
+%{pear_testdir}/ingo
 
 
 %changelog
+* Wed Jul 23 2014 Remi Collet <remi at fedoraproject.org> - 3.2.0-1
+- Update to 3.2.0
+- raise dep on Hode_Core
+- run test suite during build
+
 * Mon Jul 07 2014 Remi Collet <remi at fedoraproject.org> - 3.1.5-1
 - Update to 3.1.5
 
diff --git a/sources b/sources
index cb9c71b..e74f6f0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5d3e472587106454db2434d18b32ad52  ingo-3.1.5.tgz
+2ac44ea08a1d72f5b9b32a5a88a18832  ingo-3.2.0.tgz


More information about the scm-commits mailing list