From 736d48179c80d8f5a1dcf938edc17d45a3024812a635b7035da43077e1ce7344 Mon Sep 17 00:00:00 2001 From: Christian Kornacker Date: Thu, 12 Jun 2014 14:36:57 +0000 Subject: [PATCH 1/2] - fix %postun to not erroneously remove sss pam module OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=118 --- sssd.changes | 5 +++++ sssd.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/sssd.changes b/sssd.changes index d4077e6..29ced7e 100644 --- a/sssd.changes +++ b/sssd.changes @@ -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 diff --git a/sssd.spec b/sssd.spec index 5d1fa88..73c0380 100644 --- a/sssd.spec +++ b/sssd.spec @@ -371,13 +371,13 @@ rm -Rf "$b/usr/share/locale"/{fa_IR,ja_JP,lt_LT,ta_IN,vi_VN} %endif %postun +if [ "$1" == "0" ]; then + "%_sbindir/pam-config" -d --sss || :; +fi; /sbin/ldconfig %if 0%{?_unitdir:1} %service_del_postun sssd.service %endif -if [ "$1" == "0" ]; then - "%_sbindir/pam-config" -d --sss || :; -fi; %post -n libipa_hbac0 -p /sbin/ldconfig %postun -n libipa_hbac0 -p /sbin/ldconfig From ee17ce35bb125cb6235bb530139ca986dae95afe6982db0c33a0e2ccd05e9690 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 19 Jun 2014 16:20:11 +0000 Subject: [PATCH 2/2] Add keyring OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=119 --- sssd.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/sssd.spec b/sssd.spec index 73c0380..250c0c3 100644 --- a/sssd.spec +++ b/sssd.spec @@ -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 Source3: baselibs.conf Source4: sssd.service +Source5: %name.keyring BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch1: 0001-build-detect-endianness-at-configure-time.patch Patch2: 0001-BUILD-Link-libsss_ldap_common.so-to-libsss_idmap.so.patch