summaryrefslogtreecommitdiffstats
path: root/contrib/sssd.spec.in
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-07-27 14:44:24 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-10 13:56:08 +0200
commit428db8a58c0c149d5efccc6d788f70916c1d34d7 (patch)
tree531147790cdabf2d81b56915bed7e3e29d878efe /contrib/sssd.spec.in
parent40b2be4f4312470044cdef460b02b66003f5c85f (diff)
downloadsssd-428db8a58c0c149d5efccc6d788f70916c1d34d7.tar.gz
sssd-428db8a58c0c149d5efccc6d788f70916c1d34d7.tar.xz
sssd-428db8a58c0c149d5efccc6d788f70916c1d34d7.zip
TESTS: Add a test to change user IDs
Adds a unit test using the nss_wrapper and uid_wrapper libraries that exercises the ability to become another user. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'contrib/sssd.spec.in')
-rw-r--r--contrib/sssd.spec.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 611730c19..529304205 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -114,6 +114,10 @@ BuildRequires: selinux-policy-targeted
%if 0%{?fedora}
BuildRequires: libcmocka-devel
%endif
+%if (0%{?fedora} >= 20)
+BuildRequires: uid_wrapper
+BuildRequires: nss_wrapper
+%endif
%if (0%{?fedora} || 0%{?rhel} >= 7)
BuildRequires: libnl3-devel
%else