summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-02 09:33:53 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-02 09:33:53 +0100
commit90722501dccca461d9cc531b2848e5707b42050d (patch)
treee6d08cabe22985a22ed4db2661d115ac9be6777f
parentfbf22800d5f7b0693156454e505424202a03a95c (diff)
php-horde-Horde-Auth: run test during build
-rw-r--r--php-horde-Horde-Auth.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-horde-Horde-Auth.spec b/php-horde-Horde-Auth.spec
index 7de7b2d..a6da6b9 100644
--- a/php-horde-Horde-Auth.spec
+++ b/php-horde-Horde-Auth.spec
@@ -5,7 +5,7 @@
Name: php-horde-Horde-Auth
Version: 2.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Horde Authentication API
Group: Development/Libraries
@@ -20,6 +20,9 @@ BuildArch: noarch
BuildRequires: php-pear
BuildRequires: php-channel(%{pear_channel})
BuildRequires: gettext
+# To run unit tests
+BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.0.0
+BuildRequires: php-pear(%{pear_channel}/Horde_Db) >= 2.0.0
Requires(post): %{__pear}
Requires(postun): %{__pear}
@@ -81,7 +84,7 @@ sh %{SOURCE1} %{buildroot} %{pear_name}
%check
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:)
-# need Horde_Db phpunit AllTests.php
+phpunit AllTests.php
%post
@@ -111,6 +114,9 @@ fi
%changelog
+* Fri Nov 2 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.0.0-2
+- run test during build
+
* Thu Nov 1 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.0.0-1
- Update to 2.0.0 for remi repo