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 17:02:43 +0100
commit144031bf3e7c0c89197517477625d7c48e6d9850 (patch)
treee9a8abac55516ce7b3c222262bc0e6f12a571f97 /contrib/sssd.spec.in
parent0d1c4aa18e2e31bf374f05002c49f7ec99e88536 (diff)
downloadsssd-144031bf3e7c0c89197517477625d7c48e6d9850.tar.gz
sssd-144031bf3e7c0c89197517477625d7c48e6d9850.tar.xz
sssd-144031bf3e7c0c89197517477625d7c48e6d9850.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 339ddc42f..06f7ca19e 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