diff options
-rw-r--r-- | contrib/sssd.spec.in | 4 | ||||
-rw-r--r-- | sss_client/Makefile.am | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index c79da9c9a..f652802da 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -183,6 +183,10 @@ if [ $1 -ge 1 ] ; then /sbin/service %{servicename} condrestart 2>&1 > /dev/null fi +%post client -p /sbin/ldconfig + +%postun client -p /sbin/ldconfig + %changelog * Mon Sep 28 2009 Sumit Bose <sbose@redhat.com> - 0.6.0-0 - New upstream release 0.6.0 diff --git a/sss_client/Makefile.am b/sss_client/Makefile.am index aeddab435..1332f4456 100644 --- a/sss_client/Makefile.am +++ b/sss_client/Makefile.am @@ -35,7 +35,7 @@ libnss_sss_la_SOURCES = \ sss_cli.h libnss_sss_la_LDFLAGS = \ -module \ - -avoid-version \ + -version-info 2:0:0 \ -Wl,--version-script,$(srcdir)/sss_nss.exports pam_sss_la_SOURCES = \ @@ -63,7 +63,9 @@ dist_noinst_DATA = \ m4 install-data-hook: - mv $(DESTDIR)/$(nsslibdir)/libnss_sss.so $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2 + rm $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2 \ + $(DESTDIR)/$(nsslibdir)/libnss_sss.so + mv $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2.0.0 $(DESTDIR)/$(nsslibdir)/libnss_sss.so.2 ############ # MANPAGES # |