diff --git a/.files b/.files index 3fcbd15..668e35f 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 3ee6f7b..0775fc8 100644 --- a/.rev +++ b/.rev @@ -2345,4 +2345,12 @@ See bugzilla 1167537 for the gory details. this comes from rpm-config-SUSE now 973837 + + 14db4561d0a29a85c550b1c2135e9c94 + 4.17.0 + + dimstar_suse + Automatic submission by obs-autosubmit + 984473 + diff --git a/enable-postin-scripts-error.diff b/enable-postin-scripts-error.diff index 4672a15..de22a68 100644 --- a/enable-postin-scripts-error.diff +++ b/enable-postin-scripts-error.diff @@ -1,6 +1,6 @@ ---- ./lib/rpmscript.c.orig 2019-10-02 12:19:15.694519983 +0000 -+++ ./lib/rpmscript.c 2019-10-02 12:22:32.838112185 +0000 -@@ -411,7 +411,7 @@ rpmRC rpmScriptRun(rpmScript script, int +--- ./lib/rpmscript.c ++++ ./lib/rpmscript.c +@@ -390,7 +390,7 @@ rpmRC rpmScriptRun(rpmScript script, int if (script == NULL) return RPMRC_OK; ARGV_t args = NULL; @@ -9,7 +9,7 @@ RPMLOG_ERR : RPMLOG_WARNING; rpmRC rc; int script_type = RPMSCRIPTLET_FORK | RPMSCRIPTLET_EXEC; -@@ -654,5 +654,8 @@ rpmscriptTypes rpmScriptType(rpmScript s +@@ -637,5 +637,8 @@ rpmscriptTypes rpmScriptType(rpmScript s rpmscriptFlags rpmScriptFlags(rpmScript script) { @@ -19,13 +19,13 @@ + flags |= RPMSCRIPT_FLAG_CRITICAL; + return flags; } ---- ./macros.in.orig 2019-10-02 12:12:13.027399050 +0000 -+++ ./macros.in 2019-10-02 12:12:19.799384783 +0000 -@@ -1318,5 +1318,10 @@ end} - %requires_eq() %(echo '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") - %requires_ge() %(echo '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") +--- ./macros.in ++++ ./macros.in +@@ -1293,5 +1293,10 @@ end + %{expand:%__scm_setup_%{__scm} %{!-v:-q}}\ + %{!-N:%autopatch %{-v} %{-p:-p%{-p*}}} -+# Should errors in %post scriptlet be propagated as errors? ++# Should errors in %post scriptlet be propagated as errors? +# +# Note: set to 1 for legacy compatibility. +%_fail_on_postinstall_errors 0 diff --git a/requires-ge-macro.diff b/requires-ge-macro.diff deleted file mode 100644 index 7c75588..0000000 --- a/requires-ge-macro.diff +++ /dev/null @@ -1,12 +0,0 @@ ---- ./macros.in.orig 2019-10-02 11:33:19.956358174 +0000 -+++ ./macros.in 2019-10-02 11:35:01.496144862 +0000 -@@ -1312,5 +1312,9 @@ end} - %{expand:%__scm_setup_%{__scm} %{!-v:-q}}\ - %{!-N:%autopatch %{-v} %{-p:-p%{-p*}}} - -+# XXX: to be moved to rpm-config-SUSE -+%requires_eq() %(echo '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") -+%requires_ge() %(echo '%*' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %%{name} >= %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") -+ - # \endverbatim - #*/ diff --git a/rpm.changes b/rpm.changes index 743fefe..85ec17e 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue May 31 19:58:07 UTC 2022 - Dirk Müller + +- drop requires-ge-macro.diff: this is already in rpm-config-SUSE +- enable-postin-scripts-error.diff: refresh + +------------------------------------------------------------------- Thu Apr 21 13:39:58 UTC 2022 - Dirk Müller - update rpm-shorten-changelog.diff: fix shortening of changelog, diff --git a/rpm.spec b/rpm.spec index e270626..be10353 100644 --- a/rpm.spec +++ b/rpm.spec @@ -90,7 +90,6 @@ Patch38: build.diff Patch43: rpm-shorten-changelog.diff Patch45: whatrequires-doc.diff Patch46: remove-brp-strips.diff -Patch47: requires-ge-macro.diff Patch51: specfilemacro.diff Patch60: safeugid.diff Patch61: noprereqdeprec.diff @@ -238,7 +237,7 @@ rm -rf sqlite %patch -P 5 -P 12 -P 13 -P 16 -P 18 %patch -P 24 -P 25 -P 26 -P 29 %patch -P 30 -P 32 -P 33 -P 34 -P 36 -P 38 -%patch -P 43 -P 45 -P 46 -P 47 +%patch -P 43 -P 45 -P 46 %patch -P 51 %patch -P 60 -P 61 -P 66 -P 67 -P 69 %patch -P 70 -P 71 -P 73 -P 77 -P 78 -P 79