diff --git a/krb5-mini.changes b/krb5-mini.changes index 7f1fb2f..7d147d2 100644 --- a/krb5-mini.changes +++ b/krb5-mini.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 16 12:05:00 UTC 2012 - coolo@suse.com + +- buildrequire systemd by pkgconfig provide to get systemd-mini + ------------------------------------------------------------------- Sat Oct 13 16:50:59 UTC 2012 - coolo@suse.com diff --git a/krb5-mini.spec b/krb5-mini.spec index c01aa14..55d27a7 100644 --- a/krb5-mini.spec +++ b/krb5-mini.spec @@ -40,7 +40,7 @@ BuildRequires: libopenssl-devel BuildRequires: openldap2-devel BuildRequires: pam-devel %if 0%{?suse_version} >= 1210 -BuildRequires: systemd +BuildRequires: pkgconfig(systemd) %endif # bug437293 %ifarch ppc64 diff --git a/krb5.changes b/krb5.changes index 7f1fb2f..c9a1734 100644 --- a/krb5.changes +++ b/krb5.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Oct 16 19:35:47 UTC 2012 - coolo@suse.com + +- revert the -p usage in %postun to fix SLE build + +------------------------------------------------------------------- +Tue Oct 16 12:05:00 UTC 2012 - coolo@suse.com + +- buildrequire systemd by pkgconfig provide to get systemd-mini + ------------------------------------------------------------------- Sat Oct 13 16:50:59 UTC 2012 - coolo@suse.com diff --git a/krb5.spec b/krb5.spec index af64b6f..c74625d 100644 --- a/krb5.spec +++ b/krb5.spec @@ -40,7 +40,7 @@ BuildRequires: libopenssl-devel BuildRequires: openldap2-devel BuildRequires: pam-devel %if 0%{?suse_version} >= 1210 -BuildRequires: systemd +BuildRequires: pkgconfig(systemd) %endif # bug437293 %ifarch ppc64 @@ -282,7 +282,8 @@ rm -rf %{buildroot}/usr/lib/mit/share %post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun +/sbin/ldconfig %if ! %{build_mini} @@ -324,7 +325,8 @@ rm -rf %{buildroot}/usr/lib/mit/share %post plugin-kdb-ldap -p /sbin/ldconfig -%postun plugin-kdb-ldap -p /sbin/ldconfig +%postun plugin-kdb-ldap +/sbin/ldconfig %endif