[php-horde-nag/f20] update to 4.1.5
Remi Collet
remi at fedoraproject.org
Tue Jul 8 12:31:20 UTC 2014
commit a978a5ceadcd4a33df2aefe745a9fdf4698d8491
Author: Remi Collet <remi at fedoraproject.org>
Date: Tue Jul 8 14:31:33 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 ae568d1..0a23d05 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: 3%{?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)
+
* Fri May 16 2014 Remi Collet <remi at fedoraproject.org> - 4.1.4-3
- preserve package.xml timestamp
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