From c69f596e5487506f2485a3924a62f55d8e3bac39 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:29:04 +0100 Subject: [PATCH] patch67: don't fail on postun, continue removing package [release 5.2.1-28mamba;Mon May 11 2015] --- rpm-5.2.1-dont-fail-on-postun.patch | 10 ++++++++++ rpm.spec | 7 ++++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 rpm-5.2.1-dont-fail-on-postun.patch diff --git a/rpm-5.2.1-dont-fail-on-postun.patch b/rpm-5.2.1-dont-fail-on-postun.patch new file mode 100644 index 0000000..890c7b0 --- /dev/null +++ b/rpm-5.2.1-dont-fail-on-postun.patch @@ -0,0 +1,10 @@ +--- rpm-5.2.1/lib/psm.c.orig 2015-05-11 00:17:27.762570935 +0200 ++++ rpm-5.2.1/lib/psm.c 2015-05-11 00:19:28.566779780 +0200 +@@ -2687,7 +2687,6 @@ + + if (!(rpmtsFlags(ts) & RPMTRANS_FLAG_NOPOSTUN)) { + rc = rpmpsmNext(psm, PSM_SCRIPT); +- if (rc) break; + } + + if (!(rpmtsFlags(ts) & RPMTRANS_FLAG_NOTRIGGERPOSTUN)) { diff --git a/rpm.spec b/rpm.spec index 4cd5e3b..f8e36ac 100644 --- a/rpm.spec +++ b/rpm.spec @@ -33,7 +33,7 @@ Name: rpm Version: 5.2.1 -Release: 27mamba +Release: 28mamba Summary: The RPM package management system Group: System/Management Vendor: openmamba @@ -102,6 +102,7 @@ Patch63: rpm-5.2.1-sourcepackage-rpm4.patch Patch64: rpm-5.2.1-build-from-tarball.patch Patch65: rpm-5.2.1-build-fix-arm.patch Patch66: rpm-5.2.1-find_lang_support_localized_qt_and_man_files.patch +Patch67: rpm-5.2.1-dont-fail-on-postun.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -307,6 +308,7 @@ This package should be installed if you want to develop Python programs that wil %patch64 -p1 %patch65 -p1 %patch66 -p1 +%patch67 -p1 mkdir platform-macros cd platform-macros @@ -628,6 +630,9 @@ fi %endif %changelog +* Mon May 11 2015 Silvan Calarco 5.2.1-28mamba +- patch67: don't fail on postun, continue removing package + * Tue Mar 31 2015 Davide Madrisan 5.2.1-27mamba - find-lang.sh: support Qt translation files and localized man pages