summaryrefslogtreecommitdiffstats
path: root/contrib/sssd.spec.in
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2012-11-12 13:00:45 -0500
committerJakub Hrozek <jhrozek@redhat.com>2012-11-22 16:58:57 +0100
commit287e76479d68db4134274d4a4fca5fe0fbc9a605 (patch)
treeb89875d4c2579f0eb62117927cfcedeef9a78359 /contrib/sssd.spec.in
parent4eafef4572f4e5ff6b589c80db0b9417724f229f (diff)
downloadsssd-287e76479d68db4134274d4a4fca5fe0fbc9a605.tar.gz
sssd-287e76479d68db4134274d4a4fca5fe0fbc9a605.tar.xz
sssd-287e76479d68db4134274d4a4fca5fe0fbc9a605.zip
Fix errors reported by rpmlint
Diffstat (limited to 'contrib/sssd.spec.in')
-rw-r--r--contrib/sssd.spec.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 45f6e1ffe..32907b115 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -35,7 +35,7 @@
%global enable_experimental 1
%if (0%{?enable_experimental} == 1)
-%global experimental --enable-all-experimental-features
+ %global experimental --enable-all-experimental-features
%endif
# Determine the location of the LDB modules directory
@@ -62,7 +62,6 @@ Requires: sssd-client%{?_isa} = %{version}-%{release}
Requires: libipa_hbac = %{version}-%{release}
Requires: libsss_idmap = %{version}-%{release}
Requires: cyrus-sasl-gssapi
-Requires: keyutils-libs
%if (0%{?use_systemd} == 1)
Requires(post): systemd-units systemd-sysv
Requires(preun): systemd-units
@@ -265,9 +264,9 @@ autoreconf -ivf
--enable-pammoddir=/%{_lib}/security \
--disable-static \
--disable-rpath \
- %{with_ccache} \
+ %{?with_ccache} \
%{with_initscript} \
- %{experimental}
+ %{?experimental}
make %{?_smp_mflags} all
@@ -341,7 +340,7 @@ do
esac
done
-# Old versions of rpmbuild require %ghost files to be present in the buildroot
+# Old versions of rpmbuild require ghost files to be present in the buildroot
mkdir -p $RPM_BUILD_ROOT/%{mcpath}
touch $RPM_BUILD_ROOT/%{mcpath}/passwd
touch $RPM_BUILD_ROOT/%{mcpath}/group