summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/sssd.spec.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index db1c0bc1e..95c6a11a4 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -68,6 +68,7 @@ BuildRequires: docbook-style-xsl
BuildRequires: krb5-devel
BuildRequires: c-ares-devel
BuildRequires: python-devel
+BuildRequires: check-devel
%description
Provides a set of daemons to manage access to remote directories and
@@ -194,7 +195,6 @@ A dynamically-growing, reference-counted array
NSS_LIBS=-lnss3 \
KRB5_LIBS=-lkrb5 \
%configure \
- --without-tests \
--with-db-path=%{dbpath} \
--with-pipe-path=%{pipepath} \
--with-pubconf-path=%{pubconfpath} \
@@ -205,6 +205,9 @@ KRB5_LIBS=-lkrb5 \
make %{?_smp_mflags}
+%check
+make %{?_smp_mflags} check
+
%install
rm -rf $RPM_BUILD_ROOT