From 450b4cd403f27ec1f21a58f635685b7f3b25d941 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 20 Jul 2009 14:12:43 -0400 Subject: [PATCH] Explicitly use /var/lib in the sssd.spec The source code currently hardcodes the path to /var/lib, but the sssd.spec relies on the value of %{_sharedstatedir}. This is broken on systems like RHEL5 where %{_sharedstatedir} resolves to /usr/com --- sssd.spec.in | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sssd.spec.in b/sssd.spec.in index fcdf0d0..d2716ff 100644 --- a/sssd.spec.in +++ b/sssd.spec.in @@ -99,10 +99,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/%{name}/ %{_libdir}/ldb/memberof.so %{_libdir}/krb5/plugins/libkrb5/* -%dir %{_sharedstatedir}/sss/ -%attr(700,root,root) %dir %{_sharedstatedir}/sss/db -%dir %{_sharedstatedir}/sss/pipes -%attr(700,root,root) %dir %{_sharedstatedir}/sss/pipes/private +%dir /var/lib/sss/ +%attr(700,root,root) %dir /var/lib/sss/db +%dir /var/lib/sss/pipes +%attr(700,root,root) %dir /var/lib/sss/pipes/private %dir %{_sysconfdir}/sssd %config(noreplace) %{_sysconfdir}/sssd/sssd.conf /%{_lib}/libnss_sss.so.2 -- 1.6.2.5