summaryrefslogtreecommitdiffstats
path: root/sssd.spec
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2009-03-09 14:04:05 +0100
committerSimo Sorce <ssorce@redhat.com>2009-03-10 09:41:15 -0400
commite8222252d279d6a1caa2ba19c7eddf056a22fd3f (patch)
treed9f59aeba86811a8ca87b377d69621977911dd6c /sssd.spec
parentb8919e480b4ad25fa03fa3961043e6dcfa28991b (diff)
downloadsssd-e8222252d279d6a1caa2ba19c7eddf056a22fd3f.tar.gz
sssd-e8222252d279d6a1caa2ba19c7eddf056a22fd3f.tar.xz
sssd-e8222252d279d6a1caa2ba19c7eddf056a22fd3f.zip
Correct use of chkconfig in initscript and specfile
Review issues in specfile
Diffstat (limited to 'sssd.spec')
-rw-r--r--sssd.spec11
1 files changed, 6 insertions, 5 deletions
diff --git a/sssd.spec b/sssd.spec
index 156fcbae2..956f136e1 100644
--- a/sssd.spec
+++ b/sssd.spec
@@ -50,9 +50,7 @@ services for projects like FreeIPA.
# sssd
pushd server
./autogen.sh
-%configure --prefix=%{_usr} \
- --sysconfdir=%{_sysconfdir} \
- --without-tests \
+%configure --without-tests \
--without-policykit \
--with-infopipe \
--with-init-dir=%{_initrddir} \
@@ -91,17 +89,20 @@ rm -rf $RPM_BUILD_ROOT
%{_sbindir}/sss_usermod
%{_sbindir}/sss_groupadd
%{_sbindir}/sss_groupdel
+%{_sbindir}/sss_groupmod
%{_libexecdir}/%{servicename}/
%{_libdir}/%{name}/
%{_libdir}/ldb/memberof.so*
%{_sharedstatedir}/sss/
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freeipa.sssd.infopipe.conf
%{_datadir}/%{name}/introspect/infopipe/org.freeipa.sssd.infopipe.Introspect.xml
-/%{_lib}/libnss_sss.so.0.0.1
+/%{_lib}/libnss_sss.so
/%{_lib}/libnss_sss.so.2
/%{_lib}/security/pam_sss.so
-%post -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+/sbin/chkconfig --add %{servicename}
%preun
if [ $1 = 0 ]; then