summaryrefslogtreecommitdiffstats
path: root/pykolab.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab.spec.in')
-rw-r--r--pykolab.spec.in4
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}