diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-05-23 14:20:36 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-05-23 14:20:36 +0100 |
commit | aef76ccc531c579737c1276ce3c9672f3aeecb4e (patch) | |
tree | b19b0a0fd6a1c0f2125e03d8282f0b8b8b400cf2 | |
parent | fbd202c47d4891b189de7218c6f89f39cab2bd43 (diff) | |
download | pykolab-aef76ccc531c579737c1276ce3c9672f3aeecb4e.tar.gz |
Add build requirement for python-nose and execute tests in %check
-rw-r--r-- | pykolab.spec.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pykolab.spec.in b/pykolab.spec.in index fed123a..af6c0e0 100644 --- a/pykolab.spec.in +++ b/pykolab.spec.in @@ -25,6 +25,7 @@ URL: http://kolab.org/ Source0: http://files.kolab.org/releases/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch +BuildRequires: python-nose Requires: kolab-cli = %{version}-%{release} Requires: python-ldap >= 2.4 Requires(pre): /usr/sbin/useradd @@ -256,6 +257,9 @@ if [ $1 = 0 ]; then %endif fi +%check +nosetests -v tests/ + %clean rm -rf %{buildroot} |