From 5efb1da1ac4ce1fb89808323e9baa4fd180ac066 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 29 Sep 2018 09:51:45 +0200 Subject: [PATCH] fixup export-libs macro logic 1 /sbin/ldconfig: relative path `1' used to build cache 2 warning: %postun(bind-export-libs-32:9.11.4-6.P1.fc29.x86_64) scriptlet failed, exit status 1 The reason for that is that macro defined below becomes part of export-libs subpackage. %end will terminate post/postun immediately without such side-effect. Signed-off-by: Igor Gnatenko --- bind.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bind.spec b/bind.spec index 1b3fe43..591ba0f 100644 --- a/bind.spec +++ b/bind.spec @@ -52,7 +52,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv Name: bind License: MPLv2.0 Version: 9.11.4 -Release: 10%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist} +Release: 11%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist} Epoch: 32 Url: http://www.isc.org/products/BIND/ # @@ -1045,8 +1045,10 @@ fi %if %{with EXPORT_LIBS} %post export-libs -p /sbin/ldconfig +%end %postun export-libs -p /sbin/ldconfig +%end %endif # Fix permissions on existing device files on upgrade @@ -1437,6 +1439,9 @@ rm -rf ${RPM_BUILD_ROOT} %changelog +* Sat Sep 29 2018 Igor Gnatenko - 32:9.11.4-11.P2 +- Fix export-libs macro & scriptlet + * Wed Sep 26 2018 Petr Menšík - 32:9.11.4-10.P2 - Reenable IDN output but allow turning it off (#1580200)