From 9648f071fd44f01caf452adaa271015ae3679a208d5c990239e58ee4496a3639 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 12 Nov 2018 14:27:31 +0000 Subject: [PATCH] - Emergency fix: move tmpfiles_create post from the library package to the main package's post script, which ships the tmpfiles.d configuration. Fixes the post script of the library (-p /sbin/ldconfig does not allow more statements in the script). OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openldap2?expand=0&rev=140 --- openldap2.changes | 8 ++++++++ openldap2.spec | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/openldap2.changes b/openldap2.changes index aa4aa8d..190ebad 100644 --- a/openldap2.changes +++ b/openldap2.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Nov 12 14:25:52 UTC 2018 - Dominique Leuenberger + +- Emergency fix: move tmpfiles_create post from the library package + to the main package's post script, which ships the tmpfiles.d + configuration. Fixes the post script of the library (-p + /sbin/ldconfig does not allow more statements in the script). + ------------------------------------------------------------------- Thu Nov 8 15:25:08 UTC 2018 - varkoly@suse.com diff --git a/openldap2.spec b/openldap2.spec index fb5fab3..64b365b 100644 --- a/openldap2.spec +++ b/openldap2.spec @@ -458,10 +458,10 @@ if [ ${1:-0} -gt 1 ] && [ ! -f /var/adm/openldap_modules_path_updated ] ; then /usr/sbin/openldap_update_modules_path.sh fi %{fillup_only -n openldap ldap} +%tmpfiles_create openldap.conf %service_add_post slapd.service %post -n libldap-2_4-2 -p /sbin/ldconfig -%tmpfiles_create openldap.conf %postun -n libldap-2_4-2 -p /sbin/ldconfig