SHA256
1
0
forked from jengelh/sssd

Accepting request 238107 from network:ldap

- fix %postun to not erroneously remove sss pam module

OBS-URL: https://build.opensuse.org/request/show/238107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sssd?expand=0&rev=56
This commit is contained in:
Stephan Kulow 2014-06-25 04:58:07 +00:00 committed by Git OBS Bridge
parent 99b86b9153
commit c59e17f411
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 12 14:18:30 UTC 2014 - ckornacker@suse.com
- fix %postun to not erroneously remove sss pam module
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 27 16:56:42 UTC 2014 - crrodriguez@opensuse.org Tue May 27 16:56:42 UTC 2014 - crrodriguez@opensuse.org

View File

@ -29,6 +29,7 @@ Source: https://fedorahosted.org/released/sssd/sssd-%version.tar.gz
Source2: https://fedorahosted.org/released/sssd/sssd-%version.tar.gz.asc Source2: https://fedorahosted.org/released/sssd/sssd-%version.tar.gz.asc
Source3: baselibs.conf Source3: baselibs.conf
Source4: sssd.service Source4: sssd.service
Source5: %name.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch1: 0001-build-detect-endianness-at-configure-time.patch Patch1: 0001-build-detect-endianness-at-configure-time.patch
Patch2: 0001-BUILD-Link-libsss_ldap_common.so-to-libsss_idmap.so.patch Patch2: 0001-BUILD-Link-libsss_ldap_common.so-to-libsss_idmap.so.patch
@ -371,13 +372,13 @@ rm -Rf "$b/usr/share/locale"/{fa_IR,ja_JP,lt_LT,ta_IN,vi_VN}
%endif %endif
%postun %postun
if [ "$1" == "0" ]; then
"%_sbindir/pam-config" -d --sss || :;
fi;
/sbin/ldconfig /sbin/ldconfig
%if 0%{?_unitdir:1} %if 0%{?_unitdir:1}
%service_del_postun sssd.service %service_del_postun sssd.service
%endif %endif
if [ "$1" == "0" ]; then
"%_sbindir/pam-config" -d --sss || :;
fi;
%post -n libipa_hbac0 -p /sbin/ldconfig %post -n libipa_hbac0 -p /sbin/ldconfig
%postun -n libipa_hbac0 -p /sbin/ldconfig %postun -n libipa_hbac0 -p /sbin/ldconfig