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