[php-horde-nag] update to 4.1.5

Remi Collet remi at fedoraproject.org
Tue Jul 8 12:30:12 UTC 2014


commit 2816c679ec13ecb6912ee9f877332d14b4a0cbc8
Author: Remi Collet <remi at fedoraproject.org>
Date:   Tue Jul 8 14:30:25 2014 +0200

    update to 4.1.5

 .gitignore         |    1 +
 php-horde-nag.spec |   24 +++++++++++++++++-------
 sources            |    2 +-
 3 files changed, 19 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7ce99a5..7302321 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /nag-4.1.4.tgz
+/nag-4.1.5.tgz
diff --git a/php-horde-nag.spec b/php-horde-nag.spec
index 4f981a1..62f1606 100644
--- a/php-horde-nag.spec
+++ b/php-horde-nag.spec
@@ -11,14 +11,9 @@
 %global pear_name    nag
 %global pear_channel pear.horde.org
 
-# TODO
-# Tests are not ready (need Framework 5.2)
-# config: provides one ?
-# "horde-nag" sub package with apache stuff
-
 Name:           php-horde-nag
-Version:        4.1.4
-Release:        4%{?dist}
+Version:        4.1.5
+Release:        1%{?dist}
 Summary:        A web based task list manager
 
 Group:          Development/Libraries
@@ -32,6 +27,7 @@ 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.6.1
 
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
@@ -170,6 +166,16 @@ do
 done | tee ../%{pear_name}.lang
 
 
+%check
+src=$(pwd)/%{pear_name}-%{version}
+cd %{pear_name}-%{version}/test/Nag
+
+phpunit \
+    --include-path=$src/lib \
+    -d date.timezone=UTC \
+    .
+
+
 %post
 %{__pear} install --nodeps --soft --force --register-only \
     %{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -209,6 +215,10 @@ fi
 
 
 %changelog
+* Mon Jul 07 2014 Remi Collet <remi at fedoraproject.org> - 4.1.5-1
+- Update to 4.1.5
+- run test suite during build (all ignored for now)
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.1.4-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index f80c932..5bf5188 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e386ff5437dacc562fb89f50dadee5db  nag-4.1.4.tgz
+8fc149fa689dd5116e768bb8cf3c2d9c  nag-4.1.5.tgz


More information about the scm-commits mailing list