From 8978f68f613493df05cbb918a3f881f52a7d882370d3248eff34b9ccccd5d10c Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 6 Apr 2018 11:18:21 +0000 Subject: [PATCH] Accepting request 593953 from home:adamm:branches:Base:System - %install_info: if we are going to fail, at least fail on install not on attempted upgrades or uninstall [bsc#1084997] OBS-URL: https://build.opensuse.org/request/show/593953 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=456 --- rpm-suse_macros | 5 +---- rpm.changes | 6 ++++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/rpm-suse_macros b/rpm-suse_macros index d681c28..7913bbd 100644 --- a/rpm-suse_macros +++ b/rpm-suse_macros @@ -222,11 +222,8 @@ # for %post %install_info(:-:) \ ALL_ARGS=(%{**}) \ - NUM_ARGS=${#ALL_ARGS[@]} \ if test -x /sbin/install-info ; then \ - if test -e "${ALL_ARGS[$((NUM_ARGS-1))]}" ; then \ - /sbin/install-info "${ALL_ARGS[@]}" \ - fi \ + /sbin/install-info "${ALL_ARGS[@]}" \ fi ; # for %preun diff --git a/rpm.changes b/rpm.changes index 6e973ea..da2f820 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 6 10:05:18 UTC 2018 - adam.majer@suse.de + +- %install_info: if we are going to fail, at least fail on install + not on attempted upgrades or uninstall [bsc#1084997] + ------------------------------------------------------------------- Tue Mar 27 14:31:28 CEST 2018 - mls@suse.de