public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python3-rpm] epel10.3: Merge c10s into epel10
@ 2026-11-16 11:10
0 siblings, 0 replies; 3+ messages in thread
From: @ 2026-11-16 11:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python3-rpm
Branch : epel10.3
Commit : 9dc09aea92d693002c5d664e12a312218ba8d75f
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-11-03T15:55:35+01:00
Stats : +2221/-1518 in 15 file(s)
URL : https://src.fedoraproject.org/rpms/python3-rpm/c/9dc09aea92d693002c5d664e12a312218ba8d75f?branch=epel10.3
Log:
Merge c10s into epel10
---
diff --git a/0001-Add-a-variable-argument-list-to-rpopen.patch b/0001-Add-a-variable-argument-list-to-rpopen.patch
new file mode 100644
index 0000000..0710ea0
--- /dev/null
+++ b/0001-Add-a-variable-argument-list-to-rpopen.patch
@@ -0,0 +1,96 @@
+From 6edebd240f546525762887df73f4e1e05a896ede Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Thu, 22 Oct 2026 09:11:51 +0200
+Subject: [PATCH 1/5] Add a variable argument list to rpopen()
+
+Accept multiple positional arguments for the shell instead of just one.
+This will be needed in the next commits.
+
+No functional change.
+
+(cherry picked from commit e7a086a8e203f123fbd37ead9b52188d1302ce0e)
+---
+ tools/cliutils.c | 9 +++++++--
+ tools/cliutils.h | 7 ++++---
+ tools/rpmbuild.c | 2 +-
+ tools/rpmuncompress.c | 2 +-
+ 4 files changed, 13 insertions(+), 7 deletions(-)
+
+diff --git a/tools/cliutils.c b/tools/cliutils.c
+index 3be9b7233..bf135ba40 100644
+--- a/tools/cliutils.c
++++ b/tools/cliutils.c
+@@ -84,10 +84,11 @@ int finishPipe(void)
+ return rc;
+ }
+
+-FILE* rpopen(const char *cmd, const char *arg)
++FILE* rpopen(const char *cmd, const char *arg, ...)
+ {
+ FILE *stream = NULL;
+ ARGV_t argv = NULL;
++ va_list ap;
+ int pipefd[2];
+ pid_t pid;
+
+@@ -98,7 +99,11 @@ FILE* rpopen(const char *cmd, const char *arg)
+ argvAdd(&argv, "-c");
+ argvAdd(&argv, cmd);
+ argvAdd(&argv, "sh");
+- argvAdd(&argv, arg);
++
++ va_start(ap, arg);
++ for (const char *s = arg; s != NULL; s = va_arg(ap, const char *))
++ argvAdd(&argv, s);
++ va_end(ap);
+
+ if ((pid = fork()) == 0) {
+ dup2(pipefd[1], STDOUT_FILENO);
+diff --git a/tools/cliutils.h b/tools/cliutils.h
+index cda4bebdf..4aee1ae72 100644
+--- a/tools/cliutils.h
++++ b/tools/cliutils.h
+@@ -23,10 +23,11 @@ int initPipe(void);
+ int finishPipe(void);
+
+ /*
+- * A safe, read-only variant of popen(3) that passes untrusted input (arg) as a
+- * positional argument to sh(1) where the command (cmd) can read it via $1.
++ * A safe, read-only variant of popen(3) that passes untrusted input (args) as
++ * positional arguments to sh(1) where the command (cmd) can read them via $1,
++ * $2, and so on.
+ */
+-FILE *rpopen(const char *cmd, const char *arg);
++FILE *rpopen(const char *cmd, const char *arg, ...) RPM_GNUC_NULL_TERMINATED;
+ int rpclose(FILE *stream);
+
+ #endif /* _CLIUTIL_H */
+diff --git a/tools/rpmbuild.c b/tools/rpmbuild.c
+index c5fbb085b..5074d61a7 100644
+--- a/tools/rpmbuild.c
++++ b/tools/rpmbuild.c
+@@ -388,7 +388,7 @@ static char * getTarSpec(const char *arg)
+ "%{__tar} xOvof - --wildcards ", *spec,
+ " 2>&1 > ", specFile, NULL);
+
+- if (!(fp = rpopen(cmd, arg))) {
++ if (!(fp = rpopen(cmd, arg, NULL))) {
+ rpmlog(RPMLOG_ERR, _("Failed to open tar pipe: %m\n"));
+ } else {
+ char *fok;
+diff --git a/tools/rpmuncompress.c b/tools/rpmuncompress.c
+index c0a4908ea..8b60c718d 100644
+--- a/tools/rpmuncompress.c
++++ b/tools/rpmuncompress.c
+@@ -280,7 +280,7 @@ int main(int argc, char *argv[])
+ goto exit;
+ }
+
+- inp = rpopen(cmd, arg);
++ inp = rpopen(cmd, arg, NULL);
+ if (inp) {
+ int status, c;
+ while ((c = fgetc(inp)) != EOF)
+--
+2.56.0
+
diff --git a/0001-Fix-missing-quotes-in-doUncompress.patch b/0001-Fix-missing-quotes-in-doUncompress.patch
new file mode 100644
index 0000000..8e16482
--- /dev/null
+++ b/0001-Fix-missing-quotes-in-doUncompress.patch
@@ -0,0 +1,33 @@
+From 6486089ef52a3734aa81a833bfcb5ee367d52231 Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Mon, 14 Sep 2026 16:58:04 +0200
+Subject: [PATCH 1/4] Fix missing quotes in doUncompress()
+
+Escape the filename in single quotes like we already do in doUntar(), to
+fix the default (non-extraction) mode of operation in rpmuncompress for
+filenames with spaces and/or metacharacters in them.
+
+Add a test, and adjust the existing ones that use --dry-run since the
+output now contains a quoted argument.
+
+(backported from commit 503f4c9fcafb1999b1d200613425087ef40ad548)
+---
+ tools/rpmuncompress.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tools/rpmuncompress.c b/tools/rpmuncompress.c
+index 7233e4bb9..245d86ed9 100644
+--- a/tools/rpmuncompress.c
++++ b/tools/rpmuncompress.c
+@@ -82,7 +82,7 @@ static char *doUncompress(const char *fn)
+ cmd = rpmExpand(at->setTZ ? "TZ=UTC " : "",
+ at->cmd, " ", at->unpack, NULL);
+ /* path must not be expanded */
+- cmd = rstrscat(&cmd, " ", fn, NULL);
++ cmd = rstrscat(&cmd, " '", fn, "'", NULL);
+ }
+ return cmd;
+ }
+--
+2.56.0
+
diff --git a/0001-Prevent-macro-injection-via-.gem-filenames.patch b/0001-Prevent-macro-injection-via-.gem-filenames.patch
new file mode 100644
index 0000000..7f64116
--- /dev/null
+++ b/0001-Prevent-macro-injection-via-.gem-filenames.patch
@@ -0,0 +1,45 @@
+From b2882f8d603b4f3dc34add68eeff296d3d0a1c3a Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Wed, 21 Oct 2026 13:43:03 +0200
+Subject: [PATCH] Prevent macro injection via .gem filenames
+
+When unpacking a GEM archive, its basename gets macro-expanded via
+rpmGetPath(), which allows for RPM macro injection via a crafted
+filename.
+
+Fix that by appending the .gemspec suffix in the subsequent rasprintf()
+call instead of using rpmGetPath() for it.
+
+Enable the respective test as well.
+
+Fixes: CVE-2026-84233
+---
+ tools/rpmuncompress.c | 7 ++-----
+ 1 file changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/tools/rpmuncompress.c b/tools/rpmuncompress.c
+index e555e0dd7..c0a4908ea 100644
+--- a/tools/rpmuncompress.c
++++ b/tools/rpmuncompress.c
+@@ -211,16 +211,13 @@ static char *doUntar(archiveType *at, int sr, const char *fn, const char *arg)
+ const char *bn = basename(tmp);
+ size_t nvlen = strlen(bn) - 3;
+ char *gem = rpmGetPath("%{__gem}", NULL);
+- char *gemspec = NULL;
+ char gemnameversion[nvlen];
+
+ rstrlcpy(gemnameversion, bn, nvlen);
+- gemspec = rpmGetPath("", gemnameversion, ".gemspec", NULL);
+
+- rasprintf(&buf, "%s %s && %s spec %s --ruby > '%s'",
+- zipper, arg, gem, arg, gemspec);
++ rasprintf(&buf, "%s %s && %s spec %s --ruby > '%s.gemspec'",
++ zipper, arg, gem, arg, gemnameversion);
+
+- free(gemspec);
+ free(gem);
+ free(tmp);
+ } else {
+--
+2.56.0
+
diff --git a/0002-Define-a-nicer-alias-for-the-archiveType-struct.patch b/0002-Define-a-nicer-alias-for-the-archiveType-struct.patch
new file mode 100644
index 0000000..9b55bfc
--- /dev/null
+++ b/0002-Define-a-nicer-alias-for-the-archiveType-struct.patch
@@ -0,0 +1,77 @@
+From f2fe515e29b97cdcf7f03b06220982171105dd30 Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Fri, 25 Sep 2026 13:16:13 +0200
+Subject: [PATCH 2/4] Define a nicer alias for the archiveType struct
+
+We are going to use this type in a quite bit more places in the next
+commits, so make it shorter.
+
+No functional change.
+
+(cherry picked from commit 8d532fe23f37d23cff30b514ca40ff232410787a)
+---
+ tools/rpmuncompress.c | 16 +++++++++-------
+ 1 file changed, 9 insertions(+), 7 deletions(-)
+
+diff --git a/tools/rpmuncompress.c b/tools/rpmuncompress.c
+index 245d86ed9..d355b736d 100644
+--- a/tools/rpmuncompress.c
++++ b/tools/rpmuncompress.c
+@@ -34,7 +34,7 @@ static struct poptOption optionsTable[] = {
+ POPT_TABLEEND
+ };
+
+-struct archiveType_s {
++typedef const struct archiveType_s {
+ int compressed;
+ int extractable;
+ const char *cmd;
+@@ -42,7 +42,9 @@ struct archiveType_s {
+ const char *quiet;
+ const char *dest;
+ int setTZ;
+-} archiveTypes[] = {
++} archiveType;
++
++static archiveType const archiveTypes[] = {
+ { COMPRESSED_NOT, 0, "%{__cat}" , "", "", "", 0 },
+ { COMPRESSED_OTHER, 0, "%{__gzip}", "-dc", "", "", 0 },
+ { COMPRESSED_BZIP2, 0, "%{__bzip2}", "-dc", "", "", 0 },
+@@ -57,13 +59,13 @@ struct archiveType_s {
+ { -1, 0, NULL, NULL, NULL, 0 },
+ };
+
+-static const struct archiveType_s *getArchiver(const char *fn)
++static archiveType *getArchiver(const char *fn)
+ {
+- const struct archiveType_s *archiver = NULL;
++ archiveType *archiver = NULL;
+ rpmCompressedMagic compressed = COMPRESSED_NOT;
+
+ if (rpmFileIsCompressed(fn, &compressed) == 0) {
+- for (const struct archiveType_s *at = archiveTypes; at->cmd; at++) {
++ for (archiveType *at = archiveTypes; at->cmd; at++) {
+ if (compressed == at->compressed) {
+ archiver = at;
+ break;
+@@ -77,7 +79,7 @@ static const struct archiveType_s *getArchiver(const char *fn)
+ static char *doUncompress(const char *fn)
+ {
+ char *cmd = NULL;
+- const struct archiveType_s *at = getArchiver(fn);
++ archiveType *at = getArchiver(fn);
+ if (at) {
+ cmd = rpmExpand(at->setTZ ? "TZ=UTC " : "",
+ at->cmd, " ", at->unpack, NULL);
+@@ -152,7 +154,7 @@ afree:
+
+ static char *doUntar(const char *fn)
+ {
+- const struct archiveType_s *at = NULL;
++ archiveType *at = NULL;
+ char *buf = NULL;
+ char *tar = NULL;
+ const char *taropts = verbose ? "-xvvof" : "-xof";
+--
+2.56.0
+
diff --git a/0002-Let-callers-pass-the-basename-to-doUntar.patch b/0002-Let-callers-pass-the-basename-to-doUntar.patch
new file mode 100644
index 0000000..49572d3
--- /dev/null
+++ b/0002-Let-callers-pass-the-basename-to-doUntar.patch
@@ -0,0 +1,110 @@
+From 254716f8dbf1200bc75133417cc704efdc55f0d6 Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Thu, 22 Oct 2026 09:53:55 +0200
+Subject: [PATCH 2/5] Let callers pass the basename to doUntar()
+
+No functional change, just preparing the ground for the next commits.
+
+Backported from commit 41f53717ec4c3e16ab6fb18d032d17fcfcb97781:
+
+Add a plain C variant of std::filesystem::path::stem() that allocates
+the basename on the heap, for consistency with the surrounding code.
+---
+ tools/rpmuncompress.c | 32 +++++++++++++++++++++-----------
+ 1 file changed, 21 insertions(+), 11 deletions(-)
+
+diff --git a/tools/rpmuncompress.c b/tools/rpmuncompress.c
+index 8b60c718d..923e66db2 100644
+--- a/tools/rpmuncompress.c
++++ b/tools/rpmuncompress.c
+@@ -152,7 +152,7 @@ afree:
+ return ret;
+ }
+
+-static char *doUntar(archiveType *at, int sr, const char *fn, const char *arg)
++static char *doUntar(archiveType *at, int sr, const char *bn, const char *arg)
+ {
+ char *buf = NULL;
+ char *tar = NULL;
+@@ -207,19 +207,12 @@ static char *doUntar(archiveType *at, int sr, const char *fn, const char *arg)
+ if (needtar) {
+ rasprintf(&buf, "%s %s %s | %s %s - %s", mkdir, zipper, arg, tar, taropts, stripcd);
+ } else if (at->compressed == COMPRESSED_GEM) {
+- char *tmp = xstrdup(fn);
+- const char *bn = basename(tmp);
+- size_t nvlen = strlen(bn) - 3;
+ char *gem = rpmGetPath("%{__gem}", NULL);
+- char gemnameversion[nvlen];
+-
+- rstrlcpy(gemnameversion, bn, nvlen);
+
+ rasprintf(&buf, "%s %s && %s spec %s --ruby > '%s.gemspec'",
+- zipper, arg, gem, arg, gemnameversion);
++ zipper, arg, gem, arg, bn);
+
+ free(gem);
+- free(tmp);
+ } else {
+ rasprintf(&buf, "%s%s %s %s", mkdir, zipper, arg, stripcd);
+ }
+@@ -235,12 +228,27 @@ exit:
+ return buf;
+ }
+
++/* Return the basename of the given filename, stripped of its suffix. */
++static char *getStem(const char *fn)
++{
++ char *tmp = xstrdup(fn);
++ const char *bn = basename(tmp);
++ size_t stemlen = strlen(bn) - 3;
++ char *stem = xmalloc(stemlen);
++
++ rstrlcpy(stem, bn, stemlen);
++ free(tmp);
++
++ return stem;
++}
++
+ int main(int argc, char *argv[])
+ {
+ int ec = EXIT_FAILURE;
+ poptContext optCon = NULL;
+ const char *arg = NULL;
+ const char *fnarg = "\"$1\"";
++ char *bn = NULL;
+ char *cmd = NULL;
+ archiveType *at = NULL;
+ int sr = 0;
+@@ -253,10 +261,11 @@ int main(int argc, char *argv[])
+ }
+
+ at = getArchiver(arg);
++ bn = getStem(arg);
+ if (extract) {
+ if (dstpath)
+ sr = singleRoot(arg);
+- cmd = doUntar(at, sr, arg, fnarg);
++ cmd = doUntar(at, sr, bn, fnarg);
+ } else {
+ cmd = doUncompress(at, arg, fnarg);
+ }
+@@ -268,7 +277,7 @@ int main(int argc, char *argv[])
+ char *dryarg = NULL;
+ char *drycmd = NULL;
+ rasprintf(&dryarg, "'%s'", arg);
+- drycmd = extract ? doUntar(at, sr, arg, dryarg) :
++ drycmd = extract ? doUntar(at, sr, bn, dryarg) :
+ doUncompress(at, arg, dryarg);
+ fprintf(stderr, "%s\n", drycmd);
+ free(drycmd);
+@@ -292,6 +301,7 @@ int main(int argc, char *argv[])
+ }
+
+ exit:
++ free(bn);
+ free(cmd);
+ rpmcliFini(optCon);
+ return ec;
+--
+2.56.0
+
diff --git a/0003-Drop-leftover-filename-arg-from-doUncompress.patch b/0003-Drop-leftover-filename-arg-from-doUncompress.patch
new file mode 100644
index 0000000..0f52174
--- /dev/null
+++ b/0003-Drop-leftover-filename-arg-from-doUncompress.patch
@@ -0,0 +1,49 @@
+From cc53ddd42c3255f4beb5bb514869c78b8147411f Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Thu, 22 Oct 2026 13:55:57 +0200
+Subject: [PATCH 3/5] Drop leftover filename arg from doUncompress()
+
+This should've been part of commit
+7a4111bc5db4053e5381b65306903837763e7f11.
+
+No functional change.
+
+Backported from commit 32c6dc786e09a3ea47a35f3657ca51e807ad0b20.
+---
+ tools/rpmuncompress.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/tools/rpmuncompress.c b/tools/rpmuncompress.c
+index 923e66db2..decf7d792 100644
+--- a/tools/rpmuncompress.c
++++ b/tools/rpmuncompress.c
+@@ -77,7 +77,7 @@ static archiveType *getArchiver(const char *fn)
+ return archiver;
+ }
+
+-static char *doUncompress(archiveType *at, const char *fn, const char *arg)
++static char *doUncompress(archiveType *at, const char *arg)
+ {
+ char *cmd = NULL;
+ if (at) {
+@@ -267,7 +267,7 @@ int main(int argc, char *argv[])
+ sr = singleRoot(arg);
+ cmd = doUntar(at, sr, bn, fnarg);
+ } else {
+- cmd = doUncompress(at, arg, fnarg);
++ cmd = doUncompress(at, fnarg);
+ }
+
+ if (cmd) {
+@@ -278,7 +278,7 @@ int main(int argc, char *argv[])
+ char *drycmd = NULL;
+ rasprintf(&dryarg, "'%s'", arg);
+ drycmd = extract ? doUntar(at, sr, bn, dryarg) :
+- doUncompress(at, arg, dryarg);
++ doUncompress(at, dryarg);
+ fprintf(stderr, "%s\n", drycmd);
+ free(drycmd);
+ free(dryarg);
+--
+2.56.0
+
diff --git a/0003-Split-out-archiver-and-singleroot-in-rpmuncompress.patch b/0003-Split-out-archiver-and-singleroot-in-rpmuncompress.patch
new file mode 100644
index 0000000..e795a44
--- /dev/null
+++ b/0003-Split-out-archiver-and-singleroot-in-rpmuncompress.patch
@@ -0,0 +1,90 @@
+From 7513fd71e1ce84e1f64b3d29e6de8089f0fd01d9 Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Mon, 14 Sep 2026 16:42:13 +0200
+Subject: [PATCH 3/4] Split out archiver and singleroot in rpmuncompress
+
+Do the archiver and singleroot detection in main(), before calling the
+doUncompress() or doUntar() functions, and pass both instances to them
+instead. This will allow us to re-run these two functions more cheaply,
+which will be done in the next commits.
+
+No functional change.
+
+(backported from commit 799bb0cc898b85b0cbb5048fde4dd66bccdcf0de)
+---
+ tools/rpmuncompress.c | 23 +++++++++++++++--------
+ 1 file changed, 15 insertions(+), 8 deletions(-)
+
+diff --git a/tools/rpmuncompress.c b/tools/rpmuncompress.c
+index d355b736d..249bcfa3a 100644
+--- a/tools/rpmuncompress.c
++++ b/tools/rpmuncompress.c
+@@ -76,10 +76,9 @@ static archiveType *getArchiver(const char *fn)
+ return archiver;
+ }
+
+-static char *doUncompress(const char *fn)
++static char *doUncompress(archiveType *at, const char *fn)
+ {
+ char *cmd = NULL;
+- archiveType *at = getArchiver(fn);
+ if (at) {
+ cmd = rpmExpand(at->setTZ ? "TZ=UTC " : "",
+ at->cmd, " ", at->unpack, NULL);
+@@ -152,9 +151,8 @@ afree:
+ return ret;
+ }
+
+-static char *doUntar(const char *fn)
++static char *doUntar(archiveType *at, int sr, const char *fn)
+ {
+- archiveType *at = NULL;
+ char *buf = NULL;
+ char *tar = NULL;
+ const char *taropts = verbose ? "-xvvof" : "-xof";
+@@ -162,14 +160,12 @@ static char *doUntar(const char *fn)
+ char *stripcd = NULL;
+ int needtar = 0;
+
+- if ((at = getArchiver(fn)) == NULL)
++ if (at == NULL)
+ goto exit;
+
+ needtar = (at->extractable == 0);
+
+ if (dstpath) {
+- int sr = singleRoot(fn);
+-
+ /* if the archive has multiple entries, just extract it into the
+ * specified destination path, otherwise also strip the first path
+ * entry
+@@ -246,6 +242,9 @@ int main(int argc, char *argv[])
+ int ec = EXIT_FAILURE;
+ poptContext optCon = NULL;
+ const char *arg = NULL;
++ char *cmd = NULL;
++ archiveType *at = NULL;
++ int sr = 0;
+
+ optCon = rpmcliInit(argc, argv, optionsTable);
+
+@@ -254,7 +253,15 @@ int main(int argc, char *argv[])
+ goto exit;
+ }
+
+- char *cmd = extract ? doUntar(arg) : doUncompress(arg);
++ at = getArchiver(arg);
++ if (extract) {
++ if (dstpath)
++ sr = singleRoot(arg);
++ cmd = doUntar(at, sr, arg);
++ } else {
++ cmd = doUncompress(at, arg);
++ }
++
+ if (cmd) {
+ FILE *inp = NULL;
+
+--
+2.56.0
+
diff --git a/0004-Prevent-command-injection-via-rpmbuild-t-filename.patch b/0004-Prevent-command-injection-via-rpmbuild-t-filename.patch
new file mode 100644
index 0000000..97de12d
--- /dev/null
+++ b/0004-Prevent-command-injection-via-rpmbuild-t-filename.patch
@@ -0,0 +1,292 @@
+From c98ecba7245ab622cddcc1810246a2ed1c963239 Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Mon, 7 Sep 2026 14:41:39 +0200
+Subject: [PATCH 4/4] Prevent command injection via rpmbuild -t filename
+
+Commit 2a11eb3e4e51094082e0123aebd797ec051dc094 fixed command injection
+via spec file entries, but there's another case where we pass some data
+controlled by the tarball through macro or shell expansion: the filename
+argument itself.
+
+This happens in three places during tarball decompression: the first two
+are in getTarSpec() where we construct and execute the shell command for
+spec file extraction using rpmExpand() and popen(3), respectively, which
+leads to the third one where we execute the actual decompression utility
+using popen(3) in rpmuncompress. The filename gets passed through all of
+these steps, and can cause arbitrary shell code execution in each one.
+
+Fix that by passing the filename as a positional argument when invoking
+the shell so that the command can reference it through the hardcoded $1
+parameter instead of the filename directly. Add our own popen(3) version
+for this purpose that takes an additional argument to be passed as $1 to
+the shell, to preserve the surrounding logic and keep the patch minimal.
+Hardcode /bin/sh as the shell since that's what popen(3) claims to do.
+
+Don't bother with write mode support like the original function, though,
+it can always be added later if this new version turns out to be useful
+elsewhere. Add also a pclose(3) equivalent, just for consistency, since
+the original call would probably work fine when passed the FILE stream
+created by us.
+
+Adjust the rpmuncompress output when in verbose/dry mode so that it is
+preserved exactly. That means, generate the shell command again but this
+time with the actual filename (enclosed in single quotes), and use that
+for printing. Note that this has to happen in *addition* to the default
+command that uses $1 since we need both variants when in verbose mode.
+
+Enable the tests added in the previous commit as they are now expected
+to pass.
+
+Long-term, a better solution would be to split the shell commands such
+that the simple program invocations that need the filename can be done
+with a plain fork-exec instead of popen(3), or better yet, to just port
+the internals to libarchive. But either is much more complex and would
+make the patch more difficult to backport, so let's just stick with the
+uglier fix for now.
+
+Fixes: CVE-2026-84837, CVE-2026-84838
+(backported from commit 7a4111bc5db4053e5381b65306903837763e7f11)
+---
+ tools/CMakeLists.txt | 2 +-
+ tools/cliutils.c | 48 +++++++++++++++++++++++++++++++++++++++++++
+ tools/cliutils.h | 7 +++++++
+ tools/rpmbuild.c | 6 +++---
+ tools/rpmuncompress.c | 38 +++++++++++++++++++++-------------
+ 5 files changed, 83 insertions(+), 18 deletions(-)
+
+diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
+index ea452e738..ba2d1706f 100644
+--- a/tools/CMakeLists.txt
++++ b/tools/CMakeLists.txt
+@@ -11,7 +11,7 @@ add_executable(rpmspec rpmspec.c cliutils)
+ add_executable(rpmdeps rpmdeps.c)
+ add_executable(rpmgraph rpmgraph.c)
+ add_executable(rpmlua rpmlua.c)
+-add_executable(rpmuncompress rpmuncompress.c)
++add_executable(rpmuncompress rpmuncompress.c cliutils)
+ add_executable(rpmdump rpmdump.c)
+
+ target_link_libraries(rpmsign PRIVATE librpmsign)
+diff --git a/tools/cliutils.c b/tools/cliutils.c
+index dc630bc8d..3be9b7233 100644
+--- a/tools/cliutils.c
++++ b/tools/cliutils.c
+@@ -83,3 +83,51 @@ int finishPipe(void)
+ }
+ return rc;
+ }
++
++FILE* rpopen(const char *cmd, const char *arg)
++{
++ FILE *stream = NULL;
++ ARGV_t argv = NULL;
++ int pipefd[2];
++ pid_t pid;
++
++ if (pipe(pipefd) < 0)
++ goto exit;
++
++ argvAdd(&argv, "/bin/sh");
++ argvAdd(&argv, "-c");
++ argvAdd(&argv, cmd);
++ argvAdd(&argv, "sh");
++ argvAdd(&argv, arg);
++
++ if ((pid = fork()) == 0) {
++ dup2(pipefd[1], STDOUT_FILENO);
++ close(pipefd[0]);
++ execv(argv[0], argv);
++ _exit(EXIT_FAILURE);
++ } else if (pid == -1) {
++ goto exit;
++ }
++
++ close(pipefd[1]);
++ stream = fdopen(pipefd[0], "r");
++
++exit:
++ argvFree(argv);
++ return stream;
++}
++
++int rpclose(FILE *stream)
++{
++ int rc = -1;
++ int status;
++
++ if ((waitpid(-1, &status, 0) == -1) || !WIFEXITED(status))
++ goto exit;
++
++ rc = WEXITSTATUS(status);
++
++exit:
++ fclose(stream);
++ return rc;
++}
+diff --git a/tools/cliutils.h b/tools/cliutils.h
+index b5deee1ba..cda4bebdf 100644
+--- a/tools/cliutils.h
++++ b/tools/cliutils.h
+@@ -22,4 +22,11 @@ int initPipe(void);
+
+ int finishPipe(void);
+
++/*
++ * A safe, read-only variant of popen(3) that passes untrusted input (arg) as a
++ * positional argument to sh(1) where the command (cmd) can read it via $1.
++ */
++FILE *rpopen(const char *cmd, const char *arg);
++int rpclose(FILE *stream);
++
+ #endif /* _CLIUTIL_H */
+diff --git a/tools/rpmbuild.c b/tools/rpmbuild.c
+index c86a3ab23..c5fbb085b 100644
+--- a/tools/rpmbuild.c
++++ b/tools/rpmbuild.c
+@@ -384,11 +384,11 @@ static char * getTarSpec(const char *arg)
+ char *cmd;
+ int specfiles = 0;
+
+- cmd = rpmExpand("%{uncompress: ", arg, "} | ",
++ cmd = rpmExpand("%{uncompress: \"$1\" } | ",
+ "%{__tar} xOvof - --wildcards ", *spec,
+ " 2>&1 > ", specFile, NULL);
+
+- if (!(fp = popen(cmd, "r"))) {
++ if (!(fp = rpopen(cmd, arg))) {
+ rpmlog(RPMLOG_ERR, _("Failed to open tar pipe: %m\n"));
+ } else {
+ char *fok;
+@@ -401,7 +401,7 @@ static char * getTarSpec(const char *arg)
+ }
+ specfiles++;
+ }
+- pclose(fp);
++ rpclose(fp);
+ gotspec = (specfiles == 1) && isSpecFile(specFile);
+ if (specfiles > 1) {
+ rpmlog(RPMLOG_ERR, _("Found more than one spec file in %s\n"), arg);
+diff --git a/tools/rpmuncompress.c b/tools/rpmuncompress.c
+index 249bcfa3a..e555e0dd7 100644
+--- a/tools/rpmuncompress.c
++++ b/tools/rpmuncompress.c
+@@ -12,6 +12,7 @@
+ #include <rpm/rpmcli.h>
+ #include <rpm/rpmstring.h>
+
++#include "cliutils.h"
+ #include "debug.h"
+
+ static int verbose = 0;
+@@ -76,14 +77,14 @@ static archiveType *getArchiver(const char *fn)
+ return archiver;
+ }
+
+-static char *doUncompress(archiveType *at, const char *fn)
++static char *doUncompress(archiveType *at, const char *fn, const char *arg)
+ {
+ char *cmd = NULL;
+ if (at) {
+ cmd = rpmExpand(at->setTZ ? "TZ=UTC " : "",
+ at->cmd, " ", at->unpack, NULL);
+ /* path must not be expanded */
+- cmd = rstrscat(&cmd, " '", fn, "'", NULL);
++ cmd = rstrscat(&cmd, " ", arg, NULL);
+ }
+ return cmd;
+ }
+@@ -151,7 +152,7 @@ afree:
+ return ret;
+ }
+
+-static char *doUntar(archiveType *at, int sr, const char *fn)
++static char *doUntar(archiveType *at, int sr, const char *fn, const char *arg)
+ {
+ char *buf = NULL;
+ char *tar = NULL;
+@@ -204,7 +205,7 @@ static char *doUntar(archiveType *at, int sr, const char *fn)
+ at->cmd, " ", at->unpack, " ",
+ verbose ? "" : at->quiet, NULL);
+ if (needtar) {
+- rasprintf(&buf, "%s %s '%s' | %s %s - %s", mkdir, zipper, fn, tar, taropts, stripcd);
++ rasprintf(&buf, "%s %s %s | %s %s - %s", mkdir, zipper, arg, tar, taropts, stripcd);
+ } else if (at->compressed == COMPRESSED_GEM) {
+ char *tmp = xstrdup(fn);
+ const char *bn = basename(tmp);
+@@ -216,18 +217,18 @@ static char *doUntar(archiveType *at, int sr, const char *fn)
+ rstrlcpy(gemnameversion, bn, nvlen);
+ gemspec = rpmGetPath("", gemnameversion, ".gemspec", NULL);
+
+- rasprintf(&buf, "%s '%s' && %s spec '%s' --ruby > '%s'",
+- zipper, fn, gem, fn, gemspec);
++ rasprintf(&buf, "%s %s && %s spec %s --ruby > '%s'",
++ zipper, arg, gem, arg, gemspec);
+
+ free(gemspec);
+ free(gem);
+ free(tmp);
+ } else {
+- rasprintf(&buf, "%s%s '%s' %s", mkdir, zipper, fn, stripcd);
++ rasprintf(&buf, "%s%s %s %s", mkdir, zipper, arg, stripcd);
+ }
+ free(zipper);
+ } else {
+- rasprintf(&buf, "%s %s %s '%s' %s", mkdir, tar, taropts, fn, stripcd);
++ rasprintf(&buf, "%s %s %s %s %s", mkdir, tar, taropts, arg, stripcd);
+ }
+
+ exit:
+@@ -242,6 +243,7 @@ int main(int argc, char *argv[])
+ int ec = EXIT_FAILURE;
+ poptContext optCon = NULL;
+ const char *arg = NULL;
++ const char *fnarg = "\"$1\"";
+ char *cmd = NULL;
+ archiveType *at = NULL;
+ int sr = 0;
+@@ -257,28 +259,36 @@ int main(int argc, char *argv[])
+ if (extract) {
+ if (dstpath)
+ sr = singleRoot(arg);
+- cmd = doUntar(at, sr, arg);
++ cmd = doUntar(at, sr, arg, fnarg);
+ } else {
+- cmd = doUncompress(at, arg);
++ cmd = doUncompress(at, arg, fnarg);
+ }
+
+ if (cmd) {
+ FILE *inp = NULL;
+
+- if (verbose || dryrun)
+- fprintf(stderr, "%s\n", cmd);
++ if (verbose || dryrun) {
++ char *dryarg = NULL;
++ char *drycmd = NULL;
++ rasprintf(&dryarg, "'%s'", arg);
++ drycmd = extract ? doUntar(at, sr, arg, dryarg) :
++ doUncompress(at, arg, dryarg);
++ fprintf(stderr, "%s\n", drycmd);
++ free(drycmd);
++ free(dryarg);
++ }
+
+ if (dryrun) {
+ ec = EXIT_SUCCESS;
+ goto exit;
+ }
+
+- inp = popen(cmd, "r");
++ inp = rpopen(cmd, arg);
+ if (inp) {
+ int status, c;
+ while ((c = fgetc(inp)) != EOF)
+ fputc(c, stdout);
+- status = pclose(inp);
++ status = rpclose(inp);
+ if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
+ ec = EXIT_SUCCESS;
+ }
+--
+2.56.0
+
diff --git a/0004-Rename-a-parameter-name-in-doUntar.patch b/0004-Rename-a-parameter-name-in-doUntar.patch
new file mode 100644
index 0000000..adb44e4
--- /dev/null
+++ b/0004-Rename-a-parameter-name-in-doUntar.patch
@@ -0,0 +1,77 @@
+From 5978f67c6e600fb39aade9c0dc53beb4870fab95 Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Thu, 22 Oct 2026 09:56:27 +0200
+Subject: [PATCH 4/5] Rename a parameter name in doUntar()
+
+Now that the basename parameter is called "bn", rename "arg" (filename)
+to "fn" for consistency and readability. Do the same in the --dry-run
+branch while at it.
+
+No functional change.
+
+Backported from commit 1df4f546881b30251bfa0d281481607e49212074.
+---
+ tools/rpmuncompress.c | 20 ++++++++++----------
+ 1 file changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/tools/rpmuncompress.c b/tools/rpmuncompress.c
+index decf7d792..c99c334da 100644
+--- a/tools/rpmuncompress.c
++++ b/tools/rpmuncompress.c
+@@ -152,7 +152,7 @@ afree:
+ return ret;
+ }
+
+-static char *doUntar(archiveType *at, int sr, const char *bn, const char *arg)
++static char *doUntar(archiveType *at, int sr, const char *bn, const char *fn)
+ {
+ char *buf = NULL;
+ char *tar = NULL;
+@@ -205,20 +205,20 @@ static char *doUntar(archiveType *at, int sr, const char *bn, const char *arg)
+ at->cmd, " ", at->unpack, " ",
+ verbose ? "" : at->quiet, NULL);
+ if (needtar) {
+- rasprintf(&buf, "%s %s %s | %s %s - %s", mkdir, zipper, arg, tar, taropts, stripcd);
++ rasprintf(&buf, "%s %s %s | %s %s - %s", mkdir, zipper, fn, tar, taropts, stripcd);
+ } else if (at->compressed == COMPRESSED_GEM) {
+ char *gem = rpmGetPath("%{__gem}", NULL);
+
+ rasprintf(&buf, "%s %s && %s spec %s --ruby > '%s.gemspec'",
+- zipper, arg, gem, arg, bn);
++ zipper, fn, gem, fn, bn);
+
+ free(gem);
+ } else {
+- rasprintf(&buf, "%s%s %s %s", mkdir, zipper, arg, stripcd);
++ rasprintf(&buf, "%s%s %s %s", mkdir, zipper, fn, stripcd);
+ }
+ free(zipper);
+ } else {
+- rasprintf(&buf, "%s %s %s %s %s", mkdir, tar, taropts, arg, stripcd);
++ rasprintf(&buf, "%s %s %s %s %s", mkdir, tar, taropts, fn, stripcd);
+ }
+
+ exit:
+@@ -274,14 +274,14 @@ int main(int argc, char *argv[])
+ FILE *inp = NULL;
+
+ if (verbose || dryrun) {
+- char *dryarg = NULL;
++ char *dryfn = NULL;
+ char *drycmd = NULL;
+- rasprintf(&dryarg, "'%s'", arg);
+- drycmd = extract ? doUntar(at, sr, bn, dryarg) :
+- doUncompress(at, dryarg);
++ rasprintf(&dryfn, "'%s'", arg);
++ drycmd = extract ? doUntar(at, sr, bn, dryfn) :
++ doUncompress(at, dryfn);
+ fprintf(stderr, "%s\n", drycmd);
+ free(drycmd);
+- free(dryarg);
++ free(dryfn);
+ }
+
+ if (dryrun) {
+--
+2.56.0
+
diff --git a/0005-Prevent-shell-injection-via-RubyGem-filenames.patch b/0005-Prevent-shell-injection-via-RubyGem-filenames.patch
new file mode 100644
index 0000000..04c59c3
--- /dev/null
+++ b/0005-Prevent-shell-injection-via-RubyGem-filenames.patch
@@ -0,0 +1,92 @@
+From 3d68be5f663e2174147f72eca55b0c6981ca0ad5 Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Thu, 22 Oct 2026 10:46:11 +0200
+Subject: [PATCH 5/5] Prevent shell injection via RubyGem filenames
+
+Pass the archive's basename as a positional argument to the shell via
+rpopen() in order to avoid shell injection via crafted .gem filenames.
+This fixes a thinko in commit 7a4111bc5db4053e5381b65306903837763e7f11
+where this one remaining code path was missed.
+
+Make it the first positional argument ($1) and the existing filename the
+second ($2), to mirror the parameter order in doUntar().
+
+Adjust the --dry-run mode accordingly so that we print the real basename
+there. This has a cosmetic effect on the printed shell command: it moves
+the closing single quote in front of the .gemspec suffix, but since the
+suffix is controlled by us, it doesn't matter and the result would be
+the same as before if the user actually invoked the command. Therefore,
+just fix the test.
+
+Enable the respective test for this flaw as well.
+
+Related: CVE-2026-84838
+
+Backported from commit e95f1b29ae274620700d51d1741bf1392bfec0d8.
+---
+ tools/rpmuncompress.c | 14 +++++++++-----
+ 1 file changed, 9 insertions(+), 5 deletions(-)
+
+diff --git a/tools/rpmuncompress.c b/tools/rpmuncompress.c
+index c99c334da..46fb7c978 100644
+--- a/tools/rpmuncompress.c
++++ b/tools/rpmuncompress.c
+@@ -209,7 +209,7 @@ static char *doUntar(archiveType *at, int sr, const char *bn, const char *fn)
+ } else if (at->compressed == COMPRESSED_GEM) {
+ char *gem = rpmGetPath("%{__gem}", NULL);
+
+- rasprintf(&buf, "%s %s && %s spec %s --ruby > '%s.gemspec'",
++ rasprintf(&buf, "%s %s && %s spec %s --ruby > %s.gemspec",
+ zipper, fn, gem, fn, bn);
+
+ free(gem);
+@@ -247,7 +247,8 @@ int main(int argc, char *argv[])
+ int ec = EXIT_FAILURE;
+ poptContext optCon = NULL;
+ const char *arg = NULL;
+- const char *fnarg = "\"$1\"";
++ const char *bnarg = "\"$1\"";
++ const char *fnarg = "\"$2\"";
+ char *bn = NULL;
+ char *cmd = NULL;
+ archiveType *at = NULL;
+@@ -265,7 +266,7 @@ int main(int argc, char *argv[])
+ if (extract) {
+ if (dstpath)
+ sr = singleRoot(arg);
+- cmd = doUntar(at, sr, bn, fnarg);
++ cmd = doUntar(at, sr, bnarg, fnarg);
+ } else {
+ cmd = doUncompress(at, fnarg);
+ }
+@@ -274,14 +275,17 @@ int main(int argc, char *argv[])
+ FILE *inp = NULL;
+
+ if (verbose || dryrun) {
++ char *drybn = NULL;
+ char *dryfn = NULL;
+ char *drycmd = NULL;
++ rasprintf(&drybn, "'%s'", bn);
+ rasprintf(&dryfn, "'%s'", arg);
+- drycmd = extract ? doUntar(at, sr, bn, dryfn) :
++ drycmd = extract ? doUntar(at, sr, drybn, dryfn) :
+ doUncompress(at, dryfn);
+ fprintf(stderr, "%s\n", drycmd);
+ free(drycmd);
+ free(dryfn);
++ free(drybn);
+ }
+
+ if (dryrun) {
+@@ -289,7 +293,7 @@ int main(int argc, char *argv[])
+ goto exit;
+ }
+
+- inp = rpopen(cmd, arg, NULL);
++ inp = rpopen(cmd, bn, arg, NULL);
+ if (inp) {
+ int status, c;
+ while ((c = fgetc(inp)) != EOF)
+--
+2.56.0
+
diff --git a/python3-rpm.spec b/python3-rpm.spec
index ca9b45a..2ba3203 100644
--- a/python3-rpm.spec
+++ b/python3-rpm.spec
@@ -30,7 +30,7 @@
%global rpmver 4.19.1.1
#global snapver rc1
-%global baserelease 26
+%global baserelease 28
%global sover 10
%global rhelrel %{baserelease}
@@ -194,6 +194,17 @@ rpm-4.19.x-improve-syslog.patch
0001-Prevent-command-injection-via-rpmbuild-t.patch
+0001-Fix-missing-quotes-in-doUncompress.patch
+0002-Define-a-nicer-alias-for-the-archiveType-struct.patch
+0003-Split-out-archiver-and-singleroot-in-rpmuncompress.patch
+0004-Prevent-command-injection-via-rpmbuild-t-filename.patch
+0001-Prevent-macro-injection-via-.gem-filenames.patch
+0001-Add-a-variable-argument-list-to-rpopen.patch
+0002-Let-callers-pass-the-basename-to-doUntar.patch
+0003-Drop-leftover-filename-arg-from-doUncompress.patch
+0004-Rename-a-parameter-name-in-doUntar.patch
+0005-Prevent-shell-injection-via-RubyGem-filenames.patch
+
# These are not yet upstream
rpm-4.7.1-geode-i686.patch
@@ -329,8 +340,16 @@ rm -r %{buildroot}%{_sysconfdir}
}}
%changelog
+* Wed Oct 21 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-28
+- CVE-2026-84233: Prevent macro injection via .gem filenames (RHEL-288155)
+- CVE-2026-84837: Prevent command injection via rpmbuild -t filename (RHEL-288156)
+- CVE-2026-84838: Prevent command injection via rpmuncompress (RHEL-288158)
+
+* Fri Oct 16 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-27
+- Bump release for rebuild (RHEL-282742)
+
* Mon Oct 12 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-26
-- CVE-2026-78367: Prevent command injection via rpmbuild -t (RHEL-247298)
+- CVE-2026-78367: Prevent command injection via rpmbuild -t (RHEL-282742)
* Fri Jun 19 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-25
- Apply forgotten patch for RHEL-169755
diff --git a/macros.foreach b/macros.foreach
new file mode 100644
index 0000000..e554248
--- /dev/null
+++ b/macros.foreach
@@ -0,0 +1,29 @@
+# This is a naïve implementation of a forach RPM macro.
+# It allows to repeat blocks in the specfile for different Python versions by using
+# %{foreach -m python3_pkgversion 3.13 3.14 %{quote:...}}
+# Or, less boilerplaty:
+# %global python3_pkgversions 3.13 3.14
+# %{foreachpy %{quote:...}}
+# However note that any macro which value depends on %python3_pkgversion
+# needs to be escaped in the %{quote:...} block.
+# Similarily, some special macro-looking things in %files (like %license)
+# need to be double-escaped (%%%%license) or else they expand to the actual License.
+
+%foreach(m:) %{lua:
+ if opt.m == nil or opt.m == "" then
+ rpm.expand("%{error:%%foreach requires -m <macro_name>}")
+ end
+ if #arg < 2 then
+ rpm.expand("%{error:%%foreach requires at least one macro value and a template string}")
+ end
+ -- The string template is the last argument
+ local template = arg[#arg]
+ for i = 1, #arg-1 do
+ rpm.define(opt.m .. " " .. arg[i])
+ print(rpm.expand(template))
+ print("\\n")
+ rpm.undefine(opt.m)
+ end
+}
+
+%foreachpy() %{foreach -m python3_pkgversion %{python3_pkgversions} %{quote:%1}}
diff --git a/plans/python-mockbuild.fmf b/plans/python-mockbuild.fmf
index 52c8183..4dd7fa4 100644
--- a/plans/python-mockbuild.fmf
+++ b/plans/python-mockbuild.fmf
@@ -1,3 +1,4 @@
+enabled: false # test makes no sense for python3.X-rpm
execute:
how: tmt
discover:
diff --git a/plans/python3.X-rpm.fmf b/plans/python3.X-rpm.fmf
new file mode 100644
index 0000000..72153cd
--- /dev/null
+++ b/plans/python3.X-rpm.fmf
@@ -0,0 +1,33 @@
+execute:
+ how: tmt
+
+prepare:
+ - name: Install dependencies
+ how: install
+ package:
+ - dnf
+ - $PYTHON
+ - $PYTHON-rpm
+ - name: Update packages
+ how: shell
+ script: dnf upgrade -y
+
+discover:
+ - name: $PYTHON
+ how: shell
+ tests:
+ - name: labelCompare
+ test: |
+ $PYTHON -c 'import rpm; assert rpm.labelCompare("1:2.3-4", "1:2.3-1") == 1'
+ - name: TransactionSet
+ test: |
+ $PYTHON -c 'import rpm; ts = rpm.TransactionSet(); mi = ts.dbMatch("name", "$PYTHON-rpm"); assert mi.count() == 1'
+
+
+/python3.13:
+ environment:
+ PYTHON: python3.13
+
+/python3.14:
+ environment:
+ PYTHON: python3.14
diff --git a/python3-rpm.spec b/python3-rpm.spec
new file mode 100644
index 0000000..2ba3203
--- /dev/null
+++ b/python3-rpm.spec
@@ -0,0 +1,1176 @@
+# The Python versions we build for
+%global python3_pkgversions 3.13 3.14
+
+# build against xz?
+%bcond_without xz
+# build with plugins?
+%bcond_without plugins
+# build with libarchive? (needed for rpm2archive)
+%bcond_without libarchive
+# build with libimaevm.so
+%bcond_without libimaevm
+# build with fsverity support?
+%if 0%{?rhel}
+%bcond_with fsverity
+%else
+%bcond_without fsverity
+%endif
+# build with zstd support?
+%bcond_without zstd
+# build with ndb backend?
+%bcond_without ndb
+# build with sqlite support?
+%bcond_without sqlite
+# build with bdb_ro support?
+%bcond_without bdb_ro
+# build with sequoia crypto?
+%bcond_without sequoia
+
+%define rpmhome /usr/lib/rpm
+
+%global rpmver 4.19.1.1
+#global snapver rc1
+%global baserelease 28
+%global sover 10
+
+%global rhelrel %{baserelease}
+%global rel_next %{lua:print(tonumber(rpm.expand("%baserelease")) + 1)}
+%global rhelrel_next %{?snapver:0.%{snapver}.}%{rel_next}
+
+# Bump this for EPEL only rebuilds, reset when %%baserelease was bumped
+%global epelrelease 1
+
+%global srcver %{rpmver}%{?snapver:-%{snapver}}
+%global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{rpmver} | cut -d'.' -f1-2).x}
+
+Summary: Python 3.X packages with RPM bindings
+Name: python3-rpm
+Version: %{rpmver}
+Release: %{rhelrel}.%{epelrelease}%{?dist}
+Url: http://www.rpm.org/
+License: GPL-2.0-or-later
+Source0: http://ftp.rpm.org/releases/%{srcdir}/rpm-%{srcver}.tar.bz2
+
+Source10: rpmdb-rebuild.service
+
+Source20: rpmdb-migrate.service
+Source21: rpmdb_migrate
+
+Source30: macros.rpmsign-sequoia
+
+# EPEL-only macro helper
+Source90: macros.foreach
+%if %{exists:%{SOURCE90}}
+ %{load:%{SOURCE90}}
+%elif %{exists:macros.foreach}
+ # something is parsing the spec without %%_sourcedir macro properly set
+ %{load:macros.foreach}
+%endif
+
+# This prevents a build with uninstallable runtime Requires
+BuildRequires: (rpm-libs >= %{version}-%{rhelrel} with rpm-libs < %{version}-%{rhelrel_next})
+BuildRequires: rpm-sign-libs
+
+# XXX generally assumed to be installed but make it explicit as rpm
+# is a bit special...
+BuildRequires: redhat-rpm-config >= 94
+BuildRequires: systemd-rpm-macros
+BuildRequires: gcc make
+BuildRequires: cmake >= 3.18
+BuildRequires: gawk
+BuildRequires: elfutils-devel >= 0.112
+BuildRequires: elfutils-libelf-devel
+BuildRequires: readline-devel zlib-devel
+# The popt version here just documents an older known-good version
+BuildRequires: popt-devel >= 1.10.2
+BuildRequires: file-devel
+BuildRequires: gettext-devel
+BuildRequires: ncurses-devel
+BuildRequires: bzip2-devel >= 0.9.0c-2
+BuildRequires: lua-devel >= 5.1
+BuildRequires: libcap-devel
+BuildRequires: libacl-devel
+%if %{with xz}
+BuildRequires: xz-devel >= 4.999.8
+%endif
+%if %{with libarchive}
+BuildRequires: libarchive-devel
+%endif
+%if %{with zstd}
+BuildRequires: libzstd-devel
+%endif
+%if %{with sqlite}
+BuildRequires: sqlite-devel
+%endif
+
+# Needed for re-building the documentation and man pages
+# normally those are shipped in the tarball pre-build
+# but need re-building if sources are patched
+%if 0
+BuildRequires: pandoc
+BuildRequires: doxygen
+%endif
+
+
+%if %{with sequoia}
+%global crypto sequoia
+BuildRequires: rpm-sequoia-devel >= 1.9.0
+%else
+%global crypto openssl
+BuildRequires: openssl-devel
+%endif
+
+# Couple of patches change makefiles so, require for now...
+BuildRequires: automake libtool
+
+%if %{with plugins}
+BuildRequires: libselinux-devel
+BuildRequires: dbus-devel
+BuildRequires: audit-libs-devel
+%endif
+
+%if %{with libimaevm}
+BuildRequires: ima-evm-utils-devel >= 1.0
+%endif
+
+%if %{with fsverity}
+BuildRequires: fsverity-utils-devel
+%endif
+
+%patchlist
+# Set rpmdb path to /usr/lib/sysimage/rpm
+rpm-4.17.x-rpm_dbpath.patch
+# Disable autoconf config.site processing (#962837)
+rpm-4.18.x-siteconfig.patch
+# In current Fedora, man-pages pkg owns all the localized man directories
+rpm-4.9.90-no-man-dirs.patch
+# Disable new user/group handling
+
+rpm-4.18.92-disable-sysusers.patch
+rpm-4.18.90-weak-user-group.patch
+
+# Patches already upstream:
+0001-Fix-potential-use-of-uninitialized-pipe-array.patch
+0001-Fix-potential-use-of-uninitialized-pgp-struct.patch
+0001-Fix-memory-leak-in-rpmsign.patch
+
+0001-Refactor-sign-command-expand-and-parse-out-of-runGPG.patch
+0002-Eliminate-hardcoded-GPG-references-from-user-visible.patch
+0003-Declare-signCmd-static.patch
+
+0001-Report-unsafe-symlinks-during-installation-as-a-spec.patch
+0002-Fix-FA_TOUCH-ed-files-getting-removed-on-failed-upda.patch
+
+0001-Fix-possible-package-corruption-on-delsign-resign-ad.patch
+0002-Fix-regression-on-build-id-generation-from-compresse.patch
+0003-Fix-root-relocation-regression.patch
+
+0001-Make-_passwd_path-and-_group_path-lists.patch
+0002-Fix-memory-leak-in-rpmspec-shell.patch
+0003-Fix-memory-leak-in-runGPG.patch
+0004-Talk-about-rpmsign-in-the-rpmsign-man-page.patch
+0005-Revert-Drop-redundant-argument-from-rpmcliTransactio.patch
+0001-Store-configurable-digest-s-on-packages-from-verific.patch
+0001-Ensure-binary-and-source-headers-are-identified-as-s.patch
+0002-Add-support-for-spec-local-file-attributes-and-gener.patch
+
+rpm-4.19.x-rpmkeys-add-list-erase.patch
+
+# PQC readiness
+rpm-4.19.x-multisig.patch
+rpm-4.19.x-pqc-algo.patch
+rpm-4.19.x-pqc-fixes.patch
+
+0001-Really-allow-qualifiers-like-pre-post-meta-for-weak-.patch
+
+rpm-4.19.x-multisig-verify-fixes.patch
+rpm-4.19.x-nsswitch-enable.patch
+0001-Fix-empty-password-field-in-passwd-group-causing-ent.patch
+
+rpm-4.19.x-add-autosetup-C.patch
+rpm-4.19.x-add-parkdb.patch
+rpm-4.19.x-improve-syslog.patch
+0001-Prevent-buffer-overruns-in-findPreambleTag-for-langu.patch
+
+0001-Prevent-command-injection-via-rpmbuild-t.patch
+
+0001-Fix-missing-quotes-in-doUncompress.patch
+0002-Define-a-nicer-alias-for-the-archiveType-struct.patch
+0003-Split-out-archiver-and-singleroot-in-rpmuncompress.patch
+0004-Prevent-command-injection-via-rpmbuild-t-filename.patch
+0001-Prevent-macro-injection-via-.gem-filenames.patch
+0001-Add-a-variable-argument-list-to-rpopen.patch
+0002-Let-callers-pass-the-basename-to-doUntar.patch
+0003-Drop-leftover-filename-arg-from-doUncompress.patch
+0004-Rename-a-parameter-name-in-doUntar.patch
+0005-Prevent-shell-injection-via-RubyGem-filenames.patch
+
+# These are not yet upstream
+rpm-4.7.1-geode-i686.patch
+
+%description
+Additional Python 3.X packages with the RPM Python bindings.
+
+%{foreachpy %{quote:
+%package -n python%%{python3_pkgversion}-rpm
+Summary: Python %%{python3_pkgversion} bindings for apps which will manipulate RPM packages
+BuildRequires: python%%{python3_pkgversion}-devel
+Requires: (rpm-libs%{?_isa} >= %{version}-%{rhelrel} with rpm-libs%{?_isa} < %{version}-%{rhelrel_next})
+
+%description -n python%%{python3_pkgversion}-rpm
+The python%%{python3_pkgversion}-rpm package contains a module that permits applications
+written in the Python programming language to use the interface
+supplied by RPM Package Manager libraries.
+
+This package should be installed if you want to develop Python %%{python3_pkgversion}
+programs that will manipulate RPM packages and databases.
+}}
+
+%prep
+%autosetup -n rpm-%{srcver} -p1
+
+%build
+%set_build_flags
+
+# As of RPM 4.19 we need to build the extension module for each Python version.
+# For similicity, we build everything.
+# In RPM 4.20+, the module uses Python stable ABI
+# and it will be possible to copy the built files from python3-rpm instead.
+%{foreachpy %{quote:
+mkdir _build%%{python3_pkgversion}
+cd _build%%{python3_pkgversion}
+cmake \
+ -DCMAKE_INSTALL_PREFIX=%{_usr} \
+ -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_var}/lib \
+ %{?with_bdb_ro:-DENABLE_BDB_RO=ON} \
+ %{!?with_ndb:-DENABLE_NDB=OFF} \
+ %{!?with_sqlite:-DENABLE_SQLITE=OFF} \
+ %{!?with_plugins:-DENABLE_PLUGINS=OFF} \
+ %{?with_fsverity:-DWITH_FSVERITY=ON} \
+ %{?with_libimaevm:-DWITH_IMAEVM=ON} \
+ %{!?with_libarchive:-DWITH_ARCHIVE=OFF} \
+ %{!?with_check:-DENABLE_TESTSUITE=OFF} \
+ %{?with_sequoia:-DWITH_SEQUOIA=ON} \
+ %{!?with_sequoia:-DWITH_INTERNAL_OPENPGP=ON} \
+ %{!?with_sequoia:-DWITH_OPENSSL=ON } \
+ -DRPM_VENDOR=redhat \
+ -DPython3_EXECUTABLE=%%{python3} \
+ ..
+
+%make_build
+cd ..
+}}
+
+%install
+
+%{foreachpy %{quote:
+cd _build%%{python3_pkgversion}
+%make_install
+cd ..
+}}
+
+mkdir -p $RPM_BUILD_ROOT%{_unitdir}
+install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/%{_unitdir}
+install -m 644 %{SOURCE20} $RPM_BUILD_ROOT/%{_unitdir}
+
+mkdir -p $RPM_BUILD_ROOT%{rpmhome}
+install -m 755 %{SOURCE21} $RPM_BUILD_ROOT/%{rpmhome}
+
+# Built-in replacement for systemd-sysusers(8)
+install -m 755 scripts/sysusers.sh $RPM_BUILD_ROOT/%{rpmhome}
+
+# Save list of packages through cron
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily
+install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily/rpm
+
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
+install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rpm
+
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
+mkdir -p $RPM_BUILD_ROOT%{rpmhome}/macros.d
+mkdir -p $RPM_BUILD_ROOT/usr/lib/sysimage/rpm
+cd _build3.13 # Use any built Python version here
+
+# init an empty database for %ghost'ing for all supported backends
+for be in %{?with_ndb:ndb} %{?with_sqlite:sqlite}; do
+ mkdir ${be}
+ tools/rpmdb --rcfile rpmrc --define "_db_backend ${be}" --dbpath=${PWD}/${be} --initdb
+ cp -va ${be}/. $RPM_BUILD_ROOT/usr/lib/sysimage/rpm/
+done
+
+# some packages invoke find-debuginfo directly, preserve compat for now
+ln -s ../../bin/find-debuginfo $RPM_BUILD_ROOT/usr/lib/rpm/find-debuginfo.sh
+
+find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
+
+# These live in perl-generators and python-rpm-generators now
+rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*,pythond*}
+rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*}
+rm -rf $RPM_BUILD_ROOT/var/tmp
+
+# workaround for https://github.com/rpm-software-management/rpm/issues/2811
+rm $RPM_BUILD_ROOT/%{_defaultdocdir}/rpm/README.md
+
+# Signing macros for Sequoia
+install -m 644 %{SOURCE30} $RPM_BUILD_ROOT/%{_defaultdocdir}/rpm/
+
+# Remove all non-Python files
+rm -r %{buildroot}%{_bindir}
+rm -r %{buildroot}%{_datadir}
+rm -r %{buildroot}%{_includedir}
+rm -r %{buildroot}%{_libdir}/lib*
+rm -r %{buildroot}%{_libdir}/cmake/rpm/
+rm -r %{buildroot}%{_libdir}/pkgconfig/
+rm -r %{buildroot}%{_libdir}/rpm-plugins/
+rm -r %{buildroot}%{_prefix}/lib
+rm -r %{buildroot}%{_sysconfdir}
+
+%check
+%{foreachpy %{quote:%%py3_check_import rpm rpm.transaction}}
+
+%{foreachpy %{quote:
+%files -n python%%{python3_pkgversion}-rpm
+%%%%license COPYING
+%dir %%{python3_sitearch}/rpm
+%%{python3_sitearch}/rpm-%{rpmver}*.egg-info
+%%{python3_sitearch}/rpm/__init__.py
+%%{python3_sitearch}/rpm/transaction.py
+%%{python3_sitearch}/rpm/_rpm.so
+%artifact %%{python3_sitearch}/rpm/__pycache__/
+}}
+
+%changelog
+* Wed Oct 21 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-28
+- CVE-2026-84233: Prevent macro injection via .gem filenames (RHEL-288155)
+- CVE-2026-84837: Prevent command injection via rpmbuild -t filename (RHEL-288156)
+- CVE-2026-84838: Prevent command injection via rpmuncompress (RHEL-288158)
+
+* Fri Oct 16 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-27
+- Bump release for rebuild (RHEL-282742)
+
+* Mon Oct 12 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-26
+- CVE-2026-78367: Prevent command injection via rpmbuild -t (RHEL-282742)
+
+* Fri Jun 19 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-25
+- Apply forgotten patch for RHEL-169755
+
+* Thu Jun 18 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-24
+- Add support for %%autosetup -C (RHEL-141269)
+- Add support for database parking (RHEL-126405)
+- Make syslog plugin actually useful and also required (RHEL-155272)
+- Require rpm-plugin-audit instead of just recommending (RHEL-139071)
+- Fix buffer overruns with long language strings (RHEL-169755)
+
+* Tue Mar 17 2026 Miro Hrončok <mhroncok@redhat.com> - 4.19.1.1-23.2
+- Add python3.14-rpm
+
+* Thu Feb 05 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-23
+- Fix key import API to return NOTTRUSTED for disabled algorithms (RHEL-112394)
+
+* Tue Jan 27 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-22
+- Ignore signatures made by unknown or disabled algorithms (RHEL-112394)
+- Enable NSS-based user and group lookups again (RHEL-118365)
+- Fix ignored password field if empty in passwd/group file (RHEL-118365)
+
+* Thu Nov 27 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-21
+- Fix pre/post/meta/etc. qualifiers for weak dependencies (RHEL-101936)
+- Fix redundant rpmdb-migrate.service runs (RHEL-96510)
+
+* Tue Aug 26 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-20
+- Fix rpmsign(8) man page (RHEL-109221)
+
+* Mon Aug 25 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-19
+- Additional PQC-related fixes (RHEL-109221)
+
+* Thu Jul 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-18
+- Add support for multiple OpenPGP signatures per package (RHEL-100571)
+- Add support for OpenPGP v6 signature pre-salting (RHEL-100571)
+- Add support for PQC algorithms from RFC-9580 (RHEL-100571)
+- Add --list and --erase commands to rpmkeys(8) (RHEL-105421)
+- Fix regression on dynamic subpackage RPMTAG_SOURCERPM missing (RHEL-102023)
+
+* Wed Jun 11 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-17
+- Bump release for another rebuild
+
+* Wed Jun 11 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-16
+- Fix regression on subpackage debuginfo RPMTAG_SOURCERPM missing (RHEL-87383)
+
+* Thu May 29 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-15
+- Add support for spec local file attributes and generators (RHEL-84057)
+- Ensure binary and source headers are identified as such (RHEL-87383)
+
+* Thu Apr 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-14
+- Store configurable digest(s) on packages in rpmdb (RHEL-84062)
+- Fix command references in rpmsign(8) man page, take II (RHEL-73173)
+
+* Tue Apr 22 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-13
+- Make %%_passwd_path and %%_group_path into lists (RHEL-78693)
+- Fix memory leak in rpmspec --shell (RHEL-55284)
+- Fix memory leak in rpmsign (RHEL-82284)
+- Fix command references in rpmsign(8) man page (RHEL-73173)
+- Fix exit code regression on update failure (RHEL-87384)
+
+* Fri Feb 07 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-12
+- Rebuild for ima-evm-utils 1.6 soname bump (RHEL-65378)
+
+* Fri Jan 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-11
+- Fix possible package corruption on --delsign/resign/addsign (RHEL-69518)
+- Fix regression on build-id generation from compressed ELF (RHEL-54000)
+- Fix root relocation regression (RHEL-56613)
+- Update sequoia macros for sq 1.0 (RHEL-56363)
+
+* Mon Jan 13 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-10
+- Report unsafe symlinks during installation as a specific case (RHEL-73186)
+- Fix FA_TOUCH'ed files getting removed on failed update (RHEL-54386)
+- Rebuild for ima-evm-utils 1.6 soname bump (RHEL-65378)
+
+* Wed Dec 04 2024 Panu Matilainen <pmatilai@redhat.com> - 4.19.1.1-9
+- Revert the gnupg/sequoia sub-packages, too much headache
+- Ship sequoia-signing enablement macros as documentation instead
+- Generate binary signatures with Sequoia too
+
+* Tue Nov 12 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-8
+- Add Sequoia signing support back
+
+* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4.19.1.1-7
+- Bump release for October 2024 mass rebuild:
+ Resolves: RHEL-64018
+
+* Fri Oct 25 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-6
+- Revert Sequoia signing support for now, breaks CI
+
+* Fri Oct 25 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-5
+- Fix Conflicts in new rpm-sign backends
+
+* Mon Oct 14 2024 Panu Matilainen <pmatilai@redhat.com> - 4.19.1.1-4
+- Remove hardcoded GPG references from signing error messages
+- Support switching between GnuPG and Sequoia for package signing (RHEL-56363)
+
+* Tue Aug 13 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-3
+- Fix potential use of uninitialized pipe array (RHEL-54012)
+- Fix potential use of uninitialized pgp struct (RHEL-54013)
+- Fix memory leak in rpmsign(8) (RHEL-37564)
+
+* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.19.1.1-2
+- Bump release for June 2024 mass rebuild
+
+* Wed Feb 07 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-1
+- Update to 4.19.1.1 (https://rpm.org/wiki/Releases/4.19.1.1)
+
+* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Fri Dec 15 2023 Panu Matilainen <pmatilai@redhat.com> - 4.19.1-2
+- Fix bogus warnings about runaway Lua scripts (#2254463)
+
+* Tue Dec 12 2023 Michal Domonkos <mdomonko@redhat.com> - 4.19.1-1
+- Update to 4.19.1 (https://rpm.org/wiki/Releases/4.19.1)
+
+* Thu Nov 30 2023 Stephen Gallagher <sgallagh@redhat.com> - 4.19.0-3
+- Fix issues with %%getncpus sometimes returning 0 on i686 systems
+
+* Mon Nov 13 2023 Panu Matilainen <pmatilai@redhat.com> - 4.19.0-2
+- Ensure central package ops log via rpm-plugin-audit recommends (#1476926)
+- Own our Python module directory (#2248555)
+- Fix sysusers.d generator barfing on legit content (#2246236)
+
+* Tue Sep 19 2023 Michal Domonkos <mdomonko@redhat.com> - 4.19.0-1
+- Update to 4.19.0
+
+* Mon Sep 04 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.99-1
+- Update to 4.19 rc1
+
+* Tue Aug 22 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.92-3
+- Fix regression on uncompressing 7zip compressed sources (#2229984)
+- Fix a conflict with pre-existing scl-utils %_root_prefix macro (#2233454)
+
+* Mon Aug 21 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.92-2
+- Behave more consistently when target %%optflags are not defined (#2231727)
+
+* Wed Aug 02 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.92-1
+- Update to 4.19 beta
+
+* Tue Jul 25 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 4.18.91-9
+- Drop fsverity plugin from RHEL builds
+
+* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.91-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
+* Wed Jun 28 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-7
+- Rebuilt for Python 3.12
+
+* Wed Jun 28 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-6
+- Fix a spec parsing error handling regression
+- Fix a per-file plugin hook regression
+
+* Tue Jun 27 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-5
+- Fix potential crash with multiple in-process sqlite uses
+
+* Mon Jun 26 2023 Python Maint <python-maint@redhat.com> - 4.18.91-4
+- Rebuilt for Python 3.12
+
+* Wed Jun 21 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-3
+- Enable user/group provide generation
+- Add a conflict for systemd versions carrying their own
+
+* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.18.91-2
+- Rebuilt for Python 3.12
+
+* Fri Jun 09 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.91-1
+- Update to 4.19 alpha2
+
+* Thu Jun 08 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 4.18.90-10
+- Rebuild for ima-evm-utils 1.5 soname bump
+
+* Mon May 29 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.90-9
+- Revert %%_smp_build_ncpus macro changing to parametric (#2210347)
+
+* Thu May 25 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-8
+- Set %_sharedstatedir to /var/lib (#2209989)
+
+* Thu May 25 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-7
+- Remove compat links for old so name of the libraries
+- Remove compat forward ports for libdnf
+
+* Mon May 22 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-6
+- Fix undefined symbols from plugins
+
+* Wed May 17 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-5
+- Use mkdir -p for creating SPECPARTS dir
+
+* Wed May 17 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-4
+- Enable large file support on 32-bit systems again
+
+* Mon May 15 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-3
+- Fix libbzip2 detection
+
+* Thu May 11 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-2
+- Add compat links for building dnf and friends
+
+* Thu May 04 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-1
+- Update to 4.19 alpha
+
+* Tue Apr 25 2023 Miro Hrončok <mhroncok@redhat.com> - 4.18.1-3
+- Explicitly require rpm-sequoia >= 1.4.0 on runtime to avoid
+ rpm: symbol lookup error: /lib64/librpmio.so.9: undefined symbol: _pgpVerifySignature2
+
+* Thu Apr 20 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.1-2
+- Backport improved crypto error messages from upstream
+
+* Wed Mar 15 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.1-1
+- Rebase to rpm 4.18.1 (https://rpm.org/wiki/Releases/4.18.1)
+
+* Thu Feb 16 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-11
+- Disable debuginfod lookups in rpmbuild scripts
+- Exclude kernel modules from ELF dependency generation
+
+* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.0-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Mon Jan 09 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-9
+- Generate Python egg-info from automake (#2135561)
+- Drop setup.py-based Python build (#2135719)
+
+* Wed Dec 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-8
+- Fix hang-up on failed key import (related to #2149762)
+
+* Thu Nov 24 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-7
+- Require rpm-sequoia >= 1.2.0 for V3 signature support, re-enable (#2141686)
+
+* Thu Nov 10 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-6
+- Revert back to internal OpenPGP parser for V3 signature support (#2141686)
+
+* Tue Nov 01 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-5
+- Switch to Sequoia crypto (https://fedoraproject.org/wiki/Changes/RpmSequoia)
+
+* Fri Oct 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-4
+- Add an option for building with Sequoia crypto
+
+* Wed Oct 05 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-3
+- Break ancient rpm <-> rpm-libs ordering loop
+
+* Mon Oct 03 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-2
+- Drop the temporary build-dependency on pandoc before it grows a beard
+- Start utilizing %%patchlist, finally
+
+* Wed Sep 21 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-1
+- Rebase to rpm 4.18.0 (https://rpm.org/wiki/Releases/4.18.0)
+
+* Wed Sep 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.4
+- Fix a largish directory walk related memory leak in transactions
+
+* Wed Sep 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.3
+- Fix buffer overrun on rpmdb queries involving ^ in version
+
+* Wed Sep 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.2
+- Break selinux-policy <-> rpm-plugin-selinux ordering loop (#1851266)
+
+* Fri Sep 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.1
+- Rebase to 4.18.0-rc1 (https://rpm.org/wiki/Releases/4.18.0)
+
+* Tue Aug 02 2022 Michal Domonkos <mdomonko@redhat.com> - 4.18.0-0.beta1.4
+- Revert %%autosetup -S git patch due to another regression
+
+* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.0-0.beta1.3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Mon Jul 11 2022 Michal Domonkos <mdomonko@redhat.com> - 4.18.0-0.beta1.2
+- Fix check-buildroot regression wrt bundled SRPM (#2104150)
+- Fix %%autosetup -S git regression wrt default git branch
+
+* Tue Jun 28 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.beta1.1
+- Rebase to 4.18.0-beta1 (https://rpm.org/wiki/Releases/4.18.0)
+
+* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.18.0-0.alpha2.2
+- Rebuilt for Python 3.11
+
+* Mon May 23 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha2.1
+- Rebase to 4.18.0-0.alpha2
+- Prevent uncontrolled sqlite WAL growth during large transactions
+
+* Thu Apr 28 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.6
+- Fix rubygem unpack regression, causing rubygem builds to fail
+
+* Wed Apr 27 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.5
+- Fix verbose source uncompress regression (#2079127)
+
+* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.4
+- Further dynamic buildrequires cli switch regression fixes (#2078744)
+
+* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.3
+- Fix rpmbuild -ba --nodeps regression wrt dynamic buildrequires (#2078744)
+
+* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.2
+- Fix rpmbuild -br not producing a src.rpm regression (#2078744)
+
+* Mon Apr 25 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.1
+- Rebase to 4.18.0 alpha (https://fedoraproject.org/wiki/Changes/RPM-4.18)
+- Add patches for two late discovered regressions
+
+* Mon Mar 21 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-10
+- Create rpmdb directory symlink in posttrans by default (#2066427)
+
+* Wed Feb 16 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-9
+- Add dependencies for the rpmdb migration scriptlet (#2055033)
+
+* Wed Feb 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-8
+- Really fix spurious %%transfiletriggerpostun execution (#2023311, #2048168)
+
+* Wed Jan 26 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-7
+- Migrate rpmdb to /usr/lib/sysimage/rpm (#2042099)
+ https://fedoraproject.org/wiki/Changes/RelocateRPMToUsr
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Thu Jan 20 2022 Björn Esser <besser82@fedoraproject.org> - 4.17.0-5
+- Rebuild (ima-evm-utils)
+- Use baserelease for rpm release tag to make rpmdev-bumpspec work
+
+* Fri Jan 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-4
+- Fix spurious %%transfiletriggerpostun execution (#2023311)
+
+* Fri Jan 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-3
+- Fix fapolicyd plugin dependencies to replace fapolicyd-dnf-plugin (#2007639)
+
+* Mon Nov 08 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 4.17.0-2
+- Rebuils for ima-evm-utils 1.4 soname bump
+
+* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 4.17.0-1.1
+- Rebuilt with OpenSSL 3.0.0
+
+* Fri Sep 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-1
+- Rebase to 4.17.0 final (https://rpm.org/wiki/Releases/4.17.0)
+
+* Thu Aug 19 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-0.rc1.1
+- Rebase to 4.17.0 rc1
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-0.beta1.0.2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Tue Jun 22 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-0.beta1.1
+- Rebase to 4.17.0 beta1
+- Add back /usr/lib/rpm/find-debuginfo.sh as a compat symlink
+- Add temporary buildrequire on pandoc due to makefile bugs in beta1
+
+* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 4.16.90-0.git15395.8.1
+- Rebuilt for Python 3.10
+
+* Mon May 17 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.8
+- Switch to external debugedit
+
+* Mon May 17 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.7
+- Handle different find-debuginfo.sh location with external debugedit
+
+* Fri May 07 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.6
+- Fix regression causing a crash on Lua state reset (#1958095)
+
+* Thu Apr 29 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.5
+- Proper fix for comments affecting macro file parsing (#1953910)
+
+* Tue Apr 27 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.4
+- Enable fapolicyd plugin build
+
+* Tue Apr 27 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.3
+- Temporarily revert macro file loading fix due to regression #1953910
+
+* Mon Apr 26 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.2
+- Add a bcond to build with external debugedit
+
+* Mon Apr 26 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.1
+- Rebase to rpm 4.17.0 alpha (https://rpm.org/wiki/Releases/4.17.0)
+- Drop a local hack for a cosmetic Fedora 22 era rpm2cpio issue
+- Drop BDB support leftovers from the spec
+- Add build conditional for fsverity plugin
+
+* Mon Mar 22 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.3-1
+- Rebase to rpm 4.16.1.3 (https://rpm.org/wiki/Releases/4.16.1.3)
+
+* Wed Feb 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-6
+- Drop support for read-write Berkeley DB format (#1787311)
+
+* Wed Feb 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-5
+- Make with/without bdb build option actually work
+- Clean up unpackaged /var/tmp from the build root
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.1.2-4.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Fri Jan 22 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-4
+- Fix edit_attributes_str_comp_dir in Patch916 (#1919107)
+
+* Tue Jan 19 2021 Jeff Law <law@redhat.com> - 4.16.1.2-3
+- Fix typo in test for F33 or newer
+
+* Tue Jan 19 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-2
+- Add debugedit DWARF5 support
+
+* Wed Dec 16 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-1
+- Rebase to rpm 4.16.1.2 (http://rpm.org/wiki/Releases/4.16.1.2)
+- Add a spec safeguard for accidental soname bumps
+
+* Wed Dec 16 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.1-1
+- Rebase to rpm 4.16.1.1 (http://rpm.org/wiki/Releases/4.16.1.1)
+
+* Thu Dec 10 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1-1
+- Rebase to rpm 4.16.1 (http://rpm.org/wiki/Releases/4.16.1)
+
+* Mon Nov 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-5
+- Only disable test-suite where it's actually broken
+
+* Mon Nov 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-4
+- Fix BDB crashing on failed open attempts (#1902395, #1898299, #1900407)
+- Fix unnecessary double failure on lazy keyring open
+
+* Wed Oct 28 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-3
+- Issue deprecation warning when creating BDB databases (#1787311)
+- Temporarily disable test-suite due to massive fakechroot breakage
+
+* Mon Oct 05 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-2
+- Clean up after test-suite which leaves a read-only tree behind
+
+* Wed Sep 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-1
+- Rebase to 4.16.0 final (https://rpm.org/wiki/Releases/4.16.0)
+
+* Mon Aug 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.rc1.1
+- Rebase to 4.16.0-rc1
+- Run test-suite in parallel
+
+* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-0.beta3.2.3
+- Second attempt - Rebuilt for
+ https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-0.beta3.2.2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Sun Jul 26 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.16.0-0.beta3.2.1
+- rebuild for ima-evm-utils 1.3
+
+* Mon Jun 29 2020 Tom Callaway <spot@fedoraproject.org> - 4.16.0-0.beta3.2
+- rebuild for lua 5.4
+
+* Wed Jun 24 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta3.1
+- Rebase to beta3
+
+* Wed Jun 10 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.4
+- Fix prefix search on sqlite backend (many file triggers not running)
+
+* Mon Jun 8 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.3
+- Unbreak metainfo() provide generation
+
+* Wed Jun 3 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.2
+- Don't auto-enable _flush_io on non-rotational media, it's too costly
+
+* Mon Jun 1 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.1
+- Rebase to rpm 4.16.0-beta1
+
+* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 4.15.90-0.git14971.12.1
+- Rebuilt for Python 3.9
+
+* Tue May 12 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.12
+- Fix segfault when trying to use unknown database backend
+
+* Thu May 7 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.11
+- Flag BDB databases for rebuild on next reboot whenever rpm is updated
+- Switch default database to sqlite (#1818910)
+
+* Mon May 4 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.10
+- Handle rpmdb-rebuild service enablement for upgrades
+
+* Thu Apr 23 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.9
+- Fix questionable uses of %%{name} and %%{version} in the spec
+
+* Wed Apr 22 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.8
+- Fix regression(s) on build dependency resolution
+
+* Wed Apr 22 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.7
+- Add rpmdb-rebuild systemd service
+
+* Fri Apr 17 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.6
+- Warn on undefined macros in buildtree setup macros (#1820349)
+
+* Thu Apr 09 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.5
+- Fix regression causing all ELF files classified as OCaml
+
+* Mon Apr 06 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.4
+- Fix invalid path passed to parametric macro generators
+
+* Thu Apr 02 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.3
+- Fix db lock files not getting packaged
+
+* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.2
+- Move bdb specific systemd-tmpfiles cleanup crutch behind the bdb bcond
+
+* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.1
+- Rebase to rpm 4.16 alpha (https://rpm.org/wiki/Releases/4.16.0)
+- Add bconds for and enable sqlite, ndb and bdb_ro database backends
+- Add bcond for disabling bdb backend
+- Drop lmdb bcond, the backend was removed upstream
+- Ensure all database backend files are owned
+- Fix external environment causing test-suite failures in spec build
+- Re-enable hard test-suite failures again
+
+* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.1-2.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Thu Jan 9 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.1-2
+- Obsolete python2-rpm to fix upgrade path (#1775113)
+
+* Mon Nov 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.1-1
+- Rebase to 4.15.1 (https://rpm.org/wiki/Releases/4.15.1)
+
+* Thu Nov 14 2019 Adam Williamson <awilliam@redhat.com> - 4.15.0-7
+- Really revert armv8 detection improvements (patch was not applied in -6)
+
+* Wed Oct 23 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.15.0-6
+- Revert armv8 detection improvements
+
+* Mon Oct 21 2019 Stephen Gallagher <sgallagh@redhat.com> - 4.15.0-5
+- Revert aliasing arm64 to aarch64
+- Resolves: rhbz#1763831
+
+* Fri Oct 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-4
+- Revert problematic sub-variants of armv8 (#1691430)
+
+* Thu Oct 17 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-3
+- Drop python2 bindings for good (#1761211)
+
+* Tue Oct 15 2019 Adam Williamson <awilliam@redhat.com> - 4.15.0-2
+- Revert systemd inhibit plugin's calling of dbus_shutdown (#1750575)
+
+* Thu Sep 26 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-1
+- Update to 4.15.0 final (https://rpm.org/wiki/Releases/4.15.0)
+
+* Wed Aug 28 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.rc1.1
+- Update to 4.15.0-rc1
+
+* Tue Aug 27 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.6
+- Fix some issues in the thread cap logic
+
+* Mon Aug 26 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.5
+- Re-enable test-suite, temporarily disabled during alpha troubleshooting
+
+* Fri Aug 23 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.4
+- Cap number of threads on 32bit platforms (#1729382)
+- Drop %%_lto_cflags macro (reverted upstream)
+
+* Fri Aug 23 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.3
+- Restore strict order of build scriptlet stdout/stderr output
+
+* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 4.15.0-0.beta.2.3
+- Rebuilt for Python 3.8
+
+* Wed Jul 31 2019 Miro Hrončok <mhroncok@redhat.com> - 4.15.0-0.beta.2.2
+- Rebuilt for libimaevm.so.1
+
+* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.0-0.beta.2.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Sat Jul 20 18:30:10 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.15.0-0.beta.2
+- Backport patch to not set RPMTAG_BUILDTIME to SOURCE_DATE_EPOCH
+
+* Thu Jun 27 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.1
+- Rebase to 4.15.0 beta
+
+* Thu Jun 20 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.18
+- Fix excessive TLS use, part II (#1722181)
+
+* Thu Jun 20 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.17
+- Fix excessive TLS use (#1722181)
+
+* Wed Jun 19 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.16
+- Drop buildarch again now that python_provide no longer needs it (#1720139)
+
+* Fri Jun 14 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.15
+- Temporarily re-enable buildarch macro for python_provide macro use (#1720139)
+
+* Thu Jun 13 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.14
+- Don't fail build trying to kill a non-existent process (#1720143)
+
+* Tue Jun 11 14:59:16 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.13
+- Fix build of binary packages in parallel
+
+* Tue Jun 11 00:08:50 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.10
+- Revert generation of binary packages in parallel
+
+* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.1
+- Update to 4.15.0 alpha
+
+* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-14
+- Drop support for sanitizer build, it never really worked anyway
+- Drop leftover build-dependency on binutils-devel
+- Truncate changelog to rpm 4.14.x (last two years)
+
+* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-13
+- Drop support for Fedora < 28 builds
+- Drop leftover BDB-related compiler flag foo
+
+* Fri Jun 07 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-12
+- Use pre-determined buildhost in test-suite to avoid DNS usage
+- Drop obsolete specspo and gpg2 related patches
+
+* Fri Jun 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-11
+- Use py2/3 macros for building and installing the bindings
+
+* Tue May 21 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-10
+- Support build-id generation from compressed ELF files (#1650072)
+
+* Fri May 03 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-9
+- Suggest gdb-minimal
+
+* Thu Apr 25 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-8
+- Replace deprecated __global_ldflags uses with build_ldflags macro
+
+* Thu Apr 11 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-7
+- Fix excessive reference counting on faked string .decode()
+
+* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-6
+- Unbreak Python 3 API by returning string data as surrogate-escaped utf-8
+ string objects instead of bytes (#1693751)
+- As a temporary crutch, monkey-patch a .decode() method to returned strings
+ to give users time to migrate from the long-standing broken behavior
+
+* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-5
+- Generate minidebug for PIE executables on file >= 5.33 too
+- Backport find-debuginfo --g-libs option for glibc's benefit (#1661512)
+
+* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2.1-4.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Wed Dec 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-4
+- Backport the new modularity label tag (#1650286)
+
+* Mon Nov 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-3
+- Take prefix into account when compressing man pages etc for Flatpak builds
+
+* Wed Oct 24 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-2
+- Selinux plugin requires a base policy to work (#1641631)
+
+* Mon Oct 22 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-1
+- Rebase to rpm 4.14.2.1 (http://rpm.org/wiki/Releases/4.14.2.1)
+
+* Wed Oct 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-9
+- Push name/epoch/version/release macro before invoking depgens
+
+* Tue Oct 16 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-8
+- Resurrect long since broken Lua library path
+
+* Fri Oct 12 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-7
+- Actually fail build on test-suite failures again
+- Invoke python2 explicitly from test-suite to unbreak build, part II
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-6
+- Drop duplicate BDB buildrequire
+- Drop nowadays unnecessary BDB macro foo
+- Drop nowadays unnecessary manual libcap dependency
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-5
+- Own all rpmdb files and ensure the list remains up to date
+- Drop redundant verify exclusions on rpmdb ghosts
+- Fix build when systemd is not installed (duh)
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-4
+- Erm, really use the macro for tmpfiles.d path
+- Erm, don't nuke buildroot at beginning of %%install
+- Use modern build/install helper macros
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-3
+- Eh, selinux plugin dependency condition was upside down (#1493267)
+- Drop no longer necessary condition over imaevm name
+- Drop no longer necessary obsolete on compat-librpm3
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-2
+- Fix ancient Python GIL locking bug (#1632488)
+- Use the appropriate macro for tmpfiles.d now that one exists
+
+* Tue Aug 21 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-1
+- Update to rpm 4.14.2 final (http://rpm.org/wiki/Releases/4.14.2)
+
+* Mon Aug 13 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.2
+- Move python-macro-helper to main package where the macros are (#1577860)
+
+* Wed Aug 08 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.1
+- Update to rpm 4.14.2-rc2
+
+* Sat Jul 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-0.rc1.2
+- Decompress DWARF compressed ELF sections
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2-0.rc1.1.2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.2-0.rc1.1.1
+- Rebuilt for Python 3.7
+
+* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc1.1
+- Update to rpm 4.14.2-rc1
+- Patching test-suite for python2 too painful, just sed it instead
+- Fix premature version increment from previous changelog entries, oops
+
+* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-13
+- Ehm, need to patch the autogenerated rpmtests script too for python2
+- Ehm, it's ldconfig_scriptlets not scripts
+- Drop the non-working python envvar magic from obsoleted change
+
+* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-12
+- Invoke python2 explicitly from test-suite to unbreak build
+
+* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-11
+- Remove direct ldconfig calls, use compat macros instead
+
+* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10.1
+- Rebuilt for Python 3.7
+
+* Mon May 28 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10
+- Backport upstream solution to make brp-python-bytecompile automagic part opt-outable
+ https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation
+
+* Tue May 22 2018 Mark Wielaard <mjw@fedoraproject.org> - 4.14.1-9
+- find-debuginfo.sh: Handle application/x-pie-executable (#1581224)
+
+* Tue Feb 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-8
+- Split rpm-build-libs to one more subpackage rpm-sign-libs
+
+* Mon Feb 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-7
+- Explicitly BuildRequire gcc and make
+
+* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-6.1
+- Escape macros in %%changelog
+
+* Wed Jan 31 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-6
+- Avoid unnecessary macro helper dependency on /usr/bin/python (#1538657)
+- Fix release of previous changelog entry
+
+* Tue Jan 30 2018 Tomas Orsava <torsava@redhat.com> - 4.14.1-5
+- Add envvar that will be present during RPM build,
+ Part of a Fedora Change for F28: "Avoid /usr/bin/python in RPM build"
+ https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
+
+* Tue Jan 30 2018 Petr Viktorin <pviktori@redhat.com> - 4.14.1-4
+- Skip automatic Python byte-compilation if *.py files are not present
+
+* Thu Jan 25 2018 Florian Weimer <fweimer@redhat.com> - 4.14.1-3
+- Rebuild to work around gcc bug leading to librpm miscompilation (#1538648)
+
+* Thu Jan 18 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-2
+- Avoid nuking the new python-macro-helper along with dep generators (#1535692)
+
+* Tue Jan 16 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-1
+- Rebase to rpm 4.14.1 (http://rpm.org/wiki/Releases/4.14.1)
+
+* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-5
+- Fix typo in Obsoletes
+
+* Mon Nov 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-4
+- Remove platform-python bits
+
+* Thu Oct 26 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-3
+- Move selinux plugin dependency to selinux-policy in Fedora >= 28 (#1493267)
+
+* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-2
+- Dump out test-suite log in case of failures again
+- Don't assume per-user groups in test-suite
+
+* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-1
+- Rebase to rpm 4.14.0 final (http://rpm.org/wiki/Releases/4.14.0)
+
+* Tue Oct 10 2017 Troy Dawson <tdawson@redhat.com> - 4.14.0-0.rc2.6
+- Cleanup spec file conditionals
+
+* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.5
+- Add build conditionals for zstd and lmdb support
+- Enable zstd support
+
+* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.4
+- Spec cleanups
+
+* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.3
+- BuildRequire gnupg2 for the testsuite
+
+* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.2
+- ima-evm-utils only has a -devel package in fedora >= 28
+
+* Thu Sep 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.1
+- Rebase to rpm 4.14.0-rc2 (http://rpm.org/wiki/Releases/4.14.0)
+
+* Mon Sep 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.3
+- Fix Ftell() past 2GB on 32bit architectures (#1492587)
+
+* Thu Sep 07 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.2
+- Actually honor with/without libimaevm option
+- ima-evm-utils-devel >= 1.0 is required for rpm >= 4.14.0
+
+* Wed Sep 06 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.1
+- Rebase to rpm 4.14.0-rc1 (http://rpm.org/wiki/Releases/4.14.0)
+- Re-enable SHA256 header digest generation (see #1480407)
+
+* Mon Aug 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.8
+- Band-aid for DB_VERSION_MISMATCH errors on glibc updates (#1465809)
+
+* Thu Aug 24 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.7
+- Remove ugly kludges from posttrans script, BDB handles this now
+
+* Fri Aug 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.6
+- Silence harmless but bogus error message on noarch packages (#1482144)
+
+* Thu Aug 17 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14002.5
+- Build with platform_python
+
+* Mon Aug 14 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14000.4
+- Add platform-python bytecompilation patch: platform-python-bytecompile.patch
+- Add platform python deps generator patch: platform-python-abi.patch
+- Add a platform-python subpackage and remove system python related declarations
+- Build rpm without platform_python for bytecompilation
+ (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)
+
+* Mon Aug 14 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.3
+- Disable macro argument quoting as a band-aid to #1481025
+
+* Fri Aug 11 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.2
+- Disable SHA256 header-only digest generation temporarily (#1480407)
+
+* Thu Aug 10 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.1
+- Rebase to rpm 4.13.90 aka 4.14.0-alpha (#1474836)
+
diff --git a/rpm.spec b/rpm.spec
deleted file mode 100644
index 39c1874..0000000
--- a/rpm.spec
+++ /dev/null
@@ -1,1516 +0,0 @@
-# build against xz?
-%bcond_without xz
-# build with plugins?
-%bcond_without plugins
-# build with libarchive? (needed for rpm2archive)
-%bcond_without libarchive
-# build with libimaevm.so
-%bcond_without libimaevm
-# build with fsverity support?
-%if 0%{?rhel}
-%bcond_with fsverity
-%else
-%bcond_without fsverity
-%endif
-# build with zstd support?
-%bcond_without zstd
-# build with ndb backend?
-%bcond_without ndb
-# build with sqlite support?
-%bcond_without sqlite
-# build with bdb_ro support?
-%bcond_without bdb_ro
-# build with sequoia crypto?
-%bcond_without sequoia
-
-%define rpmhome /usr/lib/rpm
-
-%global rpmver 4.19.1.1
-#global snapver rc1
-%global baserelease 28
-%global sover 10
-
-%global srcver %{rpmver}%{?snapver:-%{snapver}}
-%global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{rpmver} | cut -d'.' -f1-2).x}
-
-Summary: The RPM package management system
-Name: rpm
-Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}%{baserelease}%{?dist}
-Url: http://www.rpm.org/
-License: GPL-2.0-or-later
-Source0: http://ftp.rpm.org/releases/%{srcdir}/rpm-%{srcver}.tar.bz2
-
-Source10: rpmdb-rebuild.service
-
-Source20: rpmdb-migrate.service
-Source21: rpmdb_migrate
-
-Source30: macros.rpmsign-sequoia
-
-Requires: coreutils
-Requires: popt%{_isa} >= 1.10.2.1
-Requires: curl
-Conflicts: systemd < 253.5-6
-Obsoletes: python2-rpm < %{version}-%{release}
-
-# XXX generally assumed to be installed but make it explicit as rpm
-# is a bit special...
-BuildRequires: redhat-rpm-config >= 94
-BuildRequires: systemd-rpm-macros
-BuildRequires: gcc make
-BuildRequires: cmake >= 3.18
-BuildRequires: gawk
-BuildRequires: elfutils-devel >= 0.112
-BuildRequires: elfutils-libelf-devel
-BuildRequires: readline-devel zlib-devel
-# The popt version here just documents an older known-good version
-BuildRequires: popt-devel >= 1.10.2
-BuildRequires: file-devel
-BuildRequires: gettext-devel
-BuildRequires: ncurses-devel
-BuildRequires: bzip2-devel >= 0.9.0c-2
-BuildRequires: lua-devel >= 5.1
-BuildRequires: libcap-devel
-BuildRequires: libacl-devel
-%if %{with xz}
-BuildRequires: xz-devel >= 4.999.8
-%endif
-%if %{with libarchive}
-BuildRequires: libarchive-devel
-%endif
-%if %{with zstd}
-BuildRequires: libzstd-devel
-%endif
-%if %{with sqlite}
-BuildRequires: sqlite-devel
-%endif
-
-# Needed for re-building the documentation and man pages
-# normally those are shipped in the tarball pre-build
-# but need re-building if sources are patched
-%if 0
-BuildRequires: pandoc
-BuildRequires: doxygen
-%endif
-
-
-%if %{with sequoia}
-%global crypto sequoia
-BuildRequires: rpm-sequoia-devel >= 1.9.0
-%else
-%global crypto openssl
-BuildRequires: openssl-devel
-%endif
-
-# Couple of patches change makefiles so, require for now...
-BuildRequires: automake libtool
-
-%if %{with plugins}
-BuildRequires: libselinux-devel
-BuildRequires: dbus-devel
-BuildRequires: audit-libs-devel
-%endif
-
-%if %{with libimaevm}
-BuildRequires: ima-evm-utils-devel >= 1.0
-%endif
-
-%if %{with fsverity}
-BuildRequires: fsverity-utils-devel
-%endif
-
-# For the rpmdb migration scriptlet (#2055033)
-Requires(pre): coreutils
-Requires(pre): findutils
-Requires(pre): sed
-
-%patchlist
-# Set rpmdb path to /usr/lib/sysimage/rpm
-rpm-4.17.x-rpm_dbpath.patch
-# Disable autoconf config.site processing (#962837)
-rpm-4.18.x-siteconfig.patch
-# In current Fedora, man-pages pkg owns all the localized man directories
-rpm-4.9.90-no-man-dirs.patch
-# Disable new user/group handling
-
-rpm-4.18.92-disable-sysusers.patch
-rpm-4.18.90-weak-user-group.patch
-
-# Patches already upstream:
-0001-Fix-potential-use-of-uninitialized-pipe-array.patch
-0001-Fix-potential-use-of-uninitialized-pgp-struct.patch
-0001-Fix-memory-leak-in-rpmsign.patch
-
-0001-Refactor-sign-command-expand-and-parse-out-of-runGPG.patch
-0002-Eliminate-hardcoded-GPG-references-from-user-visible.patch
-0003-Declare-signCmd-static.patch
-
-0001-Report-unsafe-symlinks-during-installation-as-a-spec.patch
-0002-Fix-FA_TOUCH-ed-files-getting-removed-on-failed-upda.patch
-
-0001-Fix-possible-package-corruption-on-delsign-resign-ad.patch
-0002-Fix-regression-on-build-id-generation-from-compresse.patch
-0003-Fix-root-relocation-regression.patch
-
-0001-Make-_passwd_path-and-_group_path-lists.patch
-0002-Fix-memory-leak-in-rpmspec-shell.patch
-0003-Fix-memory-leak-in-runGPG.patch
-0004-Talk-about-rpmsign-in-the-rpmsign-man-page.patch
-0005-Revert-Drop-redundant-argument-from-rpmcliTransactio.patch
-0001-Store-configurable-digest-s-on-packages-from-verific.patch
-0001-Ensure-binary-and-source-headers-are-identified-as-s.patch
-0002-Add-support-for-spec-local-file-attributes-and-gener.patch
-
-rpm-4.19.x-rpmkeys-add-list-erase.patch
-
-# PQC readiness
-rpm-4.19.x-multisig.patch
-rpm-4.19.x-pqc-algo.patch
-rpm-4.19.x-pqc-fixes.patch
-
-0001-Really-allow-qualifiers-like-pre-post-meta-for-weak-.patch
-
-rpm-4.19.x-multisig-verify-fixes.patch
-rpm-4.19.x-nsswitch-enable.patch
-0001-Fix-empty-password-field-in-passwd-group-causing-ent.patch
-
-rpm-4.19.x-add-autosetup-C.patch
-rpm-4.19.x-add-parkdb.patch
-rpm-4.19.x-improve-syslog.patch
-0001-Prevent-buffer-overruns-in-findPreambleTag-for-langu.patch
-
-0001-Prevent-command-injection-via-rpmbuild-t.patch
-
-0001-Fix-missing-quotes-in-doUncompress.patch
-0002-Define-a-nicer-alias-for-the-archiveType-struct.patch
-0003-Split-out-archiver-and-singleroot-in-rpmuncompress.patch
-0004-Prevent-command-injection-via-rpmbuild-t-filename.patch
-0001-Prevent-macro-injection-via-.gem-filenames.patch
-0001-Add-a-variable-argument-list-to-rpopen.patch
-0002-Let-callers-pass-the-basename-to-doUntar.patch
-0003-Drop-leftover-filename-arg-from-doUncompress.patch
-0004-Rename-a-parameter-name-in-doUntar.patch
-0005-Prevent-shell-injection-via-RubyGem-filenames.patch
-
-# These are not yet upstream
-rpm-4.7.1-geode-i686.patch
-
-%description
-The RPM Package Manager (RPM) is a powerful command line driven
-package management system capable of installing, uninstalling,
-verifying, querying, and updating software packages. Each software
-package consists of an archive of files along with information about
-the package like its version, a description, etc.
-
-%package libs
-Summary: Libraries for manipulating RPM packages
-License: GPL-2.0-or-later OR LGPL-2.1-or-later
-Requires(meta): %{name} = %{version}-%{release}
-%if %{with sequoia}
-# >= 1.4.0 required for pgpVerifySignature2() and pgpPrtParams2()
-Requires: rpm-sequoia%{_isa} >= 1.9.0
-# Most systems should have a central package operations log
-Requires(meta): (rpm-plugin-audit if audit)
-Requires(meta): (rpm-plugin-syslog if syslog)
-%endif
-
-%description libs
-This package contains the RPM shared libraries.
-
-%package build-libs
-Summary: Libraries for building RPM packages
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description build-libs
-This package contains the RPM shared libraries for building packages.
-
-%package sign-libs
-Summary: Libraries for signing RPM packages
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-# in case somebody on the stream had these installed
-Obsoletes: rpm-sign-gnupg < 4.19.1.1-9.el10
-Obsoletes: rpm-sign-sequoia < 4.19.1.1-9.el10
-
-%description sign-libs
-This package contains the RPM shared libraries for signing packages.
-
-%package devel
-Summary: Development files for manipulating RPM packages
-License: GPL-2.0-or-later OR LGPL-2.1-or-later
-Requires: %{name} = %{version}-%{release}
-Requires: %{name}-libs%{_isa} = %{version}-%{release}
-Requires: %{name}-build-libs%{_isa} = %{version}-%{release}
-Requires: %{name}-sign-libs%{_isa} = %{version}-%{release}
-Requires: popt-devel%{_isa}
-
-%description devel
-This package contains the RPM C library and header files. These
-development files will simplify the process of writing programs that
-manipulate RPM packages and databases. These files are intended to
-simplify the process of creating graphical package managers or any
-other tools that need an intimate knowledge of RPM packages in order
-to function.
-
-This package should be installed if you want to develop programs that
-will manipulate RPM packages and databases.
-
-%package build
-Summary: Scripts and executable programs used to build packages
-Requires: rpm = %{version}-%{release}
-Requires: elfutils >= 0.128 binutils
-Requires: findutils sed grep gawk diffutils file patch >= 2.5
-Requires: tar unzip gzip bzip2 cpio xz
-%if %{with zstd}
-Requires: zstd
-%endif
-Requires: debugedit >= 0.3
-Requires: pkgconfig >= 1:0.24
-Requires: /usr/bin/gdb-add-index
-# https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot
-Suggests: gdb-minimal
-# Technically rpmbuild doesn't require any external configuration, but
-# creating distro-compatible packages does. To make the common case
-# "just work" while allowing for alternatives, depend on a virtual
-# provide, typically coming from redhat-rpm-config.
-Requires: system-rpm-config
-
-%description build
-The rpm-build package contains the scripts and executable programs
-that are used to build packages using the RPM Package Manager.
-
-%package sign
-Summary: Package signing support
-Requires: rpm-sign-libs%{_isa} = %{version}-%{release}
-
-%description sign
-This package contains support for digitally signing RPM packages.
-
-%package -n python3-%{name}
-Summary: Python 3 bindings for apps which will manipulate RPM packages
-BuildRequires: python3-devel
-%{?python_provide:%python_provide python3-%{name}}
-Requires: %{name}-libs%{?_isa} = %{version}-%{release}
-Provides: %{name}-python3 = %{version}-%{release}
-Obsoletes: %{name}-python3 < %{version}-%{release}
-
-%description -n python3-%{name}
-The python3-rpm package contains a module that permits applications
-written in the Python programming language to use the interface
-supplied by RPM Package Manager libraries.
-
-This package should be installed if you want to develop Python 3
-programs that will manipulate RPM packages and databases.
-
-%package apidocs
-Summary: API documentation for RPM libraries
-BuildArch: noarch
-
-%description apidocs
-This package contains API documentation for developing applications
-that will manipulate RPM packages and databases.
-
-%package cron
-Summary: Create daily logs of installed packages.
-BuildArch: noarch
-Requires: crontabs logrotate rpm = %{version}-%{release}
-
-%description cron
-This package contains a cron job which creates daily logs of installed
-packages on a system.
-
-%if %{with plugins}
-%package plugin-selinux
-Summary: Rpm plugin for SELinux functionality
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-Requires(meta): selinux-policy-base
-
-%description plugin-selinux
-%{summary}.
-
-%package plugin-syslog
-Summary: Rpm plugin for syslog functionality
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-syslog
-%{summary}.
-
-%package plugin-systemd-inhibit
-Summary: Rpm plugin for systemd inhibit functionality
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-systemd-inhibit
-This plugin blocks systemd from entering idle, sleep or shutdown while an rpm
-transaction is running using the systemd-inhibit mechanism.
-
-%if %{with libimaevm}
-%package plugin-ima
-Summary: Rpm plugin ima file signatures
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-ima
-%{summary}.
-%endif
-
-%package plugin-prioreset
-Summary: Rpm plugin for resetting scriptlet priorities for SysV init
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-prioreset
-%{summary}.
-
-Useful on legacy SysV init systems if you run rpm transactions with
-nice/ionice priorities. Should not be used on systemd systems.
-
-%package plugin-audit
-Summary: Rpm plugin for logging audit events on package operations
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-audit
-%{summary}.
-
-%if %{with fsverity}
-%package plugin-fsverity
-Summary: Rpm plugin for fsverity file signatures
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-fsverity
-%{summary}.
-%endif
-
-%package plugin-fapolicyd
-Summary: Rpm plugin for fapolicyd support
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-Provides: fapolicyd-plugin = %{version}-%{release}
-# fapolicyd-dnf-plugin currently at 1.0.4
-Obsoletes: fapolicyd-dnf-plugin < 1.0.5
-
-%description plugin-fapolicyd
-%{summary}.
-
-See https://people.redhat.com/sgrubb/fapolicyd/ for information about
-the fapolicyd daemon.
-
-%package plugin-dbus-announce
-Summary: Rpm plugin for announcing transactions on the DBUS
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-dbus-announce
-The plugin announces basic information about rpm transactions to the
-system DBUS - like packages installed or removed. Other programs can
-subscribe to the signals to get notified when packages on the system
-change.
-
-# with plugins
-%endif
-
-%prep
-%autosetup -n rpm-%{srcver} -p1
-
-%build
-%set_build_flags
-
-mkdir _build
-cd _build
-cmake \
- -DCMAKE_INSTALL_PREFIX=%{_usr} \
- -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_var}/lib \
- %{?with_bdb_ro:-DENABLE_BDB_RO=ON} \
- %{!?with_ndb:-DENABLE_NDB=OFF} \
- %{!?with_sqlite:-DENABLE_SQLITE=OFF} \
- %{!?with_plugins:-DENABLE_PLUGINS=OFF} \
- %{?with_fsverity:-DWITH_FSVERITY=ON} \
- %{?with_libimaevm:-DWITH_IMAEVM=ON} \
- %{!?with_libarchive:-DWITH_ARCHIVE=OFF} \
- %{!?with_check:-DENABLE_TESTSUITE=OFF} \
- %{?with_sequoia:-DWITH_SEQUOIA=ON} \
- %{!?with_sequoia:-DWITH_INTERNAL_OPENPGP=ON} \
- %{!?with_sequoia:-DWITH_OPENSSL=ON } \
- -DRPM_VENDOR=redhat \
- ..
-
-%make_build
-
-%install
-cd _build
-%make_install
-cd ..
-
-mkdir -p $RPM_BUILD_ROOT%{_unitdir}
-install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/%{_unitdir}
-install -m 644 %{SOURCE20} $RPM_BUILD_ROOT/%{_unitdir}
-
-mkdir -p $RPM_BUILD_ROOT%{rpmhome}
-install -m 755 %{SOURCE21} $RPM_BUILD_ROOT/%{rpmhome}
-
-# Built-in replacement for systemd-sysusers(8)
-install -m 755 scripts/sysusers.sh $RPM_BUILD_ROOT/%{rpmhome}
-
-# Save list of packages through cron
-mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily
-install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily/rpm
-
-mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
-install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rpm
-
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
-mkdir -p $RPM_BUILD_ROOT%{rpmhome}/macros.d
-mkdir -p $RPM_BUILD_ROOT/usr/lib/sysimage/rpm
-cd _build
-
-# init an empty database for %ghost'ing for all supported backends
-for be in %{?with_ndb:ndb} %{?with_sqlite:sqlite}; do
- mkdir ${be}
- tools/rpmdb --rcfile rpmrc --define "_db_backend ${be}" --dbpath=${PWD}/${be} --initdb
- cp -va ${be}/. $RPM_BUILD_ROOT/usr/lib/sysimage/rpm/
-done
-
-# some packages invoke find-debuginfo directly, preserve compat for now
-ln -s ../../bin/find-debuginfo $RPM_BUILD_ROOT/usr/lib/rpm/find-debuginfo.sh
-
-%find_lang rpm
-
-find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
-
-# These live in perl-generators and python-rpm-generators now
-rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*,pythond*}
-rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*}
-rm -rf $RPM_BUILD_ROOT/var/tmp
-
-# workaround for https://github.com/rpm-software-management/rpm/issues/2811
-rm $RPM_BUILD_ROOT/%{_defaultdocdir}/rpm/README.md
-
-# Signing macros for Sequoia
-install -m 644 %{SOURCE30} $RPM_BUILD_ROOT/%{_defaultdocdir}/rpm/
-
-rm $RPM_BUILD_ROOT/%{rpmhome}/rpmdump
-
-%pre
-# Symlink all rpmdb files to the new location if we're still using /var/lib/rpm
-if [ ! -L /var/lib/rpm ] && [ -d /var/lib/rpm ]; then
- mkdir -p /usr/lib/sysimage/rpm
- rpmdb_files=$(find /var/lib/rpm -maxdepth 1 -type f | sed 's|^/var/lib/rpm/||g' | sort)
- for rpmdb_file in ${rpmdb_files[@]}; do
- ln -sfr /var/lib/rpm/${rpmdb_file} /usr/lib/sysimage/rpm/${rpmdb_file}
- done
-fi
-
-%triggerun -- rpm < 4.17.0-7
-# Handle rpmdb migrate service on erasure of old to avoid ordering issues
-if [ -x /usr/bin/systemctl ]; then
- systemctl --no-reload preset rpmdb-migrate ||:
-fi
-
-%posttrans
-if [ ! -L /var/lib/rpm ] && [ -d /var/lib/rpm ]; then
- touch /var/lib/rpm/.migratedb
-fi
-if [ ! -d /var/lib/rpm ] && [ -d /usr/lib/sysimage/rpm ] && [ ! -f /usr/lib/sysimage/rpm/.rpmdbdirsymlink_created ]; then
- ln -sfr /usr/lib/sysimage/rpm /var/lib/rpm
- touch /usr/lib/sysimage/rpm/.rpmdbdirsymlink_created
-fi
-
-%files -f _build/rpm.lang
-%license COPYING
-%doc CREDITS docs/manual/[a-z]*
-%doc %{_defaultdocdir}/rpm/CONTRIBUTING.md
-%doc %{_defaultdocdir}/rpm/COPYING
-%doc %{_defaultdocdir}/rpm/INSTALL
-%doc %{_defaultdocdir}/rpm/README
-
-%{_unitdir}/rpmdb-rebuild.service
-%{_unitdir}/rpmdb-migrate.service
-
-%dir %{_sysconfdir}/rpm
-
-%attr(0755, root, root) %dir /usr/lib/sysimage/rpm
-%attr(0644, root, root) %ghost %config(missingok,noreplace) /usr/lib/sysimage/rpm/*
-%attr(0644, root, root) %ghost /usr/lib/sysimage/rpm/.*.lock
-
-%{_bindir}/rpm
-%if %{with libarchive}
-%{_bindir}/rpm2archive
-%endif
-%{_bindir}/rpm2cpio
-%{_bindir}/rpmdb
-%{_bindir}/rpmkeys
-%{_bindir}/rpmquery
-%{_bindir}/rpmverify
-%{_bindir}/rpmsort
-
-%{_mandir}/man8/rpm.8*
-%{_mandir}/man8/rpmdb.8*
-%{_mandir}/man8/rpmkeys.8*
-%if %{with libarchive}
-%{_mandir}/man8/rpm2archive.8*
-%endif
-%{_mandir}/man8/rpm2cpio.8*
-%{_mandir}/man8/rpm-misc.8*
-%{_mandir}/man8/rpmsort.8*
-%{_mandir}/man8/rpm-plugins.8*
-
-%attr(0755, root, root) %dir %{rpmhome}
-%{rpmhome}/macros
-%dir %{rpmhome}/macros.d
-%{rpmhome}/lua
-%{rpmhome}/rpmpopt*
-%{rpmhome}/rpmrc
-
-%{rpmhome}/rpmdb_*
-%{rpmhome}/rpm.daily
-%{rpmhome}/rpm.log
-%{rpmhome}/rpm.supp
-%{rpmhome}/rpm2cpio.sh
-%{rpmhome}/tgpg
-
-%{rpmhome}/platform
-%{rpmhome}/sysusers.sh
-
-%dir %{rpmhome}/fileattrs
-
-%files libs
-%{_libdir}/librpmio.so.%{sover}
-%{_libdir}/librpm.so.%{sover}
-%{_libdir}/librpmio.so.%{sover}.*
-%{_libdir}/librpm.so.%{sover}.*
-%if %{with plugins}
-%dir %{_libdir}/rpm-plugins
-
-%files plugin-syslog
-%{_libdir}/rpm-plugins/syslog.so
-%{_mandir}/man8/rpm-plugin-syslog.8*
-
-%files plugin-selinux
-%{_libdir}/rpm-plugins/selinux.so
-%{_mandir}/man8/rpm-plugin-selinux.8*
-
-%files plugin-systemd-inhibit
-%{_libdir}/rpm-plugins/systemd_inhibit.so
-%{_mandir}/man8/rpm-plugin-systemd-inhibit.8*
-
-%if %{with libimaevm}
-%files plugin-ima
-%{_libdir}/rpm-plugins/ima.so
-%{_mandir}/man8/rpm-plugin-ima.8*
-%endif
-
-%if %{with fsverity}
-%files plugin-fsverity
-%{_libdir}/rpm-plugins/fsverity.so
-%endif
-
-%files plugin-fapolicyd
-%{_libdir}/rpm-plugins/fapolicyd.so
-%{_mandir}/man8/rpm-plugin-fapolicyd.8*
-
-%files plugin-prioreset
-%{_libdir}/rpm-plugins/prioreset.so
-%{_mandir}/man8/rpm-plugin-prioreset.8*
-
-%files plugin-audit
-%{_libdir}/rpm-plugins/audit.so
-%{_mandir}/man8/rpm-plugin-audit.8*
-# with plugins
-
-%files plugin-dbus-announce
-%{_libdir}/rpm-plugins/dbus_announce.so
-%{_mandir}/man8/rpm-plugin-dbus-announce.8*
-%{_datadir}/dbus-1/system.d/org.rpm.conf
-%endif
-
-%files build-libs
-%{_libdir}/librpmbuild.so.%{sover}
-%{_libdir}/librpmbuild.so.%{sover}.*
-
-%files sign-libs
-%{_libdir}/librpmsign.so.%{sover}
-%{_libdir}/librpmsign.so.%{sover}.*
-
-%files build
-%{_bindir}/rpmbuild
-%{_bindir}/gendiff
-%{_bindir}/rpmspec
-%{_bindir}/rpmlua
-
-%{_mandir}/man1/gendiff.1*
-%{_mandir}/man8/rpmbuild.8*
-%{_mandir}/man8/rpmdeps.8*
-%{_mandir}/man8/rpmspec.8*
-%{_mandir}/man8/rpmlua.8*
-
-%{rpmhome}/brp-*
-%{rpmhome}/check-*
-%{rpmhome}/find-lang.sh
-%{rpmhome}/*provides*
-%{rpmhome}/*requires*
-%{rpmhome}/*deps*
-%{rpmhome}/*.prov
-%{rpmhome}/*.req
-%{rpmhome}/fileattrs/*
-%{rpmhome}/find-debuginfo.sh
-%{rpmhome}/rpmuncompress
-
-%files sign
-%{_bindir}/rpmsign
-%{_mandir}/man8/rpmsign.8*
-%doc %{_defaultdocdir}/rpm/macros.rpmsign-sequoia
-
-%files -n python3-%{name}
-%dir %{python3_sitearch}/rpm
-%{python3_sitearch}/rpm-%{rpmver}*.egg-info
-%{python3_sitearch}/rpm/__init__.py
-%{python3_sitearch}/rpm/transaction.py
-%{python3_sitearch}/rpm/_rpm.so
-%artifact %{python3_sitearch}/rpm/__pycache__/
-
-# Python examples
-%{_defaultdocdir}/rpm/examples/*.py
-
-%files devel
-%{_mandir}/man8/rpmgraph.8*
-%{_bindir}/rpmgraph
-%{_libdir}/librp*[a-z].so
-%{_libdir}/pkgconfig/rpm.pc
-%{_libdir}/cmake/rpm/
-%{_includedir}/rpm/
-
-%files cron
-%{_sysconfdir}/cron.daily/rpm
-%config(noreplace) %{_sysconfdir}/logrotate.d/rpm
-
-%files apidocs
-%license COPYING
-%doc %{_defaultdocdir}/rpm/API/
-
-%changelog
-* Wed Oct 21 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-28
-- CVE-2026-84233: Prevent macro injection via .gem filenames (RHEL-288155)
-- CVE-2026-84837: Prevent command injection via rpmbuild -t filename (RHEL-288156)
-- CVE-2026-84838: Prevent command injection via rpmuncompress (RHEL-288158)
-
-* Fri Oct 16 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-27
-- Bump release for rebuild (RHEL-282742)
-
-* Mon Oct 12 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-26
-- CVE-2026-78367: Prevent command injection via rpmbuild -t (RHEL-282742)
-
-* Fri Jun 19 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-25
-- Apply forgotten patch for RHEL-169755
-
-* Thu Jun 18 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-24
-- Add support for %%autosetup -C (RHEL-141269)
-- Add support for database parking (RHEL-126405)
-- Make syslog plugin actually useful and also required (RHEL-155272)
-- Require rpm-plugin-audit instead of just recommending (RHEL-139071)
-- Fix buffer overruns with long language strings (RHEL-169755)
-
-* Thu Feb 05 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-23
-- Fix key import API to return NOTTRUSTED for disabled algorithms (RHEL-112394)
-
-* Tue Jan 27 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-22
-- Ignore signatures made by unknown or disabled algorithms (RHEL-112394)
-- Enable NSS-based user and group lookups again (RHEL-118365)
-- Fix ignored password field if empty in passwd/group file (RHEL-118365)
-
-* Thu Nov 27 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-21
-- Fix pre/post/meta/etc. qualifiers for weak dependencies (RHEL-101936)
-- Fix redundant rpmdb-migrate.service runs (RHEL-96510)
-
-* Tue Aug 26 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-20
-- Fix rpmsign(8) man page (RHEL-109221)
-
-* Mon Aug 25 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-19
-- Additional PQC-related fixes (RHEL-109221)
-
-* Thu Jul 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-18
-- Add support for multiple OpenPGP signatures per package (RHEL-100571)
-- Add support for OpenPGP v6 signature pre-salting (RHEL-100571)
-- Add support for PQC algorithms from RFC-9580 (RHEL-100571)
-- Add --list and --erase commands to rpmkeys(8) (RHEL-105421)
-- Fix regression on dynamic subpackage RPMTAG_SOURCERPM missing (RHEL-102023)
-
-* Wed Jun 11 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-17
-- Bump release for another rebuild
-
-* Wed Jun 11 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-16
-- Fix regression on subpackage debuginfo RPMTAG_SOURCERPM missing (RHEL-87383)
-
-* Thu May 29 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-15
-- Add support for spec local file attributes and generators (RHEL-84057)
-- Ensure binary and source headers are identified as such (RHEL-87383)
-
-* Thu Apr 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-14
-- Store configurable digest(s) on packages in rpmdb (RHEL-84062)
-- Fix command references in rpmsign(8) man page, take II (RHEL-73173)
-
-* Tue Apr 22 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-13
-- Make %%_passwd_path and %%_group_path into lists (RHEL-78693)
-- Fix memory leak in rpmspec --shell (RHEL-55284)
-- Fix memory leak in rpmsign (RHEL-82284)
-- Fix command references in rpmsign(8) man page (RHEL-73173)
-- Fix exit code regression on update failure (RHEL-87384)
-
-* Fri Feb 07 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-12
-- Rebuild for ima-evm-utils 1.6 soname bump (RHEL-65378)
-
-* Fri Jan 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-11
-- Fix possible package corruption on --delsign/resign/addsign (RHEL-69518)
-- Fix regression on build-id generation from compressed ELF (RHEL-54000)
-- Fix root relocation regression (RHEL-56613)
-- Update sequoia macros for sq 1.0 (RHEL-56363)
-
-* Mon Jan 13 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-10
-- Report unsafe symlinks during installation as a specific case (RHEL-73186)
-- Fix FA_TOUCH'ed files getting removed on failed update (RHEL-54386)
-- Rebuild for ima-evm-utils 1.6 soname bump (RHEL-65378)
-
-* Wed Dec 04 2024 Panu Matilainen <pmatilai@redhat.com> - 4.19.1.1-9
-- Revert the gnupg/sequoia sub-packages, too much headache
-- Ship sequoia-signing enablement macros as documentation instead
-- Generate binary signatures with Sequoia too
-
-* Tue Nov 12 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-8
-- Add Sequoia signing support back
-
-* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4.19.1.1-7
-- Bump release for October 2024 mass rebuild:
- Resolves: RHEL-64018
-
-* Fri Oct 25 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-6
-- Revert Sequoia signing support for now, breaks CI
-
-* Fri Oct 25 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-5
-- Fix Conflicts in new rpm-sign backends
-
-* Mon Oct 14 2024 Panu Matilainen <pmatilai@redhat.com> - 4.19.1.1-4
-- Remove hardcoded GPG references from signing error messages
-- Support switching between GnuPG and Sequoia for package signing (RHEL-56363)
-
-* Tue Aug 13 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-3
-- Fix potential use of uninitialized pipe array (RHEL-54012)
-- Fix potential use of uninitialized pgp struct (RHEL-54013)
-- Fix memory leak in rpmsign(8) (RHEL-37564)
-
-* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.19.1.1-2
-- Bump release for June 2024 mass rebuild
-
-* Wed Feb 07 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-1
-- Update to 4.19.1.1 (https://rpm.org/wiki/Releases/4.19.1.1)
-
-* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Fri Dec 15 2023 Panu Matilainen <pmatilai@redhat.com> - 4.19.1-2
-- Fix bogus warnings about runaway Lua scripts (#2254463)
-
-* Tue Dec 12 2023 Michal Domonkos <mdomonko@redhat.com> - 4.19.1-1
-- Update to 4.19.1 (https://rpm.org/wiki/Releases/4.19.1)
-
-* Thu Nov 30 2023 Stephen Gallagher <sgallagh@redhat.com> - 4.19.0-3
-- Fix issues with %%getncpus sometimes returning 0 on i686 systems
-
-* Mon Nov 13 2023 Panu Matilainen <pmatilai@redhat.com> - 4.19.0-2
-- Ensure central package ops log via rpm-plugin-audit recommends (#1476926)
-- Own our Python module directory (#2248555)
-- Fix sysusers.d generator barfing on legit content (#2246236)
-
-* Tue Sep 19 2023 Michal Domonkos <mdomonko@redhat.com> - 4.19.0-1
-- Update to 4.19.0
-
-* Mon Sep 04 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.99-1
-- Update to 4.19 rc1
-
-* Tue Aug 22 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.92-3
-- Fix regression on uncompressing 7zip compressed sources (#2229984)
-- Fix a conflict with pre-existing scl-utils %_root_prefix macro (#2233454)
-
-* Mon Aug 21 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.92-2
-- Behave more consistently when target %%optflags are not defined (#2231727)
-
-* Wed Aug 02 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.92-1
-- Update to 4.19 beta
-
-* Tue Jul 25 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 4.18.91-9
-- Drop fsverity plugin from RHEL builds
-
-* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.91-8
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
-
-* Wed Jun 28 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-7
-- Rebuilt for Python 3.12
-
-* Wed Jun 28 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-6
-- Fix a spec parsing error handling regression
-- Fix a per-file plugin hook regression
-
-* Tue Jun 27 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-5
-- Fix potential crash with multiple in-process sqlite uses
-
-* Mon Jun 26 2023 Python Maint <python-maint@redhat.com> - 4.18.91-4
-- Rebuilt for Python 3.12
-
-* Wed Jun 21 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-3
-- Enable user/group provide generation
-- Add a conflict for systemd versions carrying their own
-
-* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.18.91-2
-- Rebuilt for Python 3.12
-
-* Fri Jun 09 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.91-1
-- Update to 4.19 alpha2
-
-* Thu Jun 08 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 4.18.90-10
-- Rebuild for ima-evm-utils 1.5 soname bump
-
-* Mon May 29 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.90-9
-- Revert %%_smp_build_ncpus macro changing to parametric (#2210347)
-
-* Thu May 25 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-8
-- Set %_sharedstatedir to /var/lib (#2209989)
-
-* Thu May 25 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-7
-- Remove compat links for old so name of the libraries
-- Remove compat forward ports for libdnf
-
-* Mon May 22 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-6
-- Fix undefined symbols from plugins
-
-* Wed May 17 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-5
-- Use mkdir -p for creating SPECPARTS dir
-
-* Wed May 17 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-4
-- Enable large file support on 32-bit systems again
-
-* Mon May 15 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-3
-- Fix libbzip2 detection
-
-* Thu May 11 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-2
-- Add compat links for building dnf and friends
-
-* Thu May 04 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-1
-- Update to 4.19 alpha
-
-* Tue Apr 25 2023 Miro Hrončok <mhroncok@redhat.com> - 4.18.1-3
-- Explicitly require rpm-sequoia >= 1.4.0 on runtime to avoid
- rpm: symbol lookup error: /lib64/librpmio.so.9: undefined symbol: _pgpVerifySignature2
-
-* Thu Apr 20 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.1-2
-- Backport improved crypto error messages from upstream
-
-* Wed Mar 15 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.1-1
-- Rebase to rpm 4.18.1 (https://rpm.org/wiki/Releases/4.18.1)
-
-* Thu Feb 16 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-11
-- Disable debuginfod lookups in rpmbuild scripts
-- Exclude kernel modules from ELF dependency generation
-
-* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.0-10
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Mon Jan 09 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-9
-- Generate Python egg-info from automake (#2135561)
-- Drop setup.py-based Python build (#2135719)
-
-* Wed Dec 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-8
-- Fix hang-up on failed key import (related to #2149762)
-
-* Thu Nov 24 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-7
-- Require rpm-sequoia >= 1.2.0 for V3 signature support, re-enable (#2141686)
-
-* Thu Nov 10 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-6
-- Revert back to internal OpenPGP parser for V3 signature support (#2141686)
-
-* Tue Nov 01 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-5
-- Switch to Sequoia crypto (https://fedoraproject.org/wiki/Changes/RpmSequoia)
-
-* Fri Oct 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-4
-- Add an option for building with Sequoia crypto
-
-* Wed Oct 05 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-3
-- Break ancient rpm <-> rpm-libs ordering loop
-
-* Mon Oct 03 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-2
-- Drop the temporary build-dependency on pandoc before it grows a beard
-- Start utilizing %%patchlist, finally
-
-* Wed Sep 21 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-1
-- Rebase to rpm 4.18.0 (https://rpm.org/wiki/Releases/4.18.0)
-
-* Wed Sep 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.4
-- Fix a largish directory walk related memory leak in transactions
-
-* Wed Sep 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.3
-- Fix buffer overrun on rpmdb queries involving ^ in version
-
-* Wed Sep 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.2
-- Break selinux-policy <-> rpm-plugin-selinux ordering loop (#1851266)
-
-* Fri Sep 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.1
-- Rebase to 4.18.0-rc1 (https://rpm.org/wiki/Releases/4.18.0)
-
-* Tue Aug 02 2022 Michal Domonkos <mdomonko@redhat.com> - 4.18.0-0.beta1.4
-- Revert %%autosetup -S git patch due to another regression
-
-* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.0-0.beta1.3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Mon Jul 11 2022 Michal Domonkos <mdomonko@redhat.com> - 4.18.0-0.beta1.2
-- Fix check-buildroot regression wrt bundled SRPM (#2104150)
-- Fix %%autosetup -S git regression wrt default git branch
-
-* Tue Jun 28 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.beta1.1
-- Rebase to 4.18.0-beta1 (https://rpm.org/wiki/Releases/4.18.0)
-
-* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.18.0-0.alpha2.2
-- Rebuilt for Python 3.11
-
-* Mon May 23 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha2.1
-- Rebase to 4.18.0-0.alpha2
-- Prevent uncontrolled sqlite WAL growth during large transactions
-
-* Thu Apr 28 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.6
-- Fix rubygem unpack regression, causing rubygem builds to fail
-
-* Wed Apr 27 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.5
-- Fix verbose source uncompress regression (#2079127)
-
-* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.4
-- Further dynamic buildrequires cli switch regression fixes (#2078744)
-
-* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.3
-- Fix rpmbuild -ba --nodeps regression wrt dynamic buildrequires (#2078744)
-
-* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.2
-- Fix rpmbuild -br not producing a src.rpm regression (#2078744)
-
-* Mon Apr 25 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.1
-- Rebase to 4.18.0 alpha (https://fedoraproject.org/wiki/Changes/RPM-4.18)
-- Add patches for two late discovered regressions
-
-* Mon Mar 21 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-10
-- Create rpmdb directory symlink in posttrans by default (#2066427)
-
-* Wed Feb 16 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-9
-- Add dependencies for the rpmdb migration scriptlet (#2055033)
-
-* Wed Feb 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-8
-- Really fix spurious %%transfiletriggerpostun execution (#2023311, #2048168)
-
-* Wed Jan 26 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-7
-- Migrate rpmdb to /usr/lib/sysimage/rpm (#2042099)
- https://fedoraproject.org/wiki/Changes/RelocateRPMToUsr
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Thu Jan 20 2022 Björn Esser <besser82@fedoraproject.org> - 4.17.0-5
-- Rebuild (ima-evm-utils)
-- Use baserelease for rpm release tag to make rpmdev-bumpspec work
-
-* Fri Jan 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-4
-- Fix spurious %%transfiletriggerpostun execution (#2023311)
-
-* Fri Jan 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-3
-- Fix fapolicyd plugin dependencies to replace fapolicyd-dnf-plugin (#2007639)
-
-* Mon Nov 08 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 4.17.0-2
-- Rebuils for ima-evm-utils 1.4 soname bump
-
-* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 4.17.0-1.1
-- Rebuilt with OpenSSL 3.0.0
-
-* Fri Sep 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-1
-- Rebase to 4.17.0 final (https://rpm.org/wiki/Releases/4.17.0)
-
-* Thu Aug 19 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-0.rc1.1
-- Rebase to 4.17.0 rc1
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-0.beta1.0.2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Tue Jun 22 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-0.beta1.1
-- Rebase to 4.17.0 beta1
-- Add back /usr/lib/rpm/find-debuginfo.sh as a compat symlink
-- Add temporary buildrequire on pandoc due to makefile bugs in beta1
-
-* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 4.16.90-0.git15395.8.1
-- Rebuilt for Python 3.10
-
-* Mon May 17 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.8
-- Switch to external debugedit
-
-* Mon May 17 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.7
-- Handle different find-debuginfo.sh location with external debugedit
-
-* Fri May 07 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.6
-- Fix regression causing a crash on Lua state reset (#1958095)
-
-* Thu Apr 29 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.5
-- Proper fix for comments affecting macro file parsing (#1953910)
-
-* Tue Apr 27 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.4
-- Enable fapolicyd plugin build
-
-* Tue Apr 27 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.3
-- Temporarily revert macro file loading fix due to regression #1953910
-
-* Mon Apr 26 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.2
-- Add a bcond to build with external debugedit
-
-* Mon Apr 26 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.1
-- Rebase to rpm 4.17.0 alpha (https://rpm.org/wiki/Releases/4.17.0)
-- Drop a local hack for a cosmetic Fedora 22 era rpm2cpio issue
-- Drop BDB support leftovers from the spec
-- Add build conditional for fsverity plugin
-
-* Mon Mar 22 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.3-1
-- Rebase to rpm 4.16.1.3 (https://rpm.org/wiki/Releases/4.16.1.3)
-
-* Wed Feb 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-6
-- Drop support for read-write Berkeley DB format (#1787311)
-
-* Wed Feb 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-5
-- Make with/without bdb build option actually work
-- Clean up unpackaged /var/tmp from the build root
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.1.2-4.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Fri Jan 22 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-4
-- Fix edit_attributes_str_comp_dir in Patch916 (#1919107)
-
-* Tue Jan 19 2021 Jeff Law <law@redhat.com> - 4.16.1.2-3
-- Fix typo in test for F33 or newer
-
-* Tue Jan 19 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-2
-- Add debugedit DWARF5 support
-
-* Wed Dec 16 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-1
-- Rebase to rpm 4.16.1.2 (http://rpm.org/wiki/Releases/4.16.1.2)
-- Add a spec safeguard for accidental soname bumps
-
-* Wed Dec 16 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.1-1
-- Rebase to rpm 4.16.1.1 (http://rpm.org/wiki/Releases/4.16.1.1)
-
-* Thu Dec 10 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1-1
-- Rebase to rpm 4.16.1 (http://rpm.org/wiki/Releases/4.16.1)
-
-* Mon Nov 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-5
-- Only disable test-suite where it's actually broken
-
-* Mon Nov 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-4
-- Fix BDB crashing on failed open attempts (#1902395, #1898299, #1900407)
-- Fix unnecessary double failure on lazy keyring open
-
-* Wed Oct 28 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-3
-- Issue deprecation warning when creating BDB databases (#1787311)
-- Temporarily disable test-suite due to massive fakechroot breakage
-
-* Mon Oct 05 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-2
-- Clean up after test-suite which leaves a read-only tree behind
-
-* Wed Sep 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-1
-- Rebase to 4.16.0 final (https://rpm.org/wiki/Releases/4.16.0)
-
-* Mon Aug 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.rc1.1
-- Rebase to 4.16.0-rc1
-- Run test-suite in parallel
-
-* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-0.beta3.2.3
-- Second attempt - Rebuilt for
- https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-0.beta3.2.2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Sun Jul 26 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.16.0-0.beta3.2.1
-- rebuild for ima-evm-utils 1.3
-
-* Mon Jun 29 2020 Tom Callaway <spot@fedoraproject.org> - 4.16.0-0.beta3.2
-- rebuild for lua 5.4
-
-* Wed Jun 24 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta3.1
-- Rebase to beta3
-
-* Wed Jun 10 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.4
-- Fix prefix search on sqlite backend (many file triggers not running)
-
-* Mon Jun 8 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.3
-- Unbreak metainfo() provide generation
-
-* Wed Jun 3 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.2
-- Don't auto-enable _flush_io on non-rotational media, it's too costly
-
-* Mon Jun 1 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.1
-- Rebase to rpm 4.16.0-beta1
-
-* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 4.15.90-0.git14971.12.1
-- Rebuilt for Python 3.9
-
-* Tue May 12 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.12
-- Fix segfault when trying to use unknown database backend
-
-* Thu May 7 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.11
-- Flag BDB databases for rebuild on next reboot whenever rpm is updated
-- Switch default database to sqlite (#1818910)
-
-* Mon May 4 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.10
-- Handle rpmdb-rebuild service enablement for upgrades
-
-* Thu Apr 23 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.9
-- Fix questionable uses of %%{name} and %%{version} in the spec
-
-* Wed Apr 22 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.8
-- Fix regression(s) on build dependency resolution
-
-* Wed Apr 22 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.7
-- Add rpmdb-rebuild systemd service
-
-* Fri Apr 17 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.6
-- Warn on undefined macros in buildtree setup macros (#1820349)
-
-* Thu Apr 09 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.5
-- Fix regression causing all ELF files classified as OCaml
-
-* Mon Apr 06 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.4
-- Fix invalid path passed to parametric macro generators
-
-* Thu Apr 02 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.3
-- Fix db lock files not getting packaged
-
-* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.2
-- Move bdb specific systemd-tmpfiles cleanup crutch behind the bdb bcond
-
-* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.1
-- Rebase to rpm 4.16 alpha (https://rpm.org/wiki/Releases/4.16.0)
-- Add bconds for and enable sqlite, ndb and bdb_ro database backends
-- Add bcond for disabling bdb backend
-- Drop lmdb bcond, the backend was removed upstream
-- Ensure all database backend files are owned
-- Fix external environment causing test-suite failures in spec build
-- Re-enable hard test-suite failures again
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.1-2.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Thu Jan 9 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.1-2
-- Obsolete python2-rpm to fix upgrade path (#1775113)
-
-* Mon Nov 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.1-1
-- Rebase to 4.15.1 (https://rpm.org/wiki/Releases/4.15.1)
-
-* Thu Nov 14 2019 Adam Williamson <awilliam@redhat.com> - 4.15.0-7
-- Really revert armv8 detection improvements (patch was not applied in -6)
-
-* Wed Oct 23 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.15.0-6
-- Revert armv8 detection improvements
-
-* Mon Oct 21 2019 Stephen Gallagher <sgallagh@redhat.com> - 4.15.0-5
-- Revert aliasing arm64 to aarch64
-- Resolves: rhbz#1763831
-
-* Fri Oct 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-4
-- Revert problematic sub-variants of armv8 (#1691430)
-
-* Thu Oct 17 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-3
-- Drop python2 bindings for good (#1761211)
-
-* Tue Oct 15 2019 Adam Williamson <awilliam@redhat.com> - 4.15.0-2
-- Revert systemd inhibit plugin's calling of dbus_shutdown (#1750575)
-
-* Thu Sep 26 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-1
-- Update to 4.15.0 final (https://rpm.org/wiki/Releases/4.15.0)
-
-* Wed Aug 28 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.rc1.1
-- Update to 4.15.0-rc1
-
-* Tue Aug 27 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.6
-- Fix some issues in the thread cap logic
-
-* Mon Aug 26 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.5
-- Re-enable test-suite, temporarily disabled during alpha troubleshooting
-
-* Fri Aug 23 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.4
-- Cap number of threads on 32bit platforms (#1729382)
-- Drop %%_lto_cflags macro (reverted upstream)
-
-* Fri Aug 23 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.3
-- Restore strict order of build scriptlet stdout/stderr output
-
-* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 4.15.0-0.beta.2.3
-- Rebuilt for Python 3.8
-
-* Wed Jul 31 2019 Miro Hrončok <mhroncok@redhat.com> - 4.15.0-0.beta.2.2
-- Rebuilt for libimaevm.so.1
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.0-0.beta.2.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Sat Jul 20 18:30:10 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.15.0-0.beta.2
-- Backport patch to not set RPMTAG_BUILDTIME to SOURCE_DATE_EPOCH
-
-* Thu Jun 27 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.1
-- Rebase to 4.15.0 beta
-
-* Thu Jun 20 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.18
-- Fix excessive TLS use, part II (#1722181)
-
-* Thu Jun 20 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.17
-- Fix excessive TLS use (#1722181)
-
-* Wed Jun 19 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.16
-- Drop buildarch again now that python_provide no longer needs it (#1720139)
-
-* Fri Jun 14 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.15
-- Temporarily re-enable buildarch macro for python_provide macro use (#1720139)
-
-* Thu Jun 13 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.14
-- Don't fail build trying to kill a non-existent process (#1720143)
-
-* Tue Jun 11 14:59:16 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.13
-- Fix build of binary packages in parallel
-
-* Tue Jun 11 00:08:50 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.10
-- Revert generation of binary packages in parallel
-
-* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.1
-- Update to 4.15.0 alpha
-
-* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-14
-- Drop support for sanitizer build, it never really worked anyway
-- Drop leftover build-dependency on binutils-devel
-- Truncate changelog to rpm 4.14.x (last two years)
-
-* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-13
-- Drop support for Fedora < 28 builds
-- Drop leftover BDB-related compiler flag foo
-
-* Fri Jun 07 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-12
-- Use pre-determined buildhost in test-suite to avoid DNS usage
-- Drop obsolete specspo and gpg2 related patches
-
-* Fri Jun 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-11
-- Use py2/3 macros for building and installing the bindings
-
-* Tue May 21 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-10
-- Support build-id generation from compressed ELF files (#1650072)
-
-* Fri May 03 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-9
-- Suggest gdb-minimal
-
-* Thu Apr 25 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-8
-- Replace deprecated __global_ldflags uses with build_ldflags macro
-
-* Thu Apr 11 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-7
-- Fix excessive reference counting on faked string .decode()
-
-* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-6
-- Unbreak Python 3 API by returning string data as surrogate-escaped utf-8
- string objects instead of bytes (#1693751)
-- As a temporary crutch, monkey-patch a .decode() method to returned strings
- to give users time to migrate from the long-standing broken behavior
-
-* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-5
-- Generate minidebug for PIE executables on file >= 5.33 too
-- Backport find-debuginfo --g-libs option for glibc's benefit (#1661512)
-
-* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2.1-4.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Wed Dec 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-4
-- Backport the new modularity label tag (#1650286)
-
-* Mon Nov 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-3
-- Take prefix into account when compressing man pages etc for Flatpak builds
-
-* Wed Oct 24 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-2
-- Selinux plugin requires a base policy to work (#1641631)
-
-* Mon Oct 22 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-1
-- Rebase to rpm 4.14.2.1 (http://rpm.org/wiki/Releases/4.14.2.1)
-
-* Wed Oct 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-9
-- Push name/epoch/version/release macro before invoking depgens
-
-* Tue Oct 16 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-8
-- Resurrect long since broken Lua library path
-
-* Fri Oct 12 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-7
-- Actually fail build on test-suite failures again
-- Invoke python2 explicitly from test-suite to unbreak build, part II
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-6
-- Drop duplicate BDB buildrequire
-- Drop nowadays unnecessary BDB macro foo
-- Drop nowadays unnecessary manual libcap dependency
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-5
-- Own all rpmdb files and ensure the list remains up to date
-- Drop redundant verify exclusions on rpmdb ghosts
-- Fix build when systemd is not installed (duh)
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-4
-- Erm, really use the macro for tmpfiles.d path
-- Erm, don't nuke buildroot at beginning of %%install
-- Use modern build/install helper macros
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-3
-- Eh, selinux plugin dependency condition was upside down (#1493267)
-- Drop no longer necessary condition over imaevm name
-- Drop no longer necessary obsolete on compat-librpm3
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-2
-- Fix ancient Python GIL locking bug (#1632488)
-- Use the appropriate macro for tmpfiles.d now that one exists
-
-* Tue Aug 21 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-1
-- Update to rpm 4.14.2 final (http://rpm.org/wiki/Releases/4.14.2)
-
-* Mon Aug 13 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.2
-- Move python-macro-helper to main package where the macros are (#1577860)
-
-* Wed Aug 08 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.1
-- Update to rpm 4.14.2-rc2
-
-* Sat Jul 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-0.rc1.2
-- Decompress DWARF compressed ELF sections
-
-* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2-0.rc1.1.2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.2-0.rc1.1.1
-- Rebuilt for Python 3.7
-
-* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc1.1
-- Update to rpm 4.14.2-rc1
-- Patching test-suite for python2 too painful, just sed it instead
-- Fix premature version increment from previous changelog entries, oops
-
-* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-13
-- Ehm, need to patch the autogenerated rpmtests script too for python2
-- Ehm, it's ldconfig_scriptlets not scripts
-- Drop the non-working python envvar magic from obsoleted change
-
-* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-12
-- Invoke python2 explicitly from test-suite to unbreak build
-
-* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-11
-- Remove direct ldconfig calls, use compat macros instead
-
-* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10.1
-- Rebuilt for Python 3.7
-
-* Mon May 28 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10
-- Backport upstream solution to make brp-python-bytecompile automagic part opt-outable
- https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation
-
-* Tue May 22 2018 Mark Wielaard <mjw@fedoraproject.org> - 4.14.1-9
-- find-debuginfo.sh: Handle application/x-pie-executable (#1581224)
-
-* Tue Feb 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-8
-- Split rpm-build-libs to one more subpackage rpm-sign-libs
-
-* Mon Feb 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-7
-- Explicitly BuildRequire gcc and make
-
-* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-6.1
-- Escape macros in %%changelog
-
-* Wed Jan 31 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-6
-- Avoid unnecessary macro helper dependency on /usr/bin/python (#1538657)
-- Fix release of previous changelog entry
-
-* Tue Jan 30 2018 Tomas Orsava <torsava@redhat.com> - 4.14.1-5
-- Add envvar that will be present during RPM build,
- Part of a Fedora Change for F28: "Avoid /usr/bin/python in RPM build"
- https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
-
-* Tue Jan 30 2018 Petr Viktorin <pviktori@redhat.com> - 4.14.1-4
-- Skip automatic Python byte-compilation if *.py files are not present
-
-* Thu Jan 25 2018 Florian Weimer <fweimer@redhat.com> - 4.14.1-3
-- Rebuild to work around gcc bug leading to librpm miscompilation (#1538648)
-
-* Thu Jan 18 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-2
-- Avoid nuking the new python-macro-helper along with dep generators (#1535692)
-
-* Tue Jan 16 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-1
-- Rebase to rpm 4.14.1 (http://rpm.org/wiki/Releases/4.14.1)
-
-* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-5
-- Fix typo in Obsoletes
-
-* Mon Nov 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-4
-- Remove platform-python bits
-
-* Thu Oct 26 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-3
-- Move selinux plugin dependency to selinux-policy in Fedora >= 28 (#1493267)
-
-* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-2
-- Dump out test-suite log in case of failures again
-- Don't assume per-user groups in test-suite
-
-* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-1
-- Rebase to rpm 4.14.0 final (http://rpm.org/wiki/Releases/4.14.0)
-
-* Tue Oct 10 2017 Troy Dawson <tdawson@redhat.com> - 4.14.0-0.rc2.6
-- Cleanup spec file conditionals
-
-* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.5
-- Add build conditionals for zstd and lmdb support
-- Enable zstd support
-
-* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.4
-- Spec cleanups
-
-* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.3
-- BuildRequire gnupg2 for the testsuite
-
-* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.2
-- ima-evm-utils only has a -devel package in fedora >= 28
-
-* Thu Sep 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.1
-- Rebase to rpm 4.14.0-rc2 (http://rpm.org/wiki/Releases/4.14.0)
-
-* Mon Sep 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.3
-- Fix Ftell() past 2GB on 32bit architectures (#1492587)
-
-* Thu Sep 07 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.2
-- Actually honor with/without libimaevm option
-- ima-evm-utils-devel >= 1.0 is required for rpm >= 4.14.0
-
-* Wed Sep 06 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.1
-- Rebase to rpm 4.14.0-rc1 (http://rpm.org/wiki/Releases/4.14.0)
-- Re-enable SHA256 header digest generation (see #1480407)
-
-* Mon Aug 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.8
-- Band-aid for DB_VERSION_MISMATCH errors on glibc updates (#1465809)
-
-* Thu Aug 24 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.7
-- Remove ugly kludges from posttrans script, BDB handles this now
-
-* Fri Aug 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.6
-- Silence harmless but bogus error message on noarch packages (#1482144)
-
-* Thu Aug 17 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14002.5
-- Build with platform_python
-
-* Mon Aug 14 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14000.4
-- Add platform-python bytecompilation patch: platform-python-bytecompile.patch
-- Add platform python deps generator patch: platform-python-abi.patch
-- Add a platform-python subpackage and remove system python related declarations
-- Build rpm without platform_python for bytecompilation
- (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)
-
-* Mon Aug 14 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.3
-- Disable macro argument quoting as a band-aid to #1481025
-
-* Fri Aug 11 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.2
-- Disable SHA256 header-only digest generation temporarily (#1480407)
-
-* Thu Aug 10 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.1
-- Rebase to rpm 4.13.90 aka 4.14.0-alpha (#1474836)
-
^ permalink raw reply related [flat|nested] 3+ messages in thread* [rpms/python3-rpm] epel10.3: Merge c10s into epel10
@ 2026-11-16 11:10
0 siblings, 0 replies; 3+ messages in thread
From: @ 2026-11-16 11:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python3-rpm
Branch : epel10.3
Commit : 81de3982f0c5293fda5339275fbcc3720a5bebab
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-11-16T11:46:00+01:00
Stats : +1401/-1521 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/python3-rpm/c/81de3982f0c5293fda5339275fbcc3720a5bebab?branch=epel10.3
Log:
Merge c10s into epel10
---
diff --git a/0001-Fix-rpopen-rpclose-and-make-them-more-POSIXy.patch b/0001-Fix-rpopen-rpclose-and-make-them-more-POSIXy.patch
new file mode 100644
index 0000000..a4bb9a9
--- /dev/null
+++ b/0001-Fix-rpopen-rpclose-and-make-them-more-POSIXy.patch
@@ -0,0 +1,153 @@
+From 5fb7097ed422b894c6a4451edb4637260465ea38 Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Tue, 3 Nov 2026 08:48:11 +0100
+Subject: [PATCH] Fix rpopen()/rpclose() and make them more POSIXy
+
+Commit 7a4111bc5db4053e5381b65306903837763e7f11 introduced this new pair
+of drop-in replacements for popen()/pclose() but did so somewhat poorly.
+Apart from obvious bugs, there are various less obvious issues that make
+the functions ever so slightly not POSIX conforming. We are not shipping
+them in a generic library, obviously, but the internal callers that used
+to call the original functions could, at least in theory, be affected in
+some unexpected ways and cause regressions.
+
+Namely, the following issues were found:
+
+- rpclose() returned the extracted exit status from the child instead of
+ the original status from waitpid(2), which caused a child exit status
+ of 128 to be considered a "success" in rpmuncompress, oops
+- rpclose() waited on any child, not just the one spawned with rpopen()
+- EINTR wasn't ignored while busy waiting in rpclose()
+- pipe ends weren't always closed in case of failures
+- rpclose() only closed the stream after waiting on the child
+- the child didn't return 127 if the shell couldn't be invoked
+- the shell command didn't use -- to signal the end of options
+
+Fix the issues, and while at it, name the FILE pointer "fp" rather than
+"stream" and use do-while rather than while, for better consistency with
+the existing code as well as readability. Also do some refactoring there
+and add a couple of comments.
+
+Related: CVE-2026-84837, CVE-2026-84838
+Fixes: #4385
+(cherry picked from commit b9127abde15ec1a5d936891f7d5f78ddc5b689ff)
+---
+ tools/cliutils.c | 58 +++++++++++++++++++++++++++++-------------------
+ tools/cliutils.h | 2 +-
+ 2 files changed, 36 insertions(+), 24 deletions(-)
+
+diff --git a/tools/cliutils.c b/tools/cliutils.c
+index bf135ba40..c16f49f1c 100644
+--- a/tools/cliutils.c
++++ b/tools/cliutils.c
+@@ -11,6 +11,7 @@
+ #include "debug.h"
+
+ static pid_t pipeChild = 0;
++static pid_t rpopenChild = 0;
+
+ RPM_GNUC_NORETURN
+ void argerror(const char * desc)
+@@ -86,53 +87,64 @@ int finishPipe(void)
+
+ FILE* rpopen(const char *cmd, const char *arg, ...)
+ {
+- FILE *stream = NULL;
++ FILE *fp = NULL;
++ int pipefd[2];
+ ARGV_t argv = NULL;
+ va_list ap;
+- int pipefd[2];
+- pid_t pid;
+
+ if (pipe(pipefd) < 0)
+- goto exit;
++ return NULL;
++
++ if ((fp = fdopen(pipefd[0], "r")) == NULL) {
++ close(pipefd[0]);
++ close(pipefd[1]);
++ return NULL;
++ }
+
+ argvAdd(&argv, "/bin/sh");
+ argvAdd(&argv, "-c");
+- argvAdd(&argv, cmd);
+- argvAdd(&argv, "sh");
++ argvAdd(&argv, "--");
++ argvAdd(&argv, cmd); /* User command */
++ argvAdd(&argv, "sh"); /* Shell name ($0) */
+
++ /* User positional parameters ($1, $2, ...) */
+ va_start(ap, arg);
+ for (const char *s = arg; s != NULL; s = va_arg(ap, const char *))
+ argvAdd(&argv, s);
+ va_end(ap);
+
+- if ((pid = fork()) == 0) {
++ if ((rpopenChild = fork()) == 0) {
+ dup2(pipefd[1], STDOUT_FILENO);
++ close(pipefd[1]);
+ close(pipefd[0]);
+ execv(argv[0], argv);
+- _exit(EXIT_FAILURE);
+- } else if (pid == -1) {
+- goto exit;
++ _exit(127);
++ } else if (rpopenChild == -1) {
++ fclose(fp);
++ fp = NULL;
+ }
+
+ close(pipefd[1]);
+- stream = fdopen(pipefd[0], "r");
+-
+-exit:
+ argvFree(argv);
+- return stream;
++
++ return fp;
+ }
+
+-int rpclose(FILE *stream)
++int rpclose(FILE *fp)
+ {
+- int rc = -1;
+- int status;
++ int status = -1;
++ pid_t reaped;
+
+- if ((waitpid(-1, &status, 0) == -1) || !WIFEXITED(status))
+- goto exit;
++ if (rpopenChild <= 0)
++ return -1;
+
+- rc = WEXITSTATUS(status);
++ fclose(fp);
++ do {
++ reaped = waitpid(rpopenChild, &status, 0);
++ } while (reaped == -1 && errno == EINTR);
+
+-exit:
+- fclose(stream);
+- return rc;
++ if (reaped == -1)
++ return -1;
++
++ return status;
+ }
+diff --git a/tools/cliutils.h b/tools/cliutils.h
+index 4aee1ae72..600ccfa95 100644
+--- a/tools/cliutils.h
++++ b/tools/cliutils.h
+@@ -28,6 +28,6 @@ int finishPipe(void);
+ * $2, and so on.
+ */
+ FILE *rpopen(const char *cmd, const char *arg, ...) RPM_GNUC_NULL_TERMINATED;
+-int rpclose(FILE *stream);
++int rpclose(FILE *fp);
+
+ #endif /* _CLIUTIL_H */
+--
+2.56.0
+
diff --git a/python3-rpm.spec b/python3-rpm.spec
index 2ba3203..af92190 100644
--- a/python3-rpm.spec
+++ b/python3-rpm.spec
@@ -30,7 +30,7 @@
%global rpmver 4.19.1.1
#global snapver rc1
-%global baserelease 28
+%global baserelease 29
%global sover 10
%global rhelrel %{baserelease}
@@ -204,6 +204,7 @@ rpm-4.19.x-improve-syslog.patch
0003-Drop-leftover-filename-arg-from-doUncompress.patch
0004-Rename-a-parameter-name-in-doUntar.patch
0005-Prevent-shell-injection-via-RubyGem-filenames.patch
+0001-Fix-rpopen-rpclose-and-make-them-more-POSIXy.patch
# These are not yet upstream
rpm-4.7.1-geode-i686.patch
@@ -340,6 +341,9 @@ rm -r %{buildroot}%{_sysconfdir}
}}
%changelog
+* Mon Nov 09 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-29
+- Fix rpopen()/rpclose() and make them more POSIXy (RHEL-288156)
+
* Wed Oct 21 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-28
- CVE-2026-84233: Prevent macro injection via .gem filenames (RHEL-288155)
- CVE-2026-84837: Prevent command injection via rpmbuild -t filename (RHEL-288156)
diff --git a/macros.foreach b/macros.foreach
new file mode 100644
index 0000000..e554248
--- /dev/null
+++ b/macros.foreach
@@ -0,0 +1,29 @@
+# This is a naïve implementation of a forach RPM macro.
+# It allows to repeat blocks in the specfile for different Python versions by using
+# %{foreach -m python3_pkgversion 3.13 3.14 %{quote:...}}
+# Or, less boilerplaty:
+# %global python3_pkgversions 3.13 3.14
+# %{foreachpy %{quote:...}}
+# However note that any macro which value depends on %python3_pkgversion
+# needs to be escaped in the %{quote:...} block.
+# Similarily, some special macro-looking things in %files (like %license)
+# need to be double-escaped (%%%%license) or else they expand to the actual License.
+
+%foreach(m:) %{lua:
+ if opt.m == nil or opt.m == "" then
+ rpm.expand("%{error:%%foreach requires -m <macro_name>}")
+ end
+ if #arg < 2 then
+ rpm.expand("%{error:%%foreach requires at least one macro value and a template string}")
+ end
+ -- The string template is the last argument
+ local template = arg[#arg]
+ for i = 1, #arg-1 do
+ rpm.define(opt.m .. " " .. arg[i])
+ print(rpm.expand(template))
+ print("\\n")
+ rpm.undefine(opt.m)
+ end
+}
+
+%foreachpy() %{foreach -m python3_pkgversion %{python3_pkgversions} %{quote:%1}}
diff --git a/plans/python-mockbuild.fmf b/plans/python-mockbuild.fmf
index 52c8183..4dd7fa4 100644
--- a/plans/python-mockbuild.fmf
+++ b/plans/python-mockbuild.fmf
@@ -1,3 +1,4 @@
+enabled: false # test makes no sense for python3.X-rpm
execute:
how: tmt
discover:
diff --git a/plans/python3.X-rpm.fmf b/plans/python3.X-rpm.fmf
new file mode 100644
index 0000000..72153cd
--- /dev/null
+++ b/plans/python3.X-rpm.fmf
@@ -0,0 +1,33 @@
+execute:
+ how: tmt
+
+prepare:
+ - name: Install dependencies
+ how: install
+ package:
+ - dnf
+ - $PYTHON
+ - $PYTHON-rpm
+ - name: Update packages
+ how: shell
+ script: dnf upgrade -y
+
+discover:
+ - name: $PYTHON
+ how: shell
+ tests:
+ - name: labelCompare
+ test: |
+ $PYTHON -c 'import rpm; assert rpm.labelCompare("1:2.3-4", "1:2.3-1") == 1'
+ - name: TransactionSet
+ test: |
+ $PYTHON -c 'import rpm; ts = rpm.TransactionSet(); mi = ts.dbMatch("name", "$PYTHON-rpm"); assert mi.count() == 1'
+
+
+/python3.13:
+ environment:
+ PYTHON: python3.13
+
+/python3.14:
+ environment:
+ PYTHON: python3.14
diff --git a/python3-rpm.spec b/python3-rpm.spec
new file mode 100644
index 0000000..af92190
--- /dev/null
+++ b/python3-rpm.spec
@@ -0,0 +1,1180 @@
+# The Python versions we build for
+%global python3_pkgversions 3.13 3.14
+
+# build against xz?
+%bcond_without xz
+# build with plugins?
+%bcond_without plugins
+# build with libarchive? (needed for rpm2archive)
+%bcond_without libarchive
+# build with libimaevm.so
+%bcond_without libimaevm
+# build with fsverity support?
+%if 0%{?rhel}
+%bcond_with fsverity
+%else
+%bcond_without fsverity
+%endif
+# build with zstd support?
+%bcond_without zstd
+# build with ndb backend?
+%bcond_without ndb
+# build with sqlite support?
+%bcond_without sqlite
+# build with bdb_ro support?
+%bcond_without bdb_ro
+# build with sequoia crypto?
+%bcond_without sequoia
+
+%define rpmhome /usr/lib/rpm
+
+%global rpmver 4.19.1.1
+#global snapver rc1
+%global baserelease 29
+%global sover 10
+
+%global rhelrel %{baserelease}
+%global rel_next %{lua:print(tonumber(rpm.expand("%baserelease")) + 1)}
+%global rhelrel_next %{?snapver:0.%{snapver}.}%{rel_next}
+
+# Bump this for EPEL only rebuilds, reset when %%baserelease was bumped
+%global epelrelease 1
+
+%global srcver %{rpmver}%{?snapver:-%{snapver}}
+%global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{rpmver} | cut -d'.' -f1-2).x}
+
+Summary: Python 3.X packages with RPM bindings
+Name: python3-rpm
+Version: %{rpmver}
+Release: %{rhelrel}.%{epelrelease}%{?dist}
+Url: http://www.rpm.org/
+License: GPL-2.0-or-later
+Source0: http://ftp.rpm.org/releases/%{srcdir}/rpm-%{srcver}.tar.bz2
+
+Source10: rpmdb-rebuild.service
+
+Source20: rpmdb-migrate.service
+Source21: rpmdb_migrate
+
+Source30: macros.rpmsign-sequoia
+
+# EPEL-only macro helper
+Source90: macros.foreach
+%if %{exists:%{SOURCE90}}
+ %{load:%{SOURCE90}}
+%elif %{exists:macros.foreach}
+ # something is parsing the spec without %%_sourcedir macro properly set
+ %{load:macros.foreach}
+%endif
+
+# This prevents a build with uninstallable runtime Requires
+BuildRequires: (rpm-libs >= %{version}-%{rhelrel} with rpm-libs < %{version}-%{rhelrel_next})
+BuildRequires: rpm-sign-libs
+
+# XXX generally assumed to be installed but make it explicit as rpm
+# is a bit special...
+BuildRequires: redhat-rpm-config >= 94
+BuildRequires: systemd-rpm-macros
+BuildRequires: gcc make
+BuildRequires: cmake >= 3.18
+BuildRequires: gawk
+BuildRequires: elfutils-devel >= 0.112
+BuildRequires: elfutils-libelf-devel
+BuildRequires: readline-devel zlib-devel
+# The popt version here just documents an older known-good version
+BuildRequires: popt-devel >= 1.10.2
+BuildRequires: file-devel
+BuildRequires: gettext-devel
+BuildRequires: ncurses-devel
+BuildRequires: bzip2-devel >= 0.9.0c-2
+BuildRequires: lua-devel >= 5.1
+BuildRequires: libcap-devel
+BuildRequires: libacl-devel
+%if %{with xz}
+BuildRequires: xz-devel >= 4.999.8
+%endif
+%if %{with libarchive}
+BuildRequires: libarchive-devel
+%endif
+%if %{with zstd}
+BuildRequires: libzstd-devel
+%endif
+%if %{with sqlite}
+BuildRequires: sqlite-devel
+%endif
+
+# Needed for re-building the documentation and man pages
+# normally those are shipped in the tarball pre-build
+# but need re-building if sources are patched
+%if 0
+BuildRequires: pandoc
+BuildRequires: doxygen
+%endif
+
+
+%if %{with sequoia}
+%global crypto sequoia
+BuildRequires: rpm-sequoia-devel >= 1.9.0
+%else
+%global crypto openssl
+BuildRequires: openssl-devel
+%endif
+
+# Couple of patches change makefiles so, require for now...
+BuildRequires: automake libtool
+
+%if %{with plugins}
+BuildRequires: libselinux-devel
+BuildRequires: dbus-devel
+BuildRequires: audit-libs-devel
+%endif
+
+%if %{with libimaevm}
+BuildRequires: ima-evm-utils-devel >= 1.0
+%endif
+
+%if %{with fsverity}
+BuildRequires: fsverity-utils-devel
+%endif
+
+%patchlist
+# Set rpmdb path to /usr/lib/sysimage/rpm
+rpm-4.17.x-rpm_dbpath.patch
+# Disable autoconf config.site processing (#962837)
+rpm-4.18.x-siteconfig.patch
+# In current Fedora, man-pages pkg owns all the localized man directories
+rpm-4.9.90-no-man-dirs.patch
+# Disable new user/group handling
+
+rpm-4.18.92-disable-sysusers.patch
+rpm-4.18.90-weak-user-group.patch
+
+# Patches already upstream:
+0001-Fix-potential-use-of-uninitialized-pipe-array.patch
+0001-Fix-potential-use-of-uninitialized-pgp-struct.patch
+0001-Fix-memory-leak-in-rpmsign.patch
+
+0001-Refactor-sign-command-expand-and-parse-out-of-runGPG.patch
+0002-Eliminate-hardcoded-GPG-references-from-user-visible.patch
+0003-Declare-signCmd-static.patch
+
+0001-Report-unsafe-symlinks-during-installation-as-a-spec.patch
+0002-Fix-FA_TOUCH-ed-files-getting-removed-on-failed-upda.patch
+
+0001-Fix-possible-package-corruption-on-delsign-resign-ad.patch
+0002-Fix-regression-on-build-id-generation-from-compresse.patch
+0003-Fix-root-relocation-regression.patch
+
+0001-Make-_passwd_path-and-_group_path-lists.patch
+0002-Fix-memory-leak-in-rpmspec-shell.patch
+0003-Fix-memory-leak-in-runGPG.patch
+0004-Talk-about-rpmsign-in-the-rpmsign-man-page.patch
+0005-Revert-Drop-redundant-argument-from-rpmcliTransactio.patch
+0001-Store-configurable-digest-s-on-packages-from-verific.patch
+0001-Ensure-binary-and-source-headers-are-identified-as-s.patch
+0002-Add-support-for-spec-local-file-attributes-and-gener.patch
+
+rpm-4.19.x-rpmkeys-add-list-erase.patch
+
+# PQC readiness
+rpm-4.19.x-multisig.patch
+rpm-4.19.x-pqc-algo.patch
+rpm-4.19.x-pqc-fixes.patch
+
+0001-Really-allow-qualifiers-like-pre-post-meta-for-weak-.patch
+
+rpm-4.19.x-multisig-verify-fixes.patch
+rpm-4.19.x-nsswitch-enable.patch
+0001-Fix-empty-password-field-in-passwd-group-causing-ent.patch
+
+rpm-4.19.x-add-autosetup-C.patch
+rpm-4.19.x-add-parkdb.patch
+rpm-4.19.x-improve-syslog.patch
+0001-Prevent-buffer-overruns-in-findPreambleTag-for-langu.patch
+
+0001-Prevent-command-injection-via-rpmbuild-t.patch
+
+0001-Fix-missing-quotes-in-doUncompress.patch
+0002-Define-a-nicer-alias-for-the-archiveType-struct.patch
+0003-Split-out-archiver-and-singleroot-in-rpmuncompress.patch
+0004-Prevent-command-injection-via-rpmbuild-t-filename.patch
+0001-Prevent-macro-injection-via-.gem-filenames.patch
+0001-Add-a-variable-argument-list-to-rpopen.patch
+0002-Let-callers-pass-the-basename-to-doUntar.patch
+0003-Drop-leftover-filename-arg-from-doUncompress.patch
+0004-Rename-a-parameter-name-in-doUntar.patch
+0005-Prevent-shell-injection-via-RubyGem-filenames.patch
+0001-Fix-rpopen-rpclose-and-make-them-more-POSIXy.patch
+
+# These are not yet upstream
+rpm-4.7.1-geode-i686.patch
+
+%description
+Additional Python 3.X packages with the RPM Python bindings.
+
+%{foreachpy %{quote:
+%package -n python%%{python3_pkgversion}-rpm
+Summary: Python %%{python3_pkgversion} bindings for apps which will manipulate RPM packages
+BuildRequires: python%%{python3_pkgversion}-devel
+Requires: (rpm-libs%{?_isa} >= %{version}-%{rhelrel} with rpm-libs%{?_isa} < %{version}-%{rhelrel_next})
+
+%description -n python%%{python3_pkgversion}-rpm
+The python%%{python3_pkgversion}-rpm package contains a module that permits applications
+written in the Python programming language to use the interface
+supplied by RPM Package Manager libraries.
+
+This package should be installed if you want to develop Python %%{python3_pkgversion}
+programs that will manipulate RPM packages and databases.
+}}
+
+%prep
+%autosetup -n rpm-%{srcver} -p1
+
+%build
+%set_build_flags
+
+# As of RPM 4.19 we need to build the extension module for each Python version.
+# For similicity, we build everything.
+# In RPM 4.20+, the module uses Python stable ABI
+# and it will be possible to copy the built files from python3-rpm instead.
+%{foreachpy %{quote:
+mkdir _build%%{python3_pkgversion}
+cd _build%%{python3_pkgversion}
+cmake \
+ -DCMAKE_INSTALL_PREFIX=%{_usr} \
+ -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_var}/lib \
+ %{?with_bdb_ro:-DENABLE_BDB_RO=ON} \
+ %{!?with_ndb:-DENABLE_NDB=OFF} \
+ %{!?with_sqlite:-DENABLE_SQLITE=OFF} \
+ %{!?with_plugins:-DENABLE_PLUGINS=OFF} \
+ %{?with_fsverity:-DWITH_FSVERITY=ON} \
+ %{?with_libimaevm:-DWITH_IMAEVM=ON} \
+ %{!?with_libarchive:-DWITH_ARCHIVE=OFF} \
+ %{!?with_check:-DENABLE_TESTSUITE=OFF} \
+ %{?with_sequoia:-DWITH_SEQUOIA=ON} \
+ %{!?with_sequoia:-DWITH_INTERNAL_OPENPGP=ON} \
+ %{!?with_sequoia:-DWITH_OPENSSL=ON } \
+ -DRPM_VENDOR=redhat \
+ -DPython3_EXECUTABLE=%%{python3} \
+ ..
+
+%make_build
+cd ..
+}}
+
+%install
+
+%{foreachpy %{quote:
+cd _build%%{python3_pkgversion}
+%make_install
+cd ..
+}}
+
+mkdir -p $RPM_BUILD_ROOT%{_unitdir}
+install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/%{_unitdir}
+install -m 644 %{SOURCE20} $RPM_BUILD_ROOT/%{_unitdir}
+
+mkdir -p $RPM_BUILD_ROOT%{rpmhome}
+install -m 755 %{SOURCE21} $RPM_BUILD_ROOT/%{rpmhome}
+
+# Built-in replacement for systemd-sysusers(8)
+install -m 755 scripts/sysusers.sh $RPM_BUILD_ROOT/%{rpmhome}
+
+# Save list of packages through cron
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily
+install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily/rpm
+
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
+install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rpm
+
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
+mkdir -p $RPM_BUILD_ROOT%{rpmhome}/macros.d
+mkdir -p $RPM_BUILD_ROOT/usr/lib/sysimage/rpm
+cd _build3.13 # Use any built Python version here
+
+# init an empty database for %ghost'ing for all supported backends
+for be in %{?with_ndb:ndb} %{?with_sqlite:sqlite}; do
+ mkdir ${be}
+ tools/rpmdb --rcfile rpmrc --define "_db_backend ${be}" --dbpath=${PWD}/${be} --initdb
+ cp -va ${be}/. $RPM_BUILD_ROOT/usr/lib/sysimage/rpm/
+done
+
+# some packages invoke find-debuginfo directly, preserve compat for now
+ln -s ../../bin/find-debuginfo $RPM_BUILD_ROOT/usr/lib/rpm/find-debuginfo.sh
+
+find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
+
+# These live in perl-generators and python-rpm-generators now
+rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*,pythond*}
+rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*}
+rm -rf $RPM_BUILD_ROOT/var/tmp
+
+# workaround for https://github.com/rpm-software-management/rpm/issues/2811
+rm $RPM_BUILD_ROOT/%{_defaultdocdir}/rpm/README.md
+
+# Signing macros for Sequoia
+install -m 644 %{SOURCE30} $RPM_BUILD_ROOT/%{_defaultdocdir}/rpm/
+
+# Remove all non-Python files
+rm -r %{buildroot}%{_bindir}
+rm -r %{buildroot}%{_datadir}
+rm -r %{buildroot}%{_includedir}
+rm -r %{buildroot}%{_libdir}/lib*
+rm -r %{buildroot}%{_libdir}/cmake/rpm/
+rm -r %{buildroot}%{_libdir}/pkgconfig/
+rm -r %{buildroot}%{_libdir}/rpm-plugins/
+rm -r %{buildroot}%{_prefix}/lib
+rm -r %{buildroot}%{_sysconfdir}
+
+%check
+%{foreachpy %{quote:%%py3_check_import rpm rpm.transaction}}
+
+%{foreachpy %{quote:
+%files -n python%%{python3_pkgversion}-rpm
+%%%%license COPYING
+%dir %%{python3_sitearch}/rpm
+%%{python3_sitearch}/rpm-%{rpmver}*.egg-info
+%%{python3_sitearch}/rpm/__init__.py
+%%{python3_sitearch}/rpm/transaction.py
+%%{python3_sitearch}/rpm/_rpm.so
+%artifact %%{python3_sitearch}/rpm/__pycache__/
+}}
+
+%changelog
+* Mon Nov 09 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-29
+- Fix rpopen()/rpclose() and make them more POSIXy (RHEL-288156)
+
+* Wed Oct 21 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-28
+- CVE-2026-84233: Prevent macro injection via .gem filenames (RHEL-288155)
+- CVE-2026-84837: Prevent command injection via rpmbuild -t filename (RHEL-288156)
+- CVE-2026-84838: Prevent command injection via rpmuncompress (RHEL-288158)
+
+* Fri Oct 16 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-27
+- Bump release for rebuild (RHEL-282742)
+
+* Mon Oct 12 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-26
+- CVE-2026-78367: Prevent command injection via rpmbuild -t (RHEL-282742)
+
+* Fri Jun 19 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-25
+- Apply forgotten patch for RHEL-169755
+
+* Thu Jun 18 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-24
+- Add support for %%autosetup -C (RHEL-141269)
+- Add support for database parking (RHEL-126405)
+- Make syslog plugin actually useful and also required (RHEL-155272)
+- Require rpm-plugin-audit instead of just recommending (RHEL-139071)
+- Fix buffer overruns with long language strings (RHEL-169755)
+
+* Tue Mar 17 2026 Miro Hrončok <mhroncok@redhat.com> - 4.19.1.1-23.2
+- Add python3.14-rpm
+
+* Thu Feb 05 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-23
+- Fix key import API to return NOTTRUSTED for disabled algorithms (RHEL-112394)
+
+* Tue Jan 27 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-22
+- Ignore signatures made by unknown or disabled algorithms (RHEL-112394)
+- Enable NSS-based user and group lookups again (RHEL-118365)
+- Fix ignored password field if empty in passwd/group file (RHEL-118365)
+
+* Thu Nov 27 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-21
+- Fix pre/post/meta/etc. qualifiers for weak dependencies (RHEL-101936)
+- Fix redundant rpmdb-migrate.service runs (RHEL-96510)
+
+* Tue Aug 26 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-20
+- Fix rpmsign(8) man page (RHEL-109221)
+
+* Mon Aug 25 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-19
+- Additional PQC-related fixes (RHEL-109221)
+
+* Thu Jul 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-18
+- Add support for multiple OpenPGP signatures per package (RHEL-100571)
+- Add support for OpenPGP v6 signature pre-salting (RHEL-100571)
+- Add support for PQC algorithms from RFC-9580 (RHEL-100571)
+- Add --list and --erase commands to rpmkeys(8) (RHEL-105421)
+- Fix regression on dynamic subpackage RPMTAG_SOURCERPM missing (RHEL-102023)
+
+* Wed Jun 11 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-17
+- Bump release for another rebuild
+
+* Wed Jun 11 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-16
+- Fix regression on subpackage debuginfo RPMTAG_SOURCERPM missing (RHEL-87383)
+
+* Thu May 29 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-15
+- Add support for spec local file attributes and generators (RHEL-84057)
+- Ensure binary and source headers are identified as such (RHEL-87383)
+
+* Thu Apr 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-14
+- Store configurable digest(s) on packages in rpmdb (RHEL-84062)
+- Fix command references in rpmsign(8) man page, take II (RHEL-73173)
+
+* Tue Apr 22 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-13
+- Make %%_passwd_path and %%_group_path into lists (RHEL-78693)
+- Fix memory leak in rpmspec --shell (RHEL-55284)
+- Fix memory leak in rpmsign (RHEL-82284)
+- Fix command references in rpmsign(8) man page (RHEL-73173)
+- Fix exit code regression on update failure (RHEL-87384)
+
+* Fri Feb 07 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-12
+- Rebuild for ima-evm-utils 1.6 soname bump (RHEL-65378)
+
+* Fri Jan 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-11
+- Fix possible package corruption on --delsign/resign/addsign (RHEL-69518)
+- Fix regression on build-id generation from compressed ELF (RHEL-54000)
+- Fix root relocation regression (RHEL-56613)
+- Update sequoia macros for sq 1.0 (RHEL-56363)
+
+* Mon Jan 13 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-10
+- Report unsafe symlinks during installation as a specific case (RHEL-73186)
+- Fix FA_TOUCH'ed files getting removed on failed update (RHEL-54386)
+- Rebuild for ima-evm-utils 1.6 soname bump (RHEL-65378)
+
+* Wed Dec 04 2024 Panu Matilainen <pmatilai@redhat.com> - 4.19.1.1-9
+- Revert the gnupg/sequoia sub-packages, too much headache
+- Ship sequoia-signing enablement macros as documentation instead
+- Generate binary signatures with Sequoia too
+
+* Tue Nov 12 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-8
+- Add Sequoia signing support back
+
+* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4.19.1.1-7
+- Bump release for October 2024 mass rebuild:
+ Resolves: RHEL-64018
+
+* Fri Oct 25 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-6
+- Revert Sequoia signing support for now, breaks CI
+
+* Fri Oct 25 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-5
+- Fix Conflicts in new rpm-sign backends
+
+* Mon Oct 14 2024 Panu Matilainen <pmatilai@redhat.com> - 4.19.1.1-4
+- Remove hardcoded GPG references from signing error messages
+- Support switching between GnuPG and Sequoia for package signing (RHEL-56363)
+
+* Tue Aug 13 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-3
+- Fix potential use of uninitialized pipe array (RHEL-54012)
+- Fix potential use of uninitialized pgp struct (RHEL-54013)
+- Fix memory leak in rpmsign(8) (RHEL-37564)
+
+* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.19.1.1-2
+- Bump release for June 2024 mass rebuild
+
+* Wed Feb 07 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-1
+- Update to 4.19.1.1 (https://rpm.org/wiki/Releases/4.19.1.1)
+
+* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Fri Dec 15 2023 Panu Matilainen <pmatilai@redhat.com> - 4.19.1-2
+- Fix bogus warnings about runaway Lua scripts (#2254463)
+
+* Tue Dec 12 2023 Michal Domonkos <mdomonko@redhat.com> - 4.19.1-1
+- Update to 4.19.1 (https://rpm.org/wiki/Releases/4.19.1)
+
+* Thu Nov 30 2023 Stephen Gallagher <sgallagh@redhat.com> - 4.19.0-3
+- Fix issues with %%getncpus sometimes returning 0 on i686 systems
+
+* Mon Nov 13 2023 Panu Matilainen <pmatilai@redhat.com> - 4.19.0-2
+- Ensure central package ops log via rpm-plugin-audit recommends (#1476926)
+- Own our Python module directory (#2248555)
+- Fix sysusers.d generator barfing on legit content (#2246236)
+
+* Tue Sep 19 2023 Michal Domonkos <mdomonko@redhat.com> - 4.19.0-1
+- Update to 4.19.0
+
+* Mon Sep 04 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.99-1
+- Update to 4.19 rc1
+
+* Tue Aug 22 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.92-3
+- Fix regression on uncompressing 7zip compressed sources (#2229984)
+- Fix a conflict with pre-existing scl-utils %_root_prefix macro (#2233454)
+
+* Mon Aug 21 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.92-2
+- Behave more consistently when target %%optflags are not defined (#2231727)
+
+* Wed Aug 02 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.92-1
+- Update to 4.19 beta
+
+* Tue Jul 25 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 4.18.91-9
+- Drop fsverity plugin from RHEL builds
+
+* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.91-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
+* Wed Jun 28 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-7
+- Rebuilt for Python 3.12
+
+* Wed Jun 28 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-6
+- Fix a spec parsing error handling regression
+- Fix a per-file plugin hook regression
+
+* Tue Jun 27 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-5
+- Fix potential crash with multiple in-process sqlite uses
+
+* Mon Jun 26 2023 Python Maint <python-maint@redhat.com> - 4.18.91-4
+- Rebuilt for Python 3.12
+
+* Wed Jun 21 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-3
+- Enable user/group provide generation
+- Add a conflict for systemd versions carrying their own
+
+* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.18.91-2
+- Rebuilt for Python 3.12
+
+* Fri Jun 09 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.91-1
+- Update to 4.19 alpha2
+
+* Thu Jun 08 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 4.18.90-10
+- Rebuild for ima-evm-utils 1.5 soname bump
+
+* Mon May 29 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.90-9
+- Revert %%_smp_build_ncpus macro changing to parametric (#2210347)
+
+* Thu May 25 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-8
+- Set %_sharedstatedir to /var/lib (#2209989)
+
+* Thu May 25 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-7
+- Remove compat links for old so name of the libraries
+- Remove compat forward ports for libdnf
+
+* Mon May 22 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-6
+- Fix undefined symbols from plugins
+
+* Wed May 17 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-5
+- Use mkdir -p for creating SPECPARTS dir
+
+* Wed May 17 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-4
+- Enable large file support on 32-bit systems again
+
+* Mon May 15 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-3
+- Fix libbzip2 detection
+
+* Thu May 11 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-2
+- Add compat links for building dnf and friends
+
+* Thu May 04 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-1
+- Update to 4.19 alpha
+
+* Tue Apr 25 2023 Miro Hrončok <mhroncok@redhat.com> - 4.18.1-3
+- Explicitly require rpm-sequoia >= 1.4.0 on runtime to avoid
+ rpm: symbol lookup error: /lib64/librpmio.so.9: undefined symbol: _pgpVerifySignature2
+
+* Thu Apr 20 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.1-2
+- Backport improved crypto error messages from upstream
+
+* Wed Mar 15 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.1-1
+- Rebase to rpm 4.18.1 (https://rpm.org/wiki/Releases/4.18.1)
+
+* Thu Feb 16 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-11
+- Disable debuginfod lookups in rpmbuild scripts
+- Exclude kernel modules from ELF dependency generation
+
+* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.0-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Mon Jan 09 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-9
+- Generate Python egg-info from automake (#2135561)
+- Drop setup.py-based Python build (#2135719)
+
+* Wed Dec 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-8
+- Fix hang-up on failed key import (related to #2149762)
+
+* Thu Nov 24 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-7
+- Require rpm-sequoia >= 1.2.0 for V3 signature support, re-enable (#2141686)
+
+* Thu Nov 10 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-6
+- Revert back to internal OpenPGP parser for V3 signature support (#2141686)
+
+* Tue Nov 01 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-5
+- Switch to Sequoia crypto (https://fedoraproject.org/wiki/Changes/RpmSequoia)
+
+* Fri Oct 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-4
+- Add an option for building with Sequoia crypto
+
+* Wed Oct 05 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-3
+- Break ancient rpm <-> rpm-libs ordering loop
+
+* Mon Oct 03 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-2
+- Drop the temporary build-dependency on pandoc before it grows a beard
+- Start utilizing %%patchlist, finally
+
+* Wed Sep 21 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-1
+- Rebase to rpm 4.18.0 (https://rpm.org/wiki/Releases/4.18.0)
+
+* Wed Sep 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.4
+- Fix a largish directory walk related memory leak in transactions
+
+* Wed Sep 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.3
+- Fix buffer overrun on rpmdb queries involving ^ in version
+
+* Wed Sep 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.2
+- Break selinux-policy <-> rpm-plugin-selinux ordering loop (#1851266)
+
+* Fri Sep 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.1
+- Rebase to 4.18.0-rc1 (https://rpm.org/wiki/Releases/4.18.0)
+
+* Tue Aug 02 2022 Michal Domonkos <mdomonko@redhat.com> - 4.18.0-0.beta1.4
+- Revert %%autosetup -S git patch due to another regression
+
+* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.0-0.beta1.3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Mon Jul 11 2022 Michal Domonkos <mdomonko@redhat.com> - 4.18.0-0.beta1.2
+- Fix check-buildroot regression wrt bundled SRPM (#2104150)
+- Fix %%autosetup -S git regression wrt default git branch
+
+* Tue Jun 28 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.beta1.1
+- Rebase to 4.18.0-beta1 (https://rpm.org/wiki/Releases/4.18.0)
+
+* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.18.0-0.alpha2.2
+- Rebuilt for Python 3.11
+
+* Mon May 23 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha2.1
+- Rebase to 4.18.0-0.alpha2
+- Prevent uncontrolled sqlite WAL growth during large transactions
+
+* Thu Apr 28 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.6
+- Fix rubygem unpack regression, causing rubygem builds to fail
+
+* Wed Apr 27 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.5
+- Fix verbose source uncompress regression (#2079127)
+
+* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.4
+- Further dynamic buildrequires cli switch regression fixes (#2078744)
+
+* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.3
+- Fix rpmbuild -ba --nodeps regression wrt dynamic buildrequires (#2078744)
+
+* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.2
+- Fix rpmbuild -br not producing a src.rpm regression (#2078744)
+
+* Mon Apr 25 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.1
+- Rebase to 4.18.0 alpha (https://fedoraproject.org/wiki/Changes/RPM-4.18)
+- Add patches for two late discovered regressions
+
+* Mon Mar 21 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-10
+- Create rpmdb directory symlink in posttrans by default (#2066427)
+
+* Wed Feb 16 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-9
+- Add dependencies for the rpmdb migration scriptlet (#2055033)
+
+* Wed Feb 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-8
+- Really fix spurious %%transfiletriggerpostun execution (#2023311, #2048168)
+
+* Wed Jan 26 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-7
+- Migrate rpmdb to /usr/lib/sysimage/rpm (#2042099)
+ https://fedoraproject.org/wiki/Changes/RelocateRPMToUsr
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Thu Jan 20 2022 Björn Esser <besser82@fedoraproject.org> - 4.17.0-5
+- Rebuild (ima-evm-utils)
+- Use baserelease for rpm release tag to make rpmdev-bumpspec work
+
+* Fri Jan 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-4
+- Fix spurious %%transfiletriggerpostun execution (#2023311)
+
+* Fri Jan 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-3
+- Fix fapolicyd plugin dependencies to replace fapolicyd-dnf-plugin (#2007639)
+
+* Mon Nov 08 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 4.17.0-2
+- Rebuils for ima-evm-utils 1.4 soname bump
+
+* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 4.17.0-1.1
+- Rebuilt with OpenSSL 3.0.0
+
+* Fri Sep 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-1
+- Rebase to 4.17.0 final (https://rpm.org/wiki/Releases/4.17.0)
+
+* Thu Aug 19 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-0.rc1.1
+- Rebase to 4.17.0 rc1
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-0.beta1.0.2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Tue Jun 22 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-0.beta1.1
+- Rebase to 4.17.0 beta1
+- Add back /usr/lib/rpm/find-debuginfo.sh as a compat symlink
+- Add temporary buildrequire on pandoc due to makefile bugs in beta1
+
+* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 4.16.90-0.git15395.8.1
+- Rebuilt for Python 3.10
+
+* Mon May 17 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.8
+- Switch to external debugedit
+
+* Mon May 17 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.7
+- Handle different find-debuginfo.sh location with external debugedit
+
+* Fri May 07 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.6
+- Fix regression causing a crash on Lua state reset (#1958095)
+
+* Thu Apr 29 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.5
+- Proper fix for comments affecting macro file parsing (#1953910)
+
+* Tue Apr 27 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.4
+- Enable fapolicyd plugin build
+
+* Tue Apr 27 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.3
+- Temporarily revert macro file loading fix due to regression #1953910
+
+* Mon Apr 26 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.2
+- Add a bcond to build with external debugedit
+
+* Mon Apr 26 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.1
+- Rebase to rpm 4.17.0 alpha (https://rpm.org/wiki/Releases/4.17.0)
+- Drop a local hack for a cosmetic Fedora 22 era rpm2cpio issue
+- Drop BDB support leftovers from the spec
+- Add build conditional for fsverity plugin
+
+* Mon Mar 22 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.3-1
+- Rebase to rpm 4.16.1.3 (https://rpm.org/wiki/Releases/4.16.1.3)
+
+* Wed Feb 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-6
+- Drop support for read-write Berkeley DB format (#1787311)
+
+* Wed Feb 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-5
+- Make with/without bdb build option actually work
+- Clean up unpackaged /var/tmp from the build root
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.1.2-4.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Fri Jan 22 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-4
+- Fix edit_attributes_str_comp_dir in Patch916 (#1919107)
+
+* Tue Jan 19 2021 Jeff Law <law@redhat.com> - 4.16.1.2-3
+- Fix typo in test for F33 or newer
+
+* Tue Jan 19 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-2
+- Add debugedit DWARF5 support
+
+* Wed Dec 16 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-1
+- Rebase to rpm 4.16.1.2 (http://rpm.org/wiki/Releases/4.16.1.2)
+- Add a spec safeguard for accidental soname bumps
+
+* Wed Dec 16 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.1-1
+- Rebase to rpm 4.16.1.1 (http://rpm.org/wiki/Releases/4.16.1.1)
+
+* Thu Dec 10 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1-1
+- Rebase to rpm 4.16.1 (http://rpm.org/wiki/Releases/4.16.1)
+
+* Mon Nov 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-5
+- Only disable test-suite where it's actually broken
+
+* Mon Nov 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-4
+- Fix BDB crashing on failed open attempts (#1902395, #1898299, #1900407)
+- Fix unnecessary double failure on lazy keyring open
+
+* Wed Oct 28 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-3
+- Issue deprecation warning when creating BDB databases (#1787311)
+- Temporarily disable test-suite due to massive fakechroot breakage
+
+* Mon Oct 05 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-2
+- Clean up after test-suite which leaves a read-only tree behind
+
+* Wed Sep 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-1
+- Rebase to 4.16.0 final (https://rpm.org/wiki/Releases/4.16.0)
+
+* Mon Aug 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.rc1.1
+- Rebase to 4.16.0-rc1
+- Run test-suite in parallel
+
+* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-0.beta3.2.3
+- Second attempt - Rebuilt for
+ https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-0.beta3.2.2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Sun Jul 26 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.16.0-0.beta3.2.1
+- rebuild for ima-evm-utils 1.3
+
+* Mon Jun 29 2020 Tom Callaway <spot@fedoraproject.org> - 4.16.0-0.beta3.2
+- rebuild for lua 5.4
+
+* Wed Jun 24 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta3.1
+- Rebase to beta3
+
+* Wed Jun 10 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.4
+- Fix prefix search on sqlite backend (many file triggers not running)
+
+* Mon Jun 8 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.3
+- Unbreak metainfo() provide generation
+
+* Wed Jun 3 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.2
+- Don't auto-enable _flush_io on non-rotational media, it's too costly
+
+* Mon Jun 1 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.1
+- Rebase to rpm 4.16.0-beta1
+
+* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 4.15.90-0.git14971.12.1
+- Rebuilt for Python 3.9
+
+* Tue May 12 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.12
+- Fix segfault when trying to use unknown database backend
+
+* Thu May 7 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.11
+- Flag BDB databases for rebuild on next reboot whenever rpm is updated
+- Switch default database to sqlite (#1818910)
+
+* Mon May 4 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.10
+- Handle rpmdb-rebuild service enablement for upgrades
+
+* Thu Apr 23 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.9
+- Fix questionable uses of %%{name} and %%{version} in the spec
+
+* Wed Apr 22 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.8
+- Fix regression(s) on build dependency resolution
+
+* Wed Apr 22 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.7
+- Add rpmdb-rebuild systemd service
+
+* Fri Apr 17 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.6
+- Warn on undefined macros in buildtree setup macros (#1820349)
+
+* Thu Apr 09 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.5
+- Fix regression causing all ELF files classified as OCaml
+
+* Mon Apr 06 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.4
+- Fix invalid path passed to parametric macro generators
+
+* Thu Apr 02 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.3
+- Fix db lock files not getting packaged
+
+* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.2
+- Move bdb specific systemd-tmpfiles cleanup crutch behind the bdb bcond
+
+* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.1
+- Rebase to rpm 4.16 alpha (https://rpm.org/wiki/Releases/4.16.0)
+- Add bconds for and enable sqlite, ndb and bdb_ro database backends
+- Add bcond for disabling bdb backend
+- Drop lmdb bcond, the backend was removed upstream
+- Ensure all database backend files are owned
+- Fix external environment causing test-suite failures in spec build
+- Re-enable hard test-suite failures again
+
+* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.1-2.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Thu Jan 9 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.1-2
+- Obsolete python2-rpm to fix upgrade path (#1775113)
+
+* Mon Nov 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.1-1
+- Rebase to 4.15.1 (https://rpm.org/wiki/Releases/4.15.1)
+
+* Thu Nov 14 2019 Adam Williamson <awilliam@redhat.com> - 4.15.0-7
+- Really revert armv8 detection improvements (patch was not applied in -6)
+
+* Wed Oct 23 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.15.0-6
+- Revert armv8 detection improvements
+
+* Mon Oct 21 2019 Stephen Gallagher <sgallagh@redhat.com> - 4.15.0-5
+- Revert aliasing arm64 to aarch64
+- Resolves: rhbz#1763831
+
+* Fri Oct 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-4
+- Revert problematic sub-variants of armv8 (#1691430)
+
+* Thu Oct 17 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-3
+- Drop python2 bindings for good (#1761211)
+
+* Tue Oct 15 2019 Adam Williamson <awilliam@redhat.com> - 4.15.0-2
+- Revert systemd inhibit plugin's calling of dbus_shutdown (#1750575)
+
+* Thu Sep 26 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-1
+- Update to 4.15.0 final (https://rpm.org/wiki/Releases/4.15.0)
+
+* Wed Aug 28 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.rc1.1
+- Update to 4.15.0-rc1
+
+* Tue Aug 27 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.6
+- Fix some issues in the thread cap logic
+
+* Mon Aug 26 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.5
+- Re-enable test-suite, temporarily disabled during alpha troubleshooting
+
+* Fri Aug 23 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.4
+- Cap number of threads on 32bit platforms (#1729382)
+- Drop %%_lto_cflags macro (reverted upstream)
+
+* Fri Aug 23 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.3
+- Restore strict order of build scriptlet stdout/stderr output
+
+* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 4.15.0-0.beta.2.3
+- Rebuilt for Python 3.8
+
+* Wed Jul 31 2019 Miro Hrončok <mhroncok@redhat.com> - 4.15.0-0.beta.2.2
+- Rebuilt for libimaevm.so.1
+
+* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.0-0.beta.2.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Sat Jul 20 18:30:10 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.15.0-0.beta.2
+- Backport patch to not set RPMTAG_BUILDTIME to SOURCE_DATE_EPOCH
+
+* Thu Jun 27 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.1
+- Rebase to 4.15.0 beta
+
+* Thu Jun 20 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.18
+- Fix excessive TLS use, part II (#1722181)
+
+* Thu Jun 20 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.17
+- Fix excessive TLS use (#1722181)
+
+* Wed Jun 19 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.16
+- Drop buildarch again now that python_provide no longer needs it (#1720139)
+
+* Fri Jun 14 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.15
+- Temporarily re-enable buildarch macro for python_provide macro use (#1720139)
+
+* Thu Jun 13 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.14
+- Don't fail build trying to kill a non-existent process (#1720143)
+
+* Tue Jun 11 14:59:16 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.13
+- Fix build of binary packages in parallel
+
+* Tue Jun 11 00:08:50 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.10
+- Revert generation of binary packages in parallel
+
+* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.1
+- Update to 4.15.0 alpha
+
+* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-14
+- Drop support for sanitizer build, it never really worked anyway
+- Drop leftover build-dependency on binutils-devel
+- Truncate changelog to rpm 4.14.x (last two years)
+
+* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-13
+- Drop support for Fedora < 28 builds
+- Drop leftover BDB-related compiler flag foo
+
+* Fri Jun 07 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-12
+- Use pre-determined buildhost in test-suite to avoid DNS usage
+- Drop obsolete specspo and gpg2 related patches
+
+* Fri Jun 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-11
+- Use py2/3 macros for building and installing the bindings
+
+* Tue May 21 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-10
+- Support build-id generation from compressed ELF files (#1650072)
+
+* Fri May 03 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-9
+- Suggest gdb-minimal
+
+* Thu Apr 25 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-8
+- Replace deprecated __global_ldflags uses with build_ldflags macro
+
+* Thu Apr 11 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-7
+- Fix excessive reference counting on faked string .decode()
+
+* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-6
+- Unbreak Python 3 API by returning string data as surrogate-escaped utf-8
+ string objects instead of bytes (#1693751)
+- As a temporary crutch, monkey-patch a .decode() method to returned strings
+ to give users time to migrate from the long-standing broken behavior
+
+* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-5
+- Generate minidebug for PIE executables on file >= 5.33 too
+- Backport find-debuginfo --g-libs option for glibc's benefit (#1661512)
+
+* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2.1-4.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Wed Dec 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-4
+- Backport the new modularity label tag (#1650286)
+
+* Mon Nov 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-3
+- Take prefix into account when compressing man pages etc for Flatpak builds
+
+* Wed Oct 24 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-2
+- Selinux plugin requires a base policy to work (#1641631)
+
+* Mon Oct 22 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-1
+- Rebase to rpm 4.14.2.1 (http://rpm.org/wiki/Releases/4.14.2.1)
+
+* Wed Oct 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-9
+- Push name/epoch/version/release macro before invoking depgens
+
+* Tue Oct 16 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-8
+- Resurrect long since broken Lua library path
+
+* Fri Oct 12 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-7
+- Actually fail build on test-suite failures again
+- Invoke python2 explicitly from test-suite to unbreak build, part II
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-6
+- Drop duplicate BDB buildrequire
+- Drop nowadays unnecessary BDB macro foo
+- Drop nowadays unnecessary manual libcap dependency
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-5
+- Own all rpmdb files and ensure the list remains up to date
+- Drop redundant verify exclusions on rpmdb ghosts
+- Fix build when systemd is not installed (duh)
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-4
+- Erm, really use the macro for tmpfiles.d path
+- Erm, don't nuke buildroot at beginning of %%install
+- Use modern build/install helper macros
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-3
+- Eh, selinux plugin dependency condition was upside down (#1493267)
+- Drop no longer necessary condition over imaevm name
+- Drop no longer necessary obsolete on compat-librpm3
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-2
+- Fix ancient Python GIL locking bug (#1632488)
+- Use the appropriate macro for tmpfiles.d now that one exists
+
+* Tue Aug 21 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-1
+- Update to rpm 4.14.2 final (http://rpm.org/wiki/Releases/4.14.2)
+
+* Mon Aug 13 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.2
+- Move python-macro-helper to main package where the macros are (#1577860)
+
+* Wed Aug 08 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.1
+- Update to rpm 4.14.2-rc2
+
+* Sat Jul 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-0.rc1.2
+- Decompress DWARF compressed ELF sections
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2-0.rc1.1.2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.2-0.rc1.1.1
+- Rebuilt for Python 3.7
+
+* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc1.1
+- Update to rpm 4.14.2-rc1
+- Patching test-suite for python2 too painful, just sed it instead
+- Fix premature version increment from previous changelog entries, oops
+
+* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-13
+- Ehm, need to patch the autogenerated rpmtests script too for python2
+- Ehm, it's ldconfig_scriptlets not scripts
+- Drop the non-working python envvar magic from obsoleted change
+
+* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-12
+- Invoke python2 explicitly from test-suite to unbreak build
+
+* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-11
+- Remove direct ldconfig calls, use compat macros instead
+
+* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10.1
+- Rebuilt for Python 3.7
+
+* Mon May 28 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10
+- Backport upstream solution to make brp-python-bytecompile automagic part opt-outable
+ https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation
+
+* Tue May 22 2018 Mark Wielaard <mjw@fedoraproject.org> - 4.14.1-9
+- find-debuginfo.sh: Handle application/x-pie-executable (#1581224)
+
+* Tue Feb 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-8
+- Split rpm-build-libs to one more subpackage rpm-sign-libs
+
+* Mon Feb 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-7
+- Explicitly BuildRequire gcc and make
+
+* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-6.1
+- Escape macros in %%changelog
+
+* Wed Jan 31 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-6
+- Avoid unnecessary macro helper dependency on /usr/bin/python (#1538657)
+- Fix release of previous changelog entry
+
+* Tue Jan 30 2018 Tomas Orsava <torsava@redhat.com> - 4.14.1-5
+- Add envvar that will be present during RPM build,
+ Part of a Fedora Change for F28: "Avoid /usr/bin/python in RPM build"
+ https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
+
+* Tue Jan 30 2018 Petr Viktorin <pviktori@redhat.com> - 4.14.1-4
+- Skip automatic Python byte-compilation if *.py files are not present
+
+* Thu Jan 25 2018 Florian Weimer <fweimer@redhat.com> - 4.14.1-3
+- Rebuild to work around gcc bug leading to librpm miscompilation (#1538648)
+
+* Thu Jan 18 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-2
+- Avoid nuking the new python-macro-helper along with dep generators (#1535692)
+
+* Tue Jan 16 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-1
+- Rebase to rpm 4.14.1 (http://rpm.org/wiki/Releases/4.14.1)
+
+* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-5
+- Fix typo in Obsoletes
+
+* Mon Nov 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-4
+- Remove platform-python bits
+
+* Thu Oct 26 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-3
+- Move selinux plugin dependency to selinux-policy in Fedora >= 28 (#1493267)
+
+* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-2
+- Dump out test-suite log in case of failures again
+- Don't assume per-user groups in test-suite
+
+* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-1
+- Rebase to rpm 4.14.0 final (http://rpm.org/wiki/Releases/4.14.0)
+
+* Tue Oct 10 2017 Troy Dawson <tdawson@redhat.com> - 4.14.0-0.rc2.6
+- Cleanup spec file conditionals
+
+* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.5
+- Add build conditionals for zstd and lmdb support
+- Enable zstd support
+
+* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.4
+- Spec cleanups
+
+* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.3
+- BuildRequire gnupg2 for the testsuite
+
+* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.2
+- ima-evm-utils only has a -devel package in fedora >= 28
+
+* Thu Sep 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.1
+- Rebase to rpm 4.14.0-rc2 (http://rpm.org/wiki/Releases/4.14.0)
+
+* Mon Sep 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.3
+- Fix Ftell() past 2GB on 32bit architectures (#1492587)
+
+* Thu Sep 07 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.2
+- Actually honor with/without libimaevm option
+- ima-evm-utils-devel >= 1.0 is required for rpm >= 4.14.0
+
+* Wed Sep 06 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.1
+- Rebase to rpm 4.14.0-rc1 (http://rpm.org/wiki/Releases/4.14.0)
+- Re-enable SHA256 header digest generation (see #1480407)
+
+* Mon Aug 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.8
+- Band-aid for DB_VERSION_MISMATCH errors on glibc updates (#1465809)
+
+* Thu Aug 24 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.7
+- Remove ugly kludges from posttrans script, BDB handles this now
+
+* Fri Aug 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.6
+- Silence harmless but bogus error message on noarch packages (#1482144)
+
+* Thu Aug 17 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14002.5
+- Build with platform_python
+
+* Mon Aug 14 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14000.4
+- Add platform-python bytecompilation patch: platform-python-bytecompile.patch
+- Add platform python deps generator patch: platform-python-abi.patch
+- Add a platform-python subpackage and remove system python related declarations
+- Build rpm without platform_python for bytecompilation
+ (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)
+
+* Mon Aug 14 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.3
+- Disable macro argument quoting as a band-aid to #1481025
+
+* Fri Aug 11 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.2
+- Disable SHA256 header-only digest generation temporarily (#1480407)
+
+* Thu Aug 10 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.1
+- Rebase to rpm 4.13.90 aka 4.14.0-alpha (#1474836)
+
diff --git a/rpm.spec b/rpm.spec
deleted file mode 100644
index a33ccf2..0000000
--- a/rpm.spec
+++ /dev/null
@@ -1,1520 +0,0 @@
-# build against xz?
-%bcond_without xz
-# build with plugins?
-%bcond_without plugins
-# build with libarchive? (needed for rpm2archive)
-%bcond_without libarchive
-# build with libimaevm.so
-%bcond_without libimaevm
-# build with fsverity support?
-%if 0%{?rhel}
-%bcond_with fsverity
-%else
-%bcond_without fsverity
-%endif
-# build with zstd support?
-%bcond_without zstd
-# build with ndb backend?
-%bcond_without ndb
-# build with sqlite support?
-%bcond_without sqlite
-# build with bdb_ro support?
-%bcond_without bdb_ro
-# build with sequoia crypto?
-%bcond_without sequoia
-
-%define rpmhome /usr/lib/rpm
-
-%global rpmver 4.19.1.1
-#global snapver rc1
-%global baserelease 29
-%global sover 10
-
-%global srcver %{rpmver}%{?snapver:-%{snapver}}
-%global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{rpmver} | cut -d'.' -f1-2).x}
-
-Summary: The RPM package management system
-Name: rpm
-Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}%{baserelease}%{?dist}
-Url: http://www.rpm.org/
-License: GPL-2.0-or-later
-Source0: http://ftp.rpm.org/releases/%{srcdir}/rpm-%{srcver}.tar.bz2
-
-Source10: rpmdb-rebuild.service
-
-Source20: rpmdb-migrate.service
-Source21: rpmdb_migrate
-
-Source30: macros.rpmsign-sequoia
-
-Requires: coreutils
-Requires: popt%{_isa} >= 1.10.2.1
-Requires: curl
-Conflicts: systemd < 253.5-6
-Obsoletes: python2-rpm < %{version}-%{release}
-
-# XXX generally assumed to be installed but make it explicit as rpm
-# is a bit special...
-BuildRequires: redhat-rpm-config >= 94
-BuildRequires: systemd-rpm-macros
-BuildRequires: gcc make
-BuildRequires: cmake >= 3.18
-BuildRequires: gawk
-BuildRequires: elfutils-devel >= 0.112
-BuildRequires: elfutils-libelf-devel
-BuildRequires: readline-devel zlib-devel
-# The popt version here just documents an older known-good version
-BuildRequires: popt-devel >= 1.10.2
-BuildRequires: file-devel
-BuildRequires: gettext-devel
-BuildRequires: ncurses-devel
-BuildRequires: bzip2-devel >= 0.9.0c-2
-BuildRequires: lua-devel >= 5.1
-BuildRequires: libcap-devel
-BuildRequires: libacl-devel
-%if %{with xz}
-BuildRequires: xz-devel >= 4.999.8
-%endif
-%if %{with libarchive}
-BuildRequires: libarchive-devel
-%endif
-%if %{with zstd}
-BuildRequires: libzstd-devel
-%endif
-%if %{with sqlite}
-BuildRequires: sqlite-devel
-%endif
-
-# Needed for re-building the documentation and man pages
-# normally those are shipped in the tarball pre-build
-# but need re-building if sources are patched
-%if 0
-BuildRequires: pandoc
-BuildRequires: doxygen
-%endif
-
-
-%if %{with sequoia}
-%global crypto sequoia
-BuildRequires: rpm-sequoia-devel >= 1.9.0
-%else
-%global crypto openssl
-BuildRequires: openssl-devel
-%endif
-
-# Couple of patches change makefiles so, require for now...
-BuildRequires: automake libtool
-
-%if %{with plugins}
-BuildRequires: libselinux-devel
-BuildRequires: dbus-devel
-BuildRequires: audit-libs-devel
-%endif
-
-%if %{with libimaevm}
-BuildRequires: ima-evm-utils-devel >= 1.0
-%endif
-
-%if %{with fsverity}
-BuildRequires: fsverity-utils-devel
-%endif
-
-# For the rpmdb migration scriptlet (#2055033)
-Requires(pre): coreutils
-Requires(pre): findutils
-Requires(pre): sed
-
-%patchlist
-# Set rpmdb path to /usr/lib/sysimage/rpm
-rpm-4.17.x-rpm_dbpath.patch
-# Disable autoconf config.site processing (#962837)
-rpm-4.18.x-siteconfig.patch
-# In current Fedora, man-pages pkg owns all the localized man directories
-rpm-4.9.90-no-man-dirs.patch
-# Disable new user/group handling
-
-rpm-4.18.92-disable-sysusers.patch
-rpm-4.18.90-weak-user-group.patch
-
-# Patches already upstream:
-0001-Fix-potential-use-of-uninitialized-pipe-array.patch
-0001-Fix-potential-use-of-uninitialized-pgp-struct.patch
-0001-Fix-memory-leak-in-rpmsign.patch
-
-0001-Refactor-sign-command-expand-and-parse-out-of-runGPG.patch
-0002-Eliminate-hardcoded-GPG-references-from-user-visible.patch
-0003-Declare-signCmd-static.patch
-
-0001-Report-unsafe-symlinks-during-installation-as-a-spec.patch
-0002-Fix-FA_TOUCH-ed-files-getting-removed-on-failed-upda.patch
-
-0001-Fix-possible-package-corruption-on-delsign-resign-ad.patch
-0002-Fix-regression-on-build-id-generation-from-compresse.patch
-0003-Fix-root-relocation-regression.patch
-
-0001-Make-_passwd_path-and-_group_path-lists.patch
-0002-Fix-memory-leak-in-rpmspec-shell.patch
-0003-Fix-memory-leak-in-runGPG.patch
-0004-Talk-about-rpmsign-in-the-rpmsign-man-page.patch
-0005-Revert-Drop-redundant-argument-from-rpmcliTransactio.patch
-0001-Store-configurable-digest-s-on-packages-from-verific.patch
-0001-Ensure-binary-and-source-headers-are-identified-as-s.patch
-0002-Add-support-for-spec-local-file-attributes-and-gener.patch
-
-rpm-4.19.x-rpmkeys-add-list-erase.patch
-
-# PQC readiness
-rpm-4.19.x-multisig.patch
-rpm-4.19.x-pqc-algo.patch
-rpm-4.19.x-pqc-fixes.patch
-
-0001-Really-allow-qualifiers-like-pre-post-meta-for-weak-.patch
-
-rpm-4.19.x-multisig-verify-fixes.patch
-rpm-4.19.x-nsswitch-enable.patch
-0001-Fix-empty-password-field-in-passwd-group-causing-ent.patch
-
-rpm-4.19.x-add-autosetup-C.patch
-rpm-4.19.x-add-parkdb.patch
-rpm-4.19.x-improve-syslog.patch
-0001-Prevent-buffer-overruns-in-findPreambleTag-for-langu.patch
-
-0001-Prevent-command-injection-via-rpmbuild-t.patch
-
-0001-Fix-missing-quotes-in-doUncompress.patch
-0002-Define-a-nicer-alias-for-the-archiveType-struct.patch
-0003-Split-out-archiver-and-singleroot-in-rpmuncompress.patch
-0004-Prevent-command-injection-via-rpmbuild-t-filename.patch
-0001-Prevent-macro-injection-via-.gem-filenames.patch
-0001-Add-a-variable-argument-list-to-rpopen.patch
-0002-Let-callers-pass-the-basename-to-doUntar.patch
-0003-Drop-leftover-filename-arg-from-doUncompress.patch
-0004-Rename-a-parameter-name-in-doUntar.patch
-0005-Prevent-shell-injection-via-RubyGem-filenames.patch
-0001-Fix-rpopen-rpclose-and-make-them-more-POSIXy.patch
-
-# These are not yet upstream
-rpm-4.7.1-geode-i686.patch
-
-%description
-The RPM Package Manager (RPM) is a powerful command line driven
-package management system capable of installing, uninstalling,
-verifying, querying, and updating software packages. Each software
-package consists of an archive of files along with information about
-the package like its version, a description, etc.
-
-%package libs
-Summary: Libraries for manipulating RPM packages
-License: GPL-2.0-or-later OR LGPL-2.1-or-later
-Requires(meta): %{name} = %{version}-%{release}
-%if %{with sequoia}
-# >= 1.4.0 required for pgpVerifySignature2() and pgpPrtParams2()
-Requires: rpm-sequoia%{_isa} >= 1.9.0
-# Most systems should have a central package operations log
-Requires(meta): (rpm-plugin-audit if audit)
-Requires(meta): (rpm-plugin-syslog if syslog)
-%endif
-
-%description libs
-This package contains the RPM shared libraries.
-
-%package build-libs
-Summary: Libraries for building RPM packages
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description build-libs
-This package contains the RPM shared libraries for building packages.
-
-%package sign-libs
-Summary: Libraries for signing RPM packages
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-# in case somebody on the stream had these installed
-Obsoletes: rpm-sign-gnupg < 4.19.1.1-9.el10
-Obsoletes: rpm-sign-sequoia < 4.19.1.1-9.el10
-
-%description sign-libs
-This package contains the RPM shared libraries for signing packages.
-
-%package devel
-Summary: Development files for manipulating RPM packages
-License: GPL-2.0-or-later OR LGPL-2.1-or-later
-Requires: %{name} = %{version}-%{release}
-Requires: %{name}-libs%{_isa} = %{version}-%{release}
-Requires: %{name}-build-libs%{_isa} = %{version}-%{release}
-Requires: %{name}-sign-libs%{_isa} = %{version}-%{release}
-Requires: popt-devel%{_isa}
-
-%description devel
-This package contains the RPM C library and header files. These
-development files will simplify the process of writing programs that
-manipulate RPM packages and databases. These files are intended to
-simplify the process of creating graphical package managers or any
-other tools that need an intimate knowledge of RPM packages in order
-to function.
-
-This package should be installed if you want to develop programs that
-will manipulate RPM packages and databases.
-
-%package build
-Summary: Scripts and executable programs used to build packages
-Requires: rpm = %{version}-%{release}
-Requires: elfutils >= 0.128 binutils
-Requires: findutils sed grep gawk diffutils file patch >= 2.5
-Requires: tar unzip gzip bzip2 cpio xz
-%if %{with zstd}
-Requires: zstd
-%endif
-Requires: debugedit >= 0.3
-Requires: pkgconfig >= 1:0.24
-Requires: /usr/bin/gdb-add-index
-# https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot
-Suggests: gdb-minimal
-# Technically rpmbuild doesn't require any external configuration, but
-# creating distro-compatible packages does. To make the common case
-# "just work" while allowing for alternatives, depend on a virtual
-# provide, typically coming from redhat-rpm-config.
-Requires: system-rpm-config
-
-%description build
-The rpm-build package contains the scripts and executable programs
-that are used to build packages using the RPM Package Manager.
-
-%package sign
-Summary: Package signing support
-Requires: rpm-sign-libs%{_isa} = %{version}-%{release}
-
-%description sign
-This package contains support for digitally signing RPM packages.
-
-%package -n python3-%{name}
-Summary: Python 3 bindings for apps which will manipulate RPM packages
-BuildRequires: python3-devel
-%{?python_provide:%python_provide python3-%{name}}
-Requires: %{name}-libs%{?_isa} = %{version}-%{release}
-Provides: %{name}-python3 = %{version}-%{release}
-Obsoletes: %{name}-python3 < %{version}-%{release}
-
-%description -n python3-%{name}
-The python3-rpm package contains a module that permits applications
-written in the Python programming language to use the interface
-supplied by RPM Package Manager libraries.
-
-This package should be installed if you want to develop Python 3
-programs that will manipulate RPM packages and databases.
-
-%package apidocs
-Summary: API documentation for RPM libraries
-BuildArch: noarch
-
-%description apidocs
-This package contains API documentation for developing applications
-that will manipulate RPM packages and databases.
-
-%package cron
-Summary: Create daily logs of installed packages.
-BuildArch: noarch
-Requires: crontabs logrotate rpm = %{version}-%{release}
-
-%description cron
-This package contains a cron job which creates daily logs of installed
-packages on a system.
-
-%if %{with plugins}
-%package plugin-selinux
-Summary: Rpm plugin for SELinux functionality
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-Requires(meta): selinux-policy-base
-
-%description plugin-selinux
-%{summary}.
-
-%package plugin-syslog
-Summary: Rpm plugin for syslog functionality
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-syslog
-%{summary}.
-
-%package plugin-systemd-inhibit
-Summary: Rpm plugin for systemd inhibit functionality
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-systemd-inhibit
-This plugin blocks systemd from entering idle, sleep or shutdown while an rpm
-transaction is running using the systemd-inhibit mechanism.
-
-%if %{with libimaevm}
-%package plugin-ima
-Summary: Rpm plugin ima file signatures
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-ima
-%{summary}.
-%endif
-
-%package plugin-prioreset
-Summary: Rpm plugin for resetting scriptlet priorities for SysV init
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-prioreset
-%{summary}.
-
-Useful on legacy SysV init systems if you run rpm transactions with
-nice/ionice priorities. Should not be used on systemd systems.
-
-%package plugin-audit
-Summary: Rpm plugin for logging audit events on package operations
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-audit
-%{summary}.
-
-%if %{with fsverity}
-%package plugin-fsverity
-Summary: Rpm plugin for fsverity file signatures
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-fsverity
-%{summary}.
-%endif
-
-%package plugin-fapolicyd
-Summary: Rpm plugin for fapolicyd support
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-Provides: fapolicyd-plugin = %{version}-%{release}
-# fapolicyd-dnf-plugin currently at 1.0.4
-Obsoletes: fapolicyd-dnf-plugin < 1.0.5
-
-%description plugin-fapolicyd
-%{summary}.
-
-See https://people.redhat.com/sgrubb/fapolicyd/ for information about
-the fapolicyd daemon.
-
-%package plugin-dbus-announce
-Summary: Rpm plugin for announcing transactions on the DBUS
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-dbus-announce
-The plugin announces basic information about rpm transactions to the
-system DBUS - like packages installed or removed. Other programs can
-subscribe to the signals to get notified when packages on the system
-change.
-
-# with plugins
-%endif
-
-%prep
-%autosetup -n rpm-%{srcver} -p1
-
-%build
-%set_build_flags
-
-mkdir _build
-cd _build
-cmake \
- -DCMAKE_INSTALL_PREFIX=%{_usr} \
- -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_var}/lib \
- %{?with_bdb_ro:-DENABLE_BDB_RO=ON} \
- %{!?with_ndb:-DENABLE_NDB=OFF} \
- %{!?with_sqlite:-DENABLE_SQLITE=OFF} \
- %{!?with_plugins:-DENABLE_PLUGINS=OFF} \
- %{?with_fsverity:-DWITH_FSVERITY=ON} \
- %{?with_libimaevm:-DWITH_IMAEVM=ON} \
- %{!?with_libarchive:-DWITH_ARCHIVE=OFF} \
- %{!?with_check:-DENABLE_TESTSUITE=OFF} \
- %{?with_sequoia:-DWITH_SEQUOIA=ON} \
- %{!?with_sequoia:-DWITH_INTERNAL_OPENPGP=ON} \
- %{!?with_sequoia:-DWITH_OPENSSL=ON } \
- -DRPM_VENDOR=redhat \
- ..
-
-%make_build
-
-%install
-cd _build
-%make_install
-cd ..
-
-mkdir -p $RPM_BUILD_ROOT%{_unitdir}
-install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/%{_unitdir}
-install -m 644 %{SOURCE20} $RPM_BUILD_ROOT/%{_unitdir}
-
-mkdir -p $RPM_BUILD_ROOT%{rpmhome}
-install -m 755 %{SOURCE21} $RPM_BUILD_ROOT/%{rpmhome}
-
-# Built-in replacement for systemd-sysusers(8)
-install -m 755 scripts/sysusers.sh $RPM_BUILD_ROOT/%{rpmhome}
-
-# Save list of packages through cron
-mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily
-install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily/rpm
-
-mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
-install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rpm
-
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
-mkdir -p $RPM_BUILD_ROOT%{rpmhome}/macros.d
-mkdir -p $RPM_BUILD_ROOT/usr/lib/sysimage/rpm
-cd _build
-
-# init an empty database for %ghost'ing for all supported backends
-for be in %{?with_ndb:ndb} %{?with_sqlite:sqlite}; do
- mkdir ${be}
- tools/rpmdb --rcfile rpmrc --define "_db_backend ${be}" --dbpath=${PWD}/${be} --initdb
- cp -va ${be}/. $RPM_BUILD_ROOT/usr/lib/sysimage/rpm/
-done
-
-# some packages invoke find-debuginfo directly, preserve compat for now
-ln -s ../../bin/find-debuginfo $RPM_BUILD_ROOT/usr/lib/rpm/find-debuginfo.sh
-
-%find_lang rpm
-
-find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
-
-# These live in perl-generators and python-rpm-generators now
-rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*,pythond*}
-rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*}
-rm -rf $RPM_BUILD_ROOT/var/tmp
-
-# workaround for https://github.com/rpm-software-management/rpm/issues/2811
-rm $RPM_BUILD_ROOT/%{_defaultdocdir}/rpm/README.md
-
-# Signing macros for Sequoia
-install -m 644 %{SOURCE30} $RPM_BUILD_ROOT/%{_defaultdocdir}/rpm/
-
-rm $RPM_BUILD_ROOT/%{rpmhome}/rpmdump
-
-%pre
-# Symlink all rpmdb files to the new location if we're still using /var/lib/rpm
-if [ ! -L /var/lib/rpm ] && [ -d /var/lib/rpm ]; then
- mkdir -p /usr/lib/sysimage/rpm
- rpmdb_files=$(find /var/lib/rpm -maxdepth 1 -type f | sed 's|^/var/lib/rpm/||g' | sort)
- for rpmdb_file in ${rpmdb_files[@]}; do
- ln -sfr /var/lib/rpm/${rpmdb_file} /usr/lib/sysimage/rpm/${rpmdb_file}
- done
-fi
-
-%triggerun -- rpm < 4.17.0-7
-# Handle rpmdb migrate service on erasure of old to avoid ordering issues
-if [ -x /usr/bin/systemctl ]; then
- systemctl --no-reload preset rpmdb-migrate ||:
-fi
-
-%posttrans
-if [ ! -L /var/lib/rpm ] && [ -d /var/lib/rpm ]; then
- touch /var/lib/rpm/.migratedb
-fi
-if [ ! -d /var/lib/rpm ] && [ -d /usr/lib/sysimage/rpm ] && [ ! -f /usr/lib/sysimage/rpm/.rpmdbdirsymlink_created ]; then
- ln -sfr /usr/lib/sysimage/rpm /var/lib/rpm
- touch /usr/lib/sysimage/rpm/.rpmdbdirsymlink_created
-fi
-
-%files -f _build/rpm.lang
-%license COPYING
-%doc CREDITS docs/manual/[a-z]*
-%doc %{_defaultdocdir}/rpm/CONTRIBUTING.md
-%doc %{_defaultdocdir}/rpm/COPYING
-%doc %{_defaultdocdir}/rpm/INSTALL
-%doc %{_defaultdocdir}/rpm/README
-
-%{_unitdir}/rpmdb-rebuild.service
-%{_unitdir}/rpmdb-migrate.service
-
-%dir %{_sysconfdir}/rpm
-
-%attr(0755, root, root) %dir /usr/lib/sysimage/rpm
-%attr(0644, root, root) %ghost %config(missingok,noreplace) /usr/lib/sysimage/rpm/*
-%attr(0644, root, root) %ghost /usr/lib/sysimage/rpm/.*.lock
-
-%{_bindir}/rpm
-%if %{with libarchive}
-%{_bindir}/rpm2archive
-%endif
-%{_bindir}/rpm2cpio
-%{_bindir}/rpmdb
-%{_bindir}/rpmkeys
-%{_bindir}/rpmquery
-%{_bindir}/rpmverify
-%{_bindir}/rpmsort
-
-%{_mandir}/man8/rpm.8*
-%{_mandir}/man8/rpmdb.8*
-%{_mandir}/man8/rpmkeys.8*
-%if %{with libarchive}
-%{_mandir}/man8/rpm2archive.8*
-%endif
-%{_mandir}/man8/rpm2cpio.8*
-%{_mandir}/man8/rpm-misc.8*
-%{_mandir}/man8/rpmsort.8*
-%{_mandir}/man8/rpm-plugins.8*
-
-%attr(0755, root, root) %dir %{rpmhome}
-%{rpmhome}/macros
-%dir %{rpmhome}/macros.d
-%{rpmhome}/lua
-%{rpmhome}/rpmpopt*
-%{rpmhome}/rpmrc
-
-%{rpmhome}/rpmdb_*
-%{rpmhome}/rpm.daily
-%{rpmhome}/rpm.log
-%{rpmhome}/rpm.supp
-%{rpmhome}/rpm2cpio.sh
-%{rpmhome}/tgpg
-
-%{rpmhome}/platform
-%{rpmhome}/sysusers.sh
-
-%dir %{rpmhome}/fileattrs
-
-%files libs
-%{_libdir}/librpmio.so.%{sover}
-%{_libdir}/librpm.so.%{sover}
-%{_libdir}/librpmio.so.%{sover}.*
-%{_libdir}/librpm.so.%{sover}.*
-%if %{with plugins}
-%dir %{_libdir}/rpm-plugins
-
-%files plugin-syslog
-%{_libdir}/rpm-plugins/syslog.so
-%{_mandir}/man8/rpm-plugin-syslog.8*
-
-%files plugin-selinux
-%{_libdir}/rpm-plugins/selinux.so
-%{_mandir}/man8/rpm-plugin-selinux.8*
-
-%files plugin-systemd-inhibit
-%{_libdir}/rpm-plugins/systemd_inhibit.so
-%{_mandir}/man8/rpm-plugin-systemd-inhibit.8*
-
-%if %{with libimaevm}
-%files plugin-ima
-%{_libdir}/rpm-plugins/ima.so
-%{_mandir}/man8/rpm-plugin-ima.8*
-%endif
-
-%if %{with fsverity}
-%files plugin-fsverity
-%{_libdir}/rpm-plugins/fsverity.so
-%endif
-
-%files plugin-fapolicyd
-%{_libdir}/rpm-plugins/fapolicyd.so
-%{_mandir}/man8/rpm-plugin-fapolicyd.8*
-
-%files plugin-prioreset
-%{_libdir}/rpm-plugins/prioreset.so
-%{_mandir}/man8/rpm-plugin-prioreset.8*
-
-%files plugin-audit
-%{_libdir}/rpm-plugins/audit.so
-%{_mandir}/man8/rpm-plugin-audit.8*
-# with plugins
-
-%files plugin-dbus-announce
-%{_libdir}/rpm-plugins/dbus_announce.so
-%{_mandir}/man8/rpm-plugin-dbus-announce.8*
-%{_datadir}/dbus-1/system.d/org.rpm.conf
-%endif
-
-%files build-libs
-%{_libdir}/librpmbuild.so.%{sover}
-%{_libdir}/librpmbuild.so.%{sover}.*
-
-%files sign-libs
-%{_libdir}/librpmsign.so.%{sover}
-%{_libdir}/librpmsign.so.%{sover}.*
-
-%files build
-%{_bindir}/rpmbuild
-%{_bindir}/gendiff
-%{_bindir}/rpmspec
-%{_bindir}/rpmlua
-
-%{_mandir}/man1/gendiff.1*
-%{_mandir}/man8/rpmbuild.8*
-%{_mandir}/man8/rpmdeps.8*
-%{_mandir}/man8/rpmspec.8*
-%{_mandir}/man8/rpmlua.8*
-
-%{rpmhome}/brp-*
-%{rpmhome}/check-*
-%{rpmhome}/find-lang.sh
-%{rpmhome}/*provides*
-%{rpmhome}/*requires*
-%{rpmhome}/*deps*
-%{rpmhome}/*.prov
-%{rpmhome}/*.req
-%{rpmhome}/fileattrs/*
-%{rpmhome}/find-debuginfo.sh
-%{rpmhome}/rpmuncompress
-
-%files sign
-%{_bindir}/rpmsign
-%{_mandir}/man8/rpmsign.8*
-%doc %{_defaultdocdir}/rpm/macros.rpmsign-sequoia
-
-%files -n python3-%{name}
-%dir %{python3_sitearch}/rpm
-%{python3_sitearch}/rpm-%{rpmver}*.egg-info
-%{python3_sitearch}/rpm/__init__.py
-%{python3_sitearch}/rpm/transaction.py
-%{python3_sitearch}/rpm/_rpm.so
-%artifact %{python3_sitearch}/rpm/__pycache__/
-
-# Python examples
-%{_defaultdocdir}/rpm/examples/*.py
-
-%files devel
-%{_mandir}/man8/rpmgraph.8*
-%{_bindir}/rpmgraph
-%{_libdir}/librp*[a-z].so
-%{_libdir}/pkgconfig/rpm.pc
-%{_libdir}/cmake/rpm/
-%{_includedir}/rpm/
-
-%files cron
-%{_sysconfdir}/cron.daily/rpm
-%config(noreplace) %{_sysconfdir}/logrotate.d/rpm
-
-%files apidocs
-%license COPYING
-%doc %{_defaultdocdir}/rpm/API/
-
-%changelog
-* Mon Nov 09 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-29
-- Fix rpopen()/rpclose() and make them more POSIXy (RHEL-288156)
-
-* Wed Oct 21 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-28
-- CVE-2026-84233: Prevent macro injection via .gem filenames (RHEL-288155)
-- CVE-2026-84837: Prevent command injection via rpmbuild -t filename (RHEL-288156)
-- CVE-2026-84838: Prevent command injection via rpmuncompress (RHEL-288158)
-
-* Fri Oct 16 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-27
-- Bump release for rebuild (RHEL-282742)
-
-* Mon Oct 12 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-26
-- CVE-2026-78367: Prevent command injection via rpmbuild -t (RHEL-282742)
-
-* Fri Jun 19 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-25
-- Apply forgotten patch for RHEL-169755
-
-* Thu Jun 18 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-24
-- Add support for %%autosetup -C (RHEL-141269)
-- Add support for database parking (RHEL-126405)
-- Make syslog plugin actually useful and also required (RHEL-155272)
-- Require rpm-plugin-audit instead of just recommending (RHEL-139071)
-- Fix buffer overruns with long language strings (RHEL-169755)
-
-* Thu Feb 05 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-23
-- Fix key import API to return NOTTRUSTED for disabled algorithms (RHEL-112394)
-
-* Tue Jan 27 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-22
-- Ignore signatures made by unknown or disabled algorithms (RHEL-112394)
-- Enable NSS-based user and group lookups again (RHEL-118365)
-- Fix ignored password field if empty in passwd/group file (RHEL-118365)
-
-* Thu Nov 27 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-21
-- Fix pre/post/meta/etc. qualifiers for weak dependencies (RHEL-101936)
-- Fix redundant rpmdb-migrate.service runs (RHEL-96510)
-
-* Tue Aug 26 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-20
-- Fix rpmsign(8) man page (RHEL-109221)
-
-* Mon Aug 25 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-19
-- Additional PQC-related fixes (RHEL-109221)
-
-* Thu Jul 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-18
-- Add support for multiple OpenPGP signatures per package (RHEL-100571)
-- Add support for OpenPGP v6 signature pre-salting (RHEL-100571)
-- Add support for PQC algorithms from RFC-9580 (RHEL-100571)
-- Add --list and --erase commands to rpmkeys(8) (RHEL-105421)
-- Fix regression on dynamic subpackage RPMTAG_SOURCERPM missing (RHEL-102023)
-
-* Wed Jun 11 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-17
-- Bump release for another rebuild
-
-* Wed Jun 11 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-16
-- Fix regression on subpackage debuginfo RPMTAG_SOURCERPM missing (RHEL-87383)
-
-* Thu May 29 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-15
-- Add support for spec local file attributes and generators (RHEL-84057)
-- Ensure binary and source headers are identified as such (RHEL-87383)
-
-* Thu Apr 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-14
-- Store configurable digest(s) on packages in rpmdb (RHEL-84062)
-- Fix command references in rpmsign(8) man page, take II (RHEL-73173)
-
-* Tue Apr 22 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-13
-- Make %%_passwd_path and %%_group_path into lists (RHEL-78693)
-- Fix memory leak in rpmspec --shell (RHEL-55284)
-- Fix memory leak in rpmsign (RHEL-82284)
-- Fix command references in rpmsign(8) man page (RHEL-73173)
-- Fix exit code regression on update failure (RHEL-87384)
-
-* Fri Feb 07 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-12
-- Rebuild for ima-evm-utils 1.6 soname bump (RHEL-65378)
-
-* Fri Jan 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-11
-- Fix possible package corruption on --delsign/resign/addsign (RHEL-69518)
-- Fix regression on build-id generation from compressed ELF (RHEL-54000)
-- Fix root relocation regression (RHEL-56613)
-- Update sequoia macros for sq 1.0 (RHEL-56363)
-
-* Mon Jan 13 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-10
-- Report unsafe symlinks during installation as a specific case (RHEL-73186)
-- Fix FA_TOUCH'ed files getting removed on failed update (RHEL-54386)
-- Rebuild for ima-evm-utils 1.6 soname bump (RHEL-65378)
-
-* Wed Dec 04 2024 Panu Matilainen <pmatilai@redhat.com> - 4.19.1.1-9
-- Revert the gnupg/sequoia sub-packages, too much headache
-- Ship sequoia-signing enablement macros as documentation instead
-- Generate binary signatures with Sequoia too
-
-* Tue Nov 12 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-8
-- Add Sequoia signing support back
-
-* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4.19.1.1-7
-- Bump release for October 2024 mass rebuild:
- Resolves: RHEL-64018
-
-* Fri Oct 25 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-6
-- Revert Sequoia signing support for now, breaks CI
-
-* Fri Oct 25 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-5
-- Fix Conflicts in new rpm-sign backends
-
-* Mon Oct 14 2024 Panu Matilainen <pmatilai@redhat.com> - 4.19.1.1-4
-- Remove hardcoded GPG references from signing error messages
-- Support switching between GnuPG and Sequoia for package signing (RHEL-56363)
-
-* Tue Aug 13 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-3
-- Fix potential use of uninitialized pipe array (RHEL-54012)
-- Fix potential use of uninitialized pgp struct (RHEL-54013)
-- Fix memory leak in rpmsign(8) (RHEL-37564)
-
-* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.19.1.1-2
-- Bump release for June 2024 mass rebuild
-
-* Wed Feb 07 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-1
-- Update to 4.19.1.1 (https://rpm.org/wiki/Releases/4.19.1.1)
-
-* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Fri Dec 15 2023 Panu Matilainen <pmatilai@redhat.com> - 4.19.1-2
-- Fix bogus warnings about runaway Lua scripts (#2254463)
-
-* Tue Dec 12 2023 Michal Domonkos <mdomonko@redhat.com> - 4.19.1-1
-- Update to 4.19.1 (https://rpm.org/wiki/Releases/4.19.1)
-
-* Thu Nov 30 2023 Stephen Gallagher <sgallagh@redhat.com> - 4.19.0-3
-- Fix issues with %%getncpus sometimes returning 0 on i686 systems
-
-* Mon Nov 13 2023 Panu Matilainen <pmatilai@redhat.com> - 4.19.0-2
-- Ensure central package ops log via rpm-plugin-audit recommends (#1476926)
-- Own our Python module directory (#2248555)
-- Fix sysusers.d generator barfing on legit content (#2246236)
-
-* Tue Sep 19 2023 Michal Domonkos <mdomonko@redhat.com> - 4.19.0-1
-- Update to 4.19.0
-
-* Mon Sep 04 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.99-1
-- Update to 4.19 rc1
-
-* Tue Aug 22 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.92-3
-- Fix regression on uncompressing 7zip compressed sources (#2229984)
-- Fix a conflict with pre-existing scl-utils %_root_prefix macro (#2233454)
-
-* Mon Aug 21 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.92-2
-- Behave more consistently when target %%optflags are not defined (#2231727)
-
-* Wed Aug 02 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.92-1
-- Update to 4.19 beta
-
-* Tue Jul 25 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 4.18.91-9
-- Drop fsverity plugin from RHEL builds
-
-* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.91-8
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
-
-* Wed Jun 28 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-7
-- Rebuilt for Python 3.12
-
-* Wed Jun 28 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-6
-- Fix a spec parsing error handling regression
-- Fix a per-file plugin hook regression
-
-* Tue Jun 27 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-5
-- Fix potential crash with multiple in-process sqlite uses
-
-* Mon Jun 26 2023 Python Maint <python-maint@redhat.com> - 4.18.91-4
-- Rebuilt for Python 3.12
-
-* Wed Jun 21 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-3
-- Enable user/group provide generation
-- Add a conflict for systemd versions carrying their own
-
-* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.18.91-2
-- Rebuilt for Python 3.12
-
-* Fri Jun 09 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.91-1
-- Update to 4.19 alpha2
-
-* Thu Jun 08 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 4.18.90-10
-- Rebuild for ima-evm-utils 1.5 soname bump
-
-* Mon May 29 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.90-9
-- Revert %%_smp_build_ncpus macro changing to parametric (#2210347)
-
-* Thu May 25 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-8
-- Set %_sharedstatedir to /var/lib (#2209989)
-
-* Thu May 25 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-7
-- Remove compat links for old so name of the libraries
-- Remove compat forward ports for libdnf
-
-* Mon May 22 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-6
-- Fix undefined symbols from plugins
-
-* Wed May 17 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-5
-- Use mkdir -p for creating SPECPARTS dir
-
-* Wed May 17 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-4
-- Enable large file support on 32-bit systems again
-
-* Mon May 15 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-3
-- Fix libbzip2 detection
-
-* Thu May 11 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-2
-- Add compat links for building dnf and friends
-
-* Thu May 04 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-1
-- Update to 4.19 alpha
-
-* Tue Apr 25 2023 Miro Hrončok <mhroncok@redhat.com> - 4.18.1-3
-- Explicitly require rpm-sequoia >= 1.4.0 on runtime to avoid
- rpm: symbol lookup error: /lib64/librpmio.so.9: undefined symbol: _pgpVerifySignature2
-
-* Thu Apr 20 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.1-2
-- Backport improved crypto error messages from upstream
-
-* Wed Mar 15 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.1-1
-- Rebase to rpm 4.18.1 (https://rpm.org/wiki/Releases/4.18.1)
-
-* Thu Feb 16 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-11
-- Disable debuginfod lookups in rpmbuild scripts
-- Exclude kernel modules from ELF dependency generation
-
-* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.0-10
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Mon Jan 09 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-9
-- Generate Python egg-info from automake (#2135561)
-- Drop setup.py-based Python build (#2135719)
-
-* Wed Dec 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-8
-- Fix hang-up on failed key import (related to #2149762)
-
-* Thu Nov 24 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-7
-- Require rpm-sequoia >= 1.2.0 for V3 signature support, re-enable (#2141686)
-
-* Thu Nov 10 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-6
-- Revert back to internal OpenPGP parser for V3 signature support (#2141686)
-
-* Tue Nov 01 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-5
-- Switch to Sequoia crypto (https://fedoraproject.org/wiki/Changes/RpmSequoia)
-
-* Fri Oct 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-4
-- Add an option for building with Sequoia crypto
-
-* Wed Oct 05 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-3
-- Break ancient rpm <-> rpm-libs ordering loop
-
-* Mon Oct 03 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-2
-- Drop the temporary build-dependency on pandoc before it grows a beard
-- Start utilizing %%patchlist, finally
-
-* Wed Sep 21 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-1
-- Rebase to rpm 4.18.0 (https://rpm.org/wiki/Releases/4.18.0)
-
-* Wed Sep 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.4
-- Fix a largish directory walk related memory leak in transactions
-
-* Wed Sep 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.3
-- Fix buffer overrun on rpmdb queries involving ^ in version
-
-* Wed Sep 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.2
-- Break selinux-policy <-> rpm-plugin-selinux ordering loop (#1851266)
-
-* Fri Sep 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.1
-- Rebase to 4.18.0-rc1 (https://rpm.org/wiki/Releases/4.18.0)
-
-* Tue Aug 02 2022 Michal Domonkos <mdomonko@redhat.com> - 4.18.0-0.beta1.4
-- Revert %%autosetup -S git patch due to another regression
-
-* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.0-0.beta1.3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Mon Jul 11 2022 Michal Domonkos <mdomonko@redhat.com> - 4.18.0-0.beta1.2
-- Fix check-buildroot regression wrt bundled SRPM (#2104150)
-- Fix %%autosetup -S git regression wrt default git branch
-
-* Tue Jun 28 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.beta1.1
-- Rebase to 4.18.0-beta1 (https://rpm.org/wiki/Releases/4.18.0)
-
-* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.18.0-0.alpha2.2
-- Rebuilt for Python 3.11
-
-* Mon May 23 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha2.1
-- Rebase to 4.18.0-0.alpha2
-- Prevent uncontrolled sqlite WAL growth during large transactions
-
-* Thu Apr 28 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.6
-- Fix rubygem unpack regression, causing rubygem builds to fail
-
-* Wed Apr 27 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.5
-- Fix verbose source uncompress regression (#2079127)
-
-* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.4
-- Further dynamic buildrequires cli switch regression fixes (#2078744)
-
-* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.3
-- Fix rpmbuild -ba --nodeps regression wrt dynamic buildrequires (#2078744)
-
-* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.2
-- Fix rpmbuild -br not producing a src.rpm regression (#2078744)
-
-* Mon Apr 25 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.1
-- Rebase to 4.18.0 alpha (https://fedoraproject.org/wiki/Changes/RPM-4.18)
-- Add patches for two late discovered regressions
-
-* Mon Mar 21 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-10
-- Create rpmdb directory symlink in posttrans by default (#2066427)
-
-* Wed Feb 16 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-9
-- Add dependencies for the rpmdb migration scriptlet (#2055033)
-
-* Wed Feb 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-8
-- Really fix spurious %%transfiletriggerpostun execution (#2023311, #2048168)
-
-* Wed Jan 26 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-7
-- Migrate rpmdb to /usr/lib/sysimage/rpm (#2042099)
- https://fedoraproject.org/wiki/Changes/RelocateRPMToUsr
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Thu Jan 20 2022 Björn Esser <besser82@fedoraproject.org> - 4.17.0-5
-- Rebuild (ima-evm-utils)
-- Use baserelease for rpm release tag to make rpmdev-bumpspec work
-
-* Fri Jan 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-4
-- Fix spurious %%transfiletriggerpostun execution (#2023311)
-
-* Fri Jan 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-3
-- Fix fapolicyd plugin dependencies to replace fapolicyd-dnf-plugin (#2007639)
-
-* Mon Nov 08 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 4.17.0-2
-- Rebuils for ima-evm-utils 1.4 soname bump
-
-* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 4.17.0-1.1
-- Rebuilt with OpenSSL 3.0.0
-
-* Fri Sep 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-1
-- Rebase to 4.17.0 final (https://rpm.org/wiki/Releases/4.17.0)
-
-* Thu Aug 19 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-0.rc1.1
-- Rebase to 4.17.0 rc1
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-0.beta1.0.2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Tue Jun 22 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-0.beta1.1
-- Rebase to 4.17.0 beta1
-- Add back /usr/lib/rpm/find-debuginfo.sh as a compat symlink
-- Add temporary buildrequire on pandoc due to makefile bugs in beta1
-
-* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 4.16.90-0.git15395.8.1
-- Rebuilt for Python 3.10
-
-* Mon May 17 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.8
-- Switch to external debugedit
-
-* Mon May 17 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.7
-- Handle different find-debuginfo.sh location with external debugedit
-
-* Fri May 07 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.6
-- Fix regression causing a crash on Lua state reset (#1958095)
-
-* Thu Apr 29 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.5
-- Proper fix for comments affecting macro file parsing (#1953910)
-
-* Tue Apr 27 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.4
-- Enable fapolicyd plugin build
-
-* Tue Apr 27 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.3
-- Temporarily revert macro file loading fix due to regression #1953910
-
-* Mon Apr 26 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.2
-- Add a bcond to build with external debugedit
-
-* Mon Apr 26 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.1
-- Rebase to rpm 4.17.0 alpha (https://rpm.org/wiki/Releases/4.17.0)
-- Drop a local hack for a cosmetic Fedora 22 era rpm2cpio issue
-- Drop BDB support leftovers from the spec
-- Add build conditional for fsverity plugin
-
-* Mon Mar 22 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.3-1
-- Rebase to rpm 4.16.1.3 (https://rpm.org/wiki/Releases/4.16.1.3)
-
-* Wed Feb 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-6
-- Drop support for read-write Berkeley DB format (#1787311)
-
-* Wed Feb 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-5
-- Make with/without bdb build option actually work
-- Clean up unpackaged /var/tmp from the build root
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.1.2-4.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Fri Jan 22 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-4
-- Fix edit_attributes_str_comp_dir in Patch916 (#1919107)
-
-* Tue Jan 19 2021 Jeff Law <law@redhat.com> - 4.16.1.2-3
-- Fix typo in test for F33 or newer
-
-* Tue Jan 19 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-2
-- Add debugedit DWARF5 support
-
-* Wed Dec 16 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-1
-- Rebase to rpm 4.16.1.2 (http://rpm.org/wiki/Releases/4.16.1.2)
-- Add a spec safeguard for accidental soname bumps
-
-* Wed Dec 16 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.1-1
-- Rebase to rpm 4.16.1.1 (http://rpm.org/wiki/Releases/4.16.1.1)
-
-* Thu Dec 10 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1-1
-- Rebase to rpm 4.16.1 (http://rpm.org/wiki/Releases/4.16.1)
-
-* Mon Nov 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-5
-- Only disable test-suite where it's actually broken
-
-* Mon Nov 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-4
-- Fix BDB crashing on failed open attempts (#1902395, #1898299, #1900407)
-- Fix unnecessary double failure on lazy keyring open
-
-* Wed Oct 28 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-3
-- Issue deprecation warning when creating BDB databases (#1787311)
-- Temporarily disable test-suite due to massive fakechroot breakage
-
-* Mon Oct 05 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-2
-- Clean up after test-suite which leaves a read-only tree behind
-
-* Wed Sep 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-1
-- Rebase to 4.16.0 final (https://rpm.org/wiki/Releases/4.16.0)
-
-* Mon Aug 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.rc1.1
-- Rebase to 4.16.0-rc1
-- Run test-suite in parallel
-
-* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-0.beta3.2.3
-- Second attempt - Rebuilt for
- https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-0.beta3.2.2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Sun Jul 26 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.16.0-0.beta3.2.1
-- rebuild for ima-evm-utils 1.3
-
-* Mon Jun 29 2020 Tom Callaway <spot@fedoraproject.org> - 4.16.0-0.beta3.2
-- rebuild for lua 5.4
-
-* Wed Jun 24 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta3.1
-- Rebase to beta3
-
-* Wed Jun 10 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.4
-- Fix prefix search on sqlite backend (many file triggers not running)
-
-* Mon Jun 8 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.3
-- Unbreak metainfo() provide generation
-
-* Wed Jun 3 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.2
-- Don't auto-enable _flush_io on non-rotational media, it's too costly
-
-* Mon Jun 1 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.1
-- Rebase to rpm 4.16.0-beta1
-
-* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 4.15.90-0.git14971.12.1
-- Rebuilt for Python 3.9
-
-* Tue May 12 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.12
-- Fix segfault when trying to use unknown database backend
-
-* Thu May 7 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.11
-- Flag BDB databases for rebuild on next reboot whenever rpm is updated
-- Switch default database to sqlite (#1818910)
-
-* Mon May 4 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.10
-- Handle rpmdb-rebuild service enablement for upgrades
-
-* Thu Apr 23 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.9
-- Fix questionable uses of %%{name} and %%{version} in the spec
-
-* Wed Apr 22 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.8
-- Fix regression(s) on build dependency resolution
-
-* Wed Apr 22 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.7
-- Add rpmdb-rebuild systemd service
-
-* Fri Apr 17 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.6
-- Warn on undefined macros in buildtree setup macros (#1820349)
-
-* Thu Apr 09 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.5
-- Fix regression causing all ELF files classified as OCaml
-
-* Mon Apr 06 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.4
-- Fix invalid path passed to parametric macro generators
-
-* Thu Apr 02 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.3
-- Fix db lock files not getting packaged
-
-* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.2
-- Move bdb specific systemd-tmpfiles cleanup crutch behind the bdb bcond
-
-* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.1
-- Rebase to rpm 4.16 alpha (https://rpm.org/wiki/Releases/4.16.0)
-- Add bconds for and enable sqlite, ndb and bdb_ro database backends
-- Add bcond for disabling bdb backend
-- Drop lmdb bcond, the backend was removed upstream
-- Ensure all database backend files are owned
-- Fix external environment causing test-suite failures in spec build
-- Re-enable hard test-suite failures again
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.1-2.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Thu Jan 9 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.1-2
-- Obsolete python2-rpm to fix upgrade path (#1775113)
-
-* Mon Nov 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.1-1
-- Rebase to 4.15.1 (https://rpm.org/wiki/Releases/4.15.1)
-
-* Thu Nov 14 2019 Adam Williamson <awilliam@redhat.com> - 4.15.0-7
-- Really revert armv8 detection improvements (patch was not applied in -6)
-
-* Wed Oct 23 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.15.0-6
-- Revert armv8 detection improvements
-
-* Mon Oct 21 2019 Stephen Gallagher <sgallagh@redhat.com> - 4.15.0-5
-- Revert aliasing arm64 to aarch64
-- Resolves: rhbz#1763831
-
-* Fri Oct 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-4
-- Revert problematic sub-variants of armv8 (#1691430)
-
-* Thu Oct 17 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-3
-- Drop python2 bindings for good (#1761211)
-
-* Tue Oct 15 2019 Adam Williamson <awilliam@redhat.com> - 4.15.0-2
-- Revert systemd inhibit plugin's calling of dbus_shutdown (#1750575)
-
-* Thu Sep 26 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-1
-- Update to 4.15.0 final (https://rpm.org/wiki/Releases/4.15.0)
-
-* Wed Aug 28 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.rc1.1
-- Update to 4.15.0-rc1
-
-* Tue Aug 27 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.6
-- Fix some issues in the thread cap logic
-
-* Mon Aug 26 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.5
-- Re-enable test-suite, temporarily disabled during alpha troubleshooting
-
-* Fri Aug 23 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.4
-- Cap number of threads on 32bit platforms (#1729382)
-- Drop %%_lto_cflags macro (reverted upstream)
-
-* Fri Aug 23 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.3
-- Restore strict order of build scriptlet stdout/stderr output
-
-* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 4.15.0-0.beta.2.3
-- Rebuilt for Python 3.8
-
-* Wed Jul 31 2019 Miro Hrončok <mhroncok@redhat.com> - 4.15.0-0.beta.2.2
-- Rebuilt for libimaevm.so.1
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.0-0.beta.2.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Sat Jul 20 18:30:10 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.15.0-0.beta.2
-- Backport patch to not set RPMTAG_BUILDTIME to SOURCE_DATE_EPOCH
-
-* Thu Jun 27 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.1
-- Rebase to 4.15.0 beta
-
-* Thu Jun 20 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.18
-- Fix excessive TLS use, part II (#1722181)
-
-* Thu Jun 20 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.17
-- Fix excessive TLS use (#1722181)
-
-* Wed Jun 19 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.16
-- Drop buildarch again now that python_provide no longer needs it (#1720139)
-
-* Fri Jun 14 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.15
-- Temporarily re-enable buildarch macro for python_provide macro use (#1720139)
-
-* Thu Jun 13 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.14
-- Don't fail build trying to kill a non-existent process (#1720143)
-
-* Tue Jun 11 14:59:16 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.13
-- Fix build of binary packages in parallel
-
-* Tue Jun 11 00:08:50 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.10
-- Revert generation of binary packages in parallel
-
-* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.1
-- Update to 4.15.0 alpha
-
-* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-14
-- Drop support for sanitizer build, it never really worked anyway
-- Drop leftover build-dependency on binutils-devel
-- Truncate changelog to rpm 4.14.x (last two years)
-
-* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-13
-- Drop support for Fedora < 28 builds
-- Drop leftover BDB-related compiler flag foo
-
-* Fri Jun 07 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-12
-- Use pre-determined buildhost in test-suite to avoid DNS usage
-- Drop obsolete specspo and gpg2 related patches
-
-* Fri Jun 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-11
-- Use py2/3 macros for building and installing the bindings
-
-* Tue May 21 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-10
-- Support build-id generation from compressed ELF files (#1650072)
-
-* Fri May 03 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-9
-- Suggest gdb-minimal
-
-* Thu Apr 25 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-8
-- Replace deprecated __global_ldflags uses with build_ldflags macro
-
-* Thu Apr 11 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-7
-- Fix excessive reference counting on faked string .decode()
-
-* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-6
-- Unbreak Python 3 API by returning string data as surrogate-escaped utf-8
- string objects instead of bytes (#1693751)
-- As a temporary crutch, monkey-patch a .decode() method to returned strings
- to give users time to migrate from the long-standing broken behavior
-
-* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-5
-- Generate minidebug for PIE executables on file >= 5.33 too
-- Backport find-debuginfo --g-libs option for glibc's benefit (#1661512)
-
-* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2.1-4.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Wed Dec 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-4
-- Backport the new modularity label tag (#1650286)
-
-* Mon Nov 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-3
-- Take prefix into account when compressing man pages etc for Flatpak builds
-
-* Wed Oct 24 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-2
-- Selinux plugin requires a base policy to work (#1641631)
-
-* Mon Oct 22 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-1
-- Rebase to rpm 4.14.2.1 (http://rpm.org/wiki/Releases/4.14.2.1)
-
-* Wed Oct 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-9
-- Push name/epoch/version/release macro before invoking depgens
-
-* Tue Oct 16 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-8
-- Resurrect long since broken Lua library path
-
-* Fri Oct 12 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-7
-- Actually fail build on test-suite failures again
-- Invoke python2 explicitly from test-suite to unbreak build, part II
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-6
-- Drop duplicate BDB buildrequire
-- Drop nowadays unnecessary BDB macro foo
-- Drop nowadays unnecessary manual libcap dependency
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-5
-- Own all rpmdb files and ensure the list remains up to date
-- Drop redundant verify exclusions on rpmdb ghosts
-- Fix build when systemd is not installed (duh)
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-4
-- Erm, really use the macro for tmpfiles.d path
-- Erm, don't nuke buildroot at beginning of %%install
-- Use modern build/install helper macros
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-3
-- Eh, selinux plugin dependency condition was upside down (#1493267)
-- Drop no longer necessary condition over imaevm name
-- Drop no longer necessary obsolete on compat-librpm3
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-2
-- Fix ancient Python GIL locking bug (#1632488)
-- Use the appropriate macro for tmpfiles.d now that one exists
-
-* Tue Aug 21 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-1
-- Update to rpm 4.14.2 final (http://rpm.org/wiki/Releases/4.14.2)
-
-* Mon Aug 13 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.2
-- Move python-macro-helper to main package where the macros are (#1577860)
-
-* Wed Aug 08 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.1
-- Update to rpm 4.14.2-rc2
-
-* Sat Jul 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-0.rc1.2
-- Decompress DWARF compressed ELF sections
-
-* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2-0.rc1.1.2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.2-0.rc1.1.1
-- Rebuilt for Python 3.7
-
-* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc1.1
-- Update to rpm 4.14.2-rc1
-- Patching test-suite for python2 too painful, just sed it instead
-- Fix premature version increment from previous changelog entries, oops
-
-* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-13
-- Ehm, need to patch the autogenerated rpmtests script too for python2
-- Ehm, it's ldconfig_scriptlets not scripts
-- Drop the non-working python envvar magic from obsoleted change
-
-* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-12
-- Invoke python2 explicitly from test-suite to unbreak build
-
-* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-11
-- Remove direct ldconfig calls, use compat macros instead
-
-* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10.1
-- Rebuilt for Python 3.7
-
-* Mon May 28 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10
-- Backport upstream solution to make brp-python-bytecompile automagic part opt-outable
- https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation
-
-* Tue May 22 2018 Mark Wielaard <mjw@fedoraproject.org> - 4.14.1-9
-- find-debuginfo.sh: Handle application/x-pie-executable (#1581224)
-
-* Tue Feb 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-8
-- Split rpm-build-libs to one more subpackage rpm-sign-libs
-
-* Mon Feb 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-7
-- Explicitly BuildRequire gcc and make
-
-* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-6.1
-- Escape macros in %%changelog
-
-* Wed Jan 31 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-6
-- Avoid unnecessary macro helper dependency on /usr/bin/python (#1538657)
-- Fix release of previous changelog entry
-
-* Tue Jan 30 2018 Tomas Orsava <torsava@redhat.com> - 4.14.1-5
-- Add envvar that will be present during RPM build,
- Part of a Fedora Change for F28: "Avoid /usr/bin/python in RPM build"
- https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
-
-* Tue Jan 30 2018 Petr Viktorin <pviktori@redhat.com> - 4.14.1-4
-- Skip automatic Python byte-compilation if *.py files are not present
-
-* Thu Jan 25 2018 Florian Weimer <fweimer@redhat.com> - 4.14.1-3
-- Rebuild to work around gcc bug leading to librpm miscompilation (#1538648)
-
-* Thu Jan 18 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-2
-- Avoid nuking the new python-macro-helper along with dep generators (#1535692)
-
-* Tue Jan 16 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-1
-- Rebase to rpm 4.14.1 (http://rpm.org/wiki/Releases/4.14.1)
-
-* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-5
-- Fix typo in Obsoletes
-
-* Mon Nov 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-4
-- Remove platform-python bits
-
-* Thu Oct 26 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-3
-- Move selinux plugin dependency to selinux-policy in Fedora >= 28 (#1493267)
-
-* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-2
-- Dump out test-suite log in case of failures again
-- Don't assume per-user groups in test-suite
-
-* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-1
-- Rebase to rpm 4.14.0 final (http://rpm.org/wiki/Releases/4.14.0)
-
-* Tue Oct 10 2017 Troy Dawson <tdawson@redhat.com> - 4.14.0-0.rc2.6
-- Cleanup spec file conditionals
-
-* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.5
-- Add build conditionals for zstd and lmdb support
-- Enable zstd support
-
-* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.4
-- Spec cleanups
-
-* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.3
-- BuildRequire gnupg2 for the testsuite
-
-* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.2
-- ima-evm-utils only has a -devel package in fedora >= 28
-
-* Thu Sep 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.1
-- Rebase to rpm 4.14.0-rc2 (http://rpm.org/wiki/Releases/4.14.0)
-
-* Mon Sep 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.3
-- Fix Ftell() past 2GB on 32bit architectures (#1492587)
-
-* Thu Sep 07 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.2
-- Actually honor with/without libimaevm option
-- ima-evm-utils-devel >= 1.0 is required for rpm >= 4.14.0
-
-* Wed Sep 06 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.1
-- Rebase to rpm 4.14.0-rc1 (http://rpm.org/wiki/Releases/4.14.0)
-- Re-enable SHA256 header digest generation (see #1480407)
-
-* Mon Aug 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.8
-- Band-aid for DB_VERSION_MISMATCH errors on glibc updates (#1465809)
-
-* Thu Aug 24 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.7
-- Remove ugly kludges from posttrans script, BDB handles this now
-
-* Fri Aug 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.6
-- Silence harmless but bogus error message on noarch packages (#1482144)
-
-* Thu Aug 17 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14002.5
-- Build with platform_python
-
-* Mon Aug 14 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14000.4
-- Add platform-python bytecompilation patch: platform-python-bytecompile.patch
-- Add platform python deps generator patch: platform-python-abi.patch
-- Add a platform-python subpackage and remove system python related declarations
-- Build rpm without platform_python for bytecompilation
- (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)
-
-* Mon Aug 14 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.3
-- Disable macro argument quoting as a band-aid to #1481025
-
-* Fri Aug 11 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.2
-- Disable SHA256 header-only digest generation temporarily (#1480407)
-
-* Thu Aug 10 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.1
-- Rebase to rpm 4.13.90 aka 4.14.0-alpha (#1474836)
-
^ permalink raw reply related [flat|nested] 3+ messages in thread* [rpms/python3-rpm] epel10.3: Merge c10s into epel10
@ 2026-11-16 11:10
0 siblings, 0 replies; 3+ messages in thread
From: @ 2026-11-16 11:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python3-rpm
Branch : epel10.3
Commit : 248e60b095ca98623a080d560b40dc4469b2fe12
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-10-21T12:22:57+02:00
Stats : +1315/-1498 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/python3-rpm/c/248e60b095ca98623a080d560b40dc4469b2fe12?branch=epel10.3
Log:
Merge c10s into epel10
---
diff --git a/0001-Prevent-command-injection-via-rpmbuild-t.patch b/0001-Prevent-command-injection-via-rpmbuild-t.patch
new file mode 100644
index 0000000..a93338a
--- /dev/null
+++ b/0001-Prevent-command-injection-via-rpmbuild-t.patch
@@ -0,0 +1,79 @@
+From f4ae6ca2338606d2d2ba64882dc94dec80b20dab Mon Sep 17 00:00:00 2001
+From: Michal Domonkos <mdomonko@redhat.com>
+Date: Wed, 26 Aug 2026 10:53:12 +0200
+Subject: [PATCH] Prevent command injection via rpmbuild -t
+
+When running in -t mode, the spec member name in the passed tarball will
+get macro-expanded twice: first when constructing the target filename in
+getTarSpec() and then in parseSpec(). This allows a crafted tarball to
+execute arbitrary code when the user just runs rpmbuild -ts or similar.
+
+Luckily, neither of these expansions is necessary, they are only done as
+a convenience and/or historical artifact. The former in getTarSpec() was
+only added recently via commit dfffedb5ebe46e039c0313b3d2fb939dfc63efd6
+and can easily be split into a basename(3) call so that the member name
+is not included in the expansion, effectively reverting that part of the
+original commit. The latter seems to be only used as a way to normalize
+the spec filename stored in the rpmSpec struct and can be replaced by a
+mere rpmCleanPath().
+
+Make both changes, and add a corresponding test, too.
+
+Fixes: CVE-2026-78367, #4314
+(backported from commit 2a11eb3e4e51094082e0123aebd797ec051dc094)
+---
+ build/parseSpec.c | 2 +-
+ tools/rpmbuild.c | 9 +++++++--
+ 2 files changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/build/parseSpec.c b/build/parseSpec.c
+index 0ecfcb6cd..309d0ad06 100644
+--- a/build/parseSpec.c
++++ b/build/parseSpec.c
+@@ -1111,7 +1111,7 @@ static rpmSpec parseSpec(const char *specFile, rpmSpecFlags flags,
+ /* Set up a new Spec structure with no packages. */
+ spec = newSpec();
+
+- spec->specFile = rpmGetPath(specFile, NULL);
++ spec->specFile = rpmCleanPath(xstrdup(specFile));
+ pushOFI(spec, spec->specFile);
+ /* If buildRoot not specified, use default %{buildroot} */
+ if (buildRoot) {
+diff --git a/tools/rpmbuild.c b/tools/rpmbuild.c
+index 16fba7767..c86a3ab23 100644
+--- a/tools/rpmbuild.c
++++ b/tools/rpmbuild.c
+@@ -366,6 +366,8 @@ static int isSpecFile(const char * specfile)
+ static char * getTarSpec(const char *arg)
+ {
+ char *specFile = NULL;
++ char *specDir = NULL;
++ char *specBase = NULL;
+ char *specFinal = NULL;
+ const char **spec;
+ char tarbuf[BUFSIZ];
+@@ -415,9 +417,11 @@ static char * getTarSpec(const char *arg)
+ if (!gotspec) {
+ rpmlog(RPMLOG_ERR, _("Failed to read spec file from %s\n"), arg);
+ } else {
++ specDir = rpmExpand("%{_specdir}", NULL);
++ specBase = basename(tarbuf);
+ /* remove trailing \n */
+- tarbuf[strlen(tarbuf)-1] = '\0';
+- specFinal = rpmExpand("%{_specdir}/%{basename:", tarbuf, "}", NULL);
++ specBase[strlen(specBase)-1] = '\0';
++ rasprintf(&specFinal, "%s/%s", specDir, specBase);
+ if (rename(specFile, specFinal)) {
+ rpmlog(RPMLOG_ERR, _("Failed to rename %s to %s: %m\n"),
+ specFile, specFinal);
+@@ -428,6 +432,7 @@ static char * getTarSpec(const char *arg)
+
+ exit:
+ free(specFile);
++ free(specDir);
+ Fclose(fd);
+ return specFinal;
+ }
+--
+2.56.0
+
diff --git a/python3-rpm.spec b/python3-rpm.spec
index dcecaf3..ca9b45a 100644
--- a/python3-rpm.spec
+++ b/python3-rpm.spec
@@ -30,7 +30,7 @@
%global rpmver 4.19.1.1
#global snapver rc1
-%global baserelease 25
+%global baserelease 26
%global sover 10
%global rhelrel %{baserelease}
@@ -192,6 +192,8 @@ rpm-4.19.x-add-parkdb.patch
rpm-4.19.x-improve-syslog.patch
0001-Prevent-buffer-overruns-in-findPreambleTag-for-langu.patch
+0001-Prevent-command-injection-via-rpmbuild-t.patch
+
# These are not yet upstream
rpm-4.7.1-geode-i686.patch
@@ -327,6 +329,19 @@ rm -r %{buildroot}%{_sysconfdir}
}}
%changelog
+* Mon Oct 12 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-26
+- CVE-2026-78367: Prevent command injection via rpmbuild -t (RHEL-247298)
+
+* Fri Jun 19 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-25
+- Apply forgotten patch for RHEL-169755
+
+* Thu Jun 18 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-24
+- Add support for %%autosetup -C (RHEL-141269)
+- Add support for database parking (RHEL-126405)
+- Make syslog plugin actually useful and also required (RHEL-155272)
+- Require rpm-plugin-audit instead of just recommending (RHEL-139071)
+- Fix buffer overruns with long language strings (RHEL-169755)
+
* Tue Mar 17 2026 Miro Hrončok <mhroncok@redhat.com> - 4.19.1.1-23.2
- Add python3.14-rpm
diff --git a/macros.foreach b/macros.foreach
new file mode 100644
index 0000000..e554248
--- /dev/null
+++ b/macros.foreach
@@ -0,0 +1,29 @@
+# This is a naïve implementation of a forach RPM macro.
+# It allows to repeat blocks in the specfile for different Python versions by using
+# %{foreach -m python3_pkgversion 3.13 3.14 %{quote:...}}
+# Or, less boilerplaty:
+# %global python3_pkgversions 3.13 3.14
+# %{foreachpy %{quote:...}}
+# However note that any macro which value depends on %python3_pkgversion
+# needs to be escaped in the %{quote:...} block.
+# Similarily, some special macro-looking things in %files (like %license)
+# need to be double-escaped (%%%%license) or else they expand to the actual License.
+
+%foreach(m:) %{lua:
+ if opt.m == nil or opt.m == "" then
+ rpm.expand("%{error:%%foreach requires -m <macro_name>}")
+ end
+ if #arg < 2 then
+ rpm.expand("%{error:%%foreach requires at least one macro value and a template string}")
+ end
+ -- The string template is the last argument
+ local template = arg[#arg]
+ for i = 1, #arg-1 do
+ rpm.define(opt.m .. " " .. arg[i])
+ print(rpm.expand(template))
+ print("\\n")
+ rpm.undefine(opt.m)
+ end
+}
+
+%foreachpy() %{foreach -m python3_pkgversion %{python3_pkgversions} %{quote:%1}}
diff --git a/plans/python-mockbuild.fmf b/plans/python-mockbuild.fmf
index 52c8183..4dd7fa4 100644
--- a/plans/python-mockbuild.fmf
+++ b/plans/python-mockbuild.fmf
@@ -1,3 +1,4 @@
+enabled: false # test makes no sense for python3.X-rpm
execute:
how: tmt
discover:
diff --git a/plans/python3.X-rpm.fmf b/plans/python3.X-rpm.fmf
new file mode 100644
index 0000000..72153cd
--- /dev/null
+++ b/plans/python3.X-rpm.fmf
@@ -0,0 +1,33 @@
+execute:
+ how: tmt
+
+prepare:
+ - name: Install dependencies
+ how: install
+ package:
+ - dnf
+ - $PYTHON
+ - $PYTHON-rpm
+ - name: Update packages
+ how: shell
+ script: dnf upgrade -y
+
+discover:
+ - name: $PYTHON
+ how: shell
+ tests:
+ - name: labelCompare
+ test: |
+ $PYTHON -c 'import rpm; assert rpm.labelCompare("1:2.3-4", "1:2.3-1") == 1'
+ - name: TransactionSet
+ test: |
+ $PYTHON -c 'import rpm; ts = rpm.TransactionSet(); mi = ts.dbMatch("name", "$PYTHON-rpm"); assert mi.count() == 1'
+
+
+/python3.13:
+ environment:
+ PYTHON: python3.13
+
+/python3.14:
+ environment:
+ PYTHON: python3.14
diff --git a/python3-rpm.spec b/python3-rpm.spec
new file mode 100644
index 0000000..ca9b45a
--- /dev/null
+++ b/python3-rpm.spec
@@ -0,0 +1,1157 @@
+# The Python versions we build for
+%global python3_pkgversions 3.13 3.14
+
+# build against xz?
+%bcond_without xz
+# build with plugins?
+%bcond_without plugins
+# build with libarchive? (needed for rpm2archive)
+%bcond_without libarchive
+# build with libimaevm.so
+%bcond_without libimaevm
+# build with fsverity support?
+%if 0%{?rhel}
+%bcond_with fsverity
+%else
+%bcond_without fsverity
+%endif
+# build with zstd support?
+%bcond_without zstd
+# build with ndb backend?
+%bcond_without ndb
+# build with sqlite support?
+%bcond_without sqlite
+# build with bdb_ro support?
+%bcond_without bdb_ro
+# build with sequoia crypto?
+%bcond_without sequoia
+
+%define rpmhome /usr/lib/rpm
+
+%global rpmver 4.19.1.1
+#global snapver rc1
+%global baserelease 26
+%global sover 10
+
+%global rhelrel %{baserelease}
+%global rel_next %{lua:print(tonumber(rpm.expand("%baserelease")) + 1)}
+%global rhelrel_next %{?snapver:0.%{snapver}.}%{rel_next}
+
+# Bump this for EPEL only rebuilds, reset when %%baserelease was bumped
+%global epelrelease 1
+
+%global srcver %{rpmver}%{?snapver:-%{snapver}}
+%global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{rpmver} | cut -d'.' -f1-2).x}
+
+Summary: Python 3.X packages with RPM bindings
+Name: python3-rpm
+Version: %{rpmver}
+Release: %{rhelrel}.%{epelrelease}%{?dist}
+Url: http://www.rpm.org/
+License: GPL-2.0-or-later
+Source0: http://ftp.rpm.org/releases/%{srcdir}/rpm-%{srcver}.tar.bz2
+
+Source10: rpmdb-rebuild.service
+
+Source20: rpmdb-migrate.service
+Source21: rpmdb_migrate
+
+Source30: macros.rpmsign-sequoia
+
+# EPEL-only macro helper
+Source90: macros.foreach
+%if %{exists:%{SOURCE90}}
+ %{load:%{SOURCE90}}
+%elif %{exists:macros.foreach}
+ # something is parsing the spec without %%_sourcedir macro properly set
+ %{load:macros.foreach}
+%endif
+
+# This prevents a build with uninstallable runtime Requires
+BuildRequires: (rpm-libs >= %{version}-%{rhelrel} with rpm-libs < %{version}-%{rhelrel_next})
+BuildRequires: rpm-sign-libs
+
+# XXX generally assumed to be installed but make it explicit as rpm
+# is a bit special...
+BuildRequires: redhat-rpm-config >= 94
+BuildRequires: systemd-rpm-macros
+BuildRequires: gcc make
+BuildRequires: cmake >= 3.18
+BuildRequires: gawk
+BuildRequires: elfutils-devel >= 0.112
+BuildRequires: elfutils-libelf-devel
+BuildRequires: readline-devel zlib-devel
+# The popt version here just documents an older known-good version
+BuildRequires: popt-devel >= 1.10.2
+BuildRequires: file-devel
+BuildRequires: gettext-devel
+BuildRequires: ncurses-devel
+BuildRequires: bzip2-devel >= 0.9.0c-2
+BuildRequires: lua-devel >= 5.1
+BuildRequires: libcap-devel
+BuildRequires: libacl-devel
+%if %{with xz}
+BuildRequires: xz-devel >= 4.999.8
+%endif
+%if %{with libarchive}
+BuildRequires: libarchive-devel
+%endif
+%if %{with zstd}
+BuildRequires: libzstd-devel
+%endif
+%if %{with sqlite}
+BuildRequires: sqlite-devel
+%endif
+
+# Needed for re-building the documentation and man pages
+# normally those are shipped in the tarball pre-build
+# but need re-building if sources are patched
+%if 0
+BuildRequires: pandoc
+BuildRequires: doxygen
+%endif
+
+
+%if %{with sequoia}
+%global crypto sequoia
+BuildRequires: rpm-sequoia-devel >= 1.9.0
+%else
+%global crypto openssl
+BuildRequires: openssl-devel
+%endif
+
+# Couple of patches change makefiles so, require for now...
+BuildRequires: automake libtool
+
+%if %{with plugins}
+BuildRequires: libselinux-devel
+BuildRequires: dbus-devel
+BuildRequires: audit-libs-devel
+%endif
+
+%if %{with libimaevm}
+BuildRequires: ima-evm-utils-devel >= 1.0
+%endif
+
+%if %{with fsverity}
+BuildRequires: fsverity-utils-devel
+%endif
+
+%patchlist
+# Set rpmdb path to /usr/lib/sysimage/rpm
+rpm-4.17.x-rpm_dbpath.patch
+# Disable autoconf config.site processing (#962837)
+rpm-4.18.x-siteconfig.patch
+# In current Fedora, man-pages pkg owns all the localized man directories
+rpm-4.9.90-no-man-dirs.patch
+# Disable new user/group handling
+
+rpm-4.18.92-disable-sysusers.patch
+rpm-4.18.90-weak-user-group.patch
+
+# Patches already upstream:
+0001-Fix-potential-use-of-uninitialized-pipe-array.patch
+0001-Fix-potential-use-of-uninitialized-pgp-struct.patch
+0001-Fix-memory-leak-in-rpmsign.patch
+
+0001-Refactor-sign-command-expand-and-parse-out-of-runGPG.patch
+0002-Eliminate-hardcoded-GPG-references-from-user-visible.patch
+0003-Declare-signCmd-static.patch
+
+0001-Report-unsafe-symlinks-during-installation-as-a-spec.patch
+0002-Fix-FA_TOUCH-ed-files-getting-removed-on-failed-upda.patch
+
+0001-Fix-possible-package-corruption-on-delsign-resign-ad.patch
+0002-Fix-regression-on-build-id-generation-from-compresse.patch
+0003-Fix-root-relocation-regression.patch
+
+0001-Make-_passwd_path-and-_group_path-lists.patch
+0002-Fix-memory-leak-in-rpmspec-shell.patch
+0003-Fix-memory-leak-in-runGPG.patch
+0004-Talk-about-rpmsign-in-the-rpmsign-man-page.patch
+0005-Revert-Drop-redundant-argument-from-rpmcliTransactio.patch
+0001-Store-configurable-digest-s-on-packages-from-verific.patch
+0001-Ensure-binary-and-source-headers-are-identified-as-s.patch
+0002-Add-support-for-spec-local-file-attributes-and-gener.patch
+
+rpm-4.19.x-rpmkeys-add-list-erase.patch
+
+# PQC readiness
+rpm-4.19.x-multisig.patch
+rpm-4.19.x-pqc-algo.patch
+rpm-4.19.x-pqc-fixes.patch
+
+0001-Really-allow-qualifiers-like-pre-post-meta-for-weak-.patch
+
+rpm-4.19.x-multisig-verify-fixes.patch
+rpm-4.19.x-nsswitch-enable.patch
+0001-Fix-empty-password-field-in-passwd-group-causing-ent.patch
+
+rpm-4.19.x-add-autosetup-C.patch
+rpm-4.19.x-add-parkdb.patch
+rpm-4.19.x-improve-syslog.patch
+0001-Prevent-buffer-overruns-in-findPreambleTag-for-langu.patch
+
+0001-Prevent-command-injection-via-rpmbuild-t.patch
+
+# These are not yet upstream
+rpm-4.7.1-geode-i686.patch
+
+%description
+Additional Python 3.X packages with the RPM Python bindings.
+
+%{foreachpy %{quote:
+%package -n python%%{python3_pkgversion}-rpm
+Summary: Python %%{python3_pkgversion} bindings for apps which will manipulate RPM packages
+BuildRequires: python%%{python3_pkgversion}-devel
+Requires: (rpm-libs%{?_isa} >= %{version}-%{rhelrel} with rpm-libs%{?_isa} < %{version}-%{rhelrel_next})
+
+%description -n python%%{python3_pkgversion}-rpm
+The python%%{python3_pkgversion}-rpm package contains a module that permits applications
+written in the Python programming language to use the interface
+supplied by RPM Package Manager libraries.
+
+This package should be installed if you want to develop Python %%{python3_pkgversion}
+programs that will manipulate RPM packages and databases.
+}}
+
+%prep
+%autosetup -n rpm-%{srcver} -p1
+
+%build
+%set_build_flags
+
+# As of RPM 4.19 we need to build the extension module for each Python version.
+# For similicity, we build everything.
+# In RPM 4.20+, the module uses Python stable ABI
+# and it will be possible to copy the built files from python3-rpm instead.
+%{foreachpy %{quote:
+mkdir _build%%{python3_pkgversion}
+cd _build%%{python3_pkgversion}
+cmake \
+ -DCMAKE_INSTALL_PREFIX=%{_usr} \
+ -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_var}/lib \
+ %{?with_bdb_ro:-DENABLE_BDB_RO=ON} \
+ %{!?with_ndb:-DENABLE_NDB=OFF} \
+ %{!?with_sqlite:-DENABLE_SQLITE=OFF} \
+ %{!?with_plugins:-DENABLE_PLUGINS=OFF} \
+ %{?with_fsverity:-DWITH_FSVERITY=ON} \
+ %{?with_libimaevm:-DWITH_IMAEVM=ON} \
+ %{!?with_libarchive:-DWITH_ARCHIVE=OFF} \
+ %{!?with_check:-DENABLE_TESTSUITE=OFF} \
+ %{?with_sequoia:-DWITH_SEQUOIA=ON} \
+ %{!?with_sequoia:-DWITH_INTERNAL_OPENPGP=ON} \
+ %{!?with_sequoia:-DWITH_OPENSSL=ON } \
+ -DRPM_VENDOR=redhat \
+ -DPython3_EXECUTABLE=%%{python3} \
+ ..
+
+%make_build
+cd ..
+}}
+
+%install
+
+%{foreachpy %{quote:
+cd _build%%{python3_pkgversion}
+%make_install
+cd ..
+}}
+
+mkdir -p $RPM_BUILD_ROOT%{_unitdir}
+install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/%{_unitdir}
+install -m 644 %{SOURCE20} $RPM_BUILD_ROOT/%{_unitdir}
+
+mkdir -p $RPM_BUILD_ROOT%{rpmhome}
+install -m 755 %{SOURCE21} $RPM_BUILD_ROOT/%{rpmhome}
+
+# Built-in replacement for systemd-sysusers(8)
+install -m 755 scripts/sysusers.sh $RPM_BUILD_ROOT/%{rpmhome}
+
+# Save list of packages through cron
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily
+install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily/rpm
+
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
+install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rpm
+
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
+mkdir -p $RPM_BUILD_ROOT%{rpmhome}/macros.d
+mkdir -p $RPM_BUILD_ROOT/usr/lib/sysimage/rpm
+cd _build3.13 # Use any built Python version here
+
+# init an empty database for %ghost'ing for all supported backends
+for be in %{?with_ndb:ndb} %{?with_sqlite:sqlite}; do
+ mkdir ${be}
+ tools/rpmdb --rcfile rpmrc --define "_db_backend ${be}" --dbpath=${PWD}/${be} --initdb
+ cp -va ${be}/. $RPM_BUILD_ROOT/usr/lib/sysimage/rpm/
+done
+
+# some packages invoke find-debuginfo directly, preserve compat for now
+ln -s ../../bin/find-debuginfo $RPM_BUILD_ROOT/usr/lib/rpm/find-debuginfo.sh
+
+find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
+
+# These live in perl-generators and python-rpm-generators now
+rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*,pythond*}
+rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*}
+rm -rf $RPM_BUILD_ROOT/var/tmp
+
+# workaround for https://github.com/rpm-software-management/rpm/issues/2811
+rm $RPM_BUILD_ROOT/%{_defaultdocdir}/rpm/README.md
+
+# Signing macros for Sequoia
+install -m 644 %{SOURCE30} $RPM_BUILD_ROOT/%{_defaultdocdir}/rpm/
+
+# Remove all non-Python files
+rm -r %{buildroot}%{_bindir}
+rm -r %{buildroot}%{_datadir}
+rm -r %{buildroot}%{_includedir}
+rm -r %{buildroot}%{_libdir}/lib*
+rm -r %{buildroot}%{_libdir}/cmake/rpm/
+rm -r %{buildroot}%{_libdir}/pkgconfig/
+rm -r %{buildroot}%{_libdir}/rpm-plugins/
+rm -r %{buildroot}%{_prefix}/lib
+rm -r %{buildroot}%{_sysconfdir}
+
+%check
+%{foreachpy %{quote:%%py3_check_import rpm rpm.transaction}}
+
+%{foreachpy %{quote:
+%files -n python%%{python3_pkgversion}-rpm
+%%%%license COPYING
+%dir %%{python3_sitearch}/rpm
+%%{python3_sitearch}/rpm-%{rpmver}*.egg-info
+%%{python3_sitearch}/rpm/__init__.py
+%%{python3_sitearch}/rpm/transaction.py
+%%{python3_sitearch}/rpm/_rpm.so
+%artifact %%{python3_sitearch}/rpm/__pycache__/
+}}
+
+%changelog
+* Mon Oct 12 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-26
+- CVE-2026-78367: Prevent command injection via rpmbuild -t (RHEL-247298)
+
+* Fri Jun 19 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-25
+- Apply forgotten patch for RHEL-169755
+
+* Thu Jun 18 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-24
+- Add support for %%autosetup -C (RHEL-141269)
+- Add support for database parking (RHEL-126405)
+- Make syslog plugin actually useful and also required (RHEL-155272)
+- Require rpm-plugin-audit instead of just recommending (RHEL-139071)
+- Fix buffer overruns with long language strings (RHEL-169755)
+
+* Tue Mar 17 2026 Miro Hrončok <mhroncok@redhat.com> - 4.19.1.1-23.2
+- Add python3.14-rpm
+
+* Thu Feb 05 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-23
+- Fix key import API to return NOTTRUSTED for disabled algorithms (RHEL-112394)
+
+* Tue Jan 27 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-22
+- Ignore signatures made by unknown or disabled algorithms (RHEL-112394)
+- Enable NSS-based user and group lookups again (RHEL-118365)
+- Fix ignored password field if empty in passwd/group file (RHEL-118365)
+
+* Thu Nov 27 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-21
+- Fix pre/post/meta/etc. qualifiers for weak dependencies (RHEL-101936)
+- Fix redundant rpmdb-migrate.service runs (RHEL-96510)
+
+* Tue Aug 26 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-20
+- Fix rpmsign(8) man page (RHEL-109221)
+
+* Mon Aug 25 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-19
+- Additional PQC-related fixes (RHEL-109221)
+
+* Thu Jul 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-18
+- Add support for multiple OpenPGP signatures per package (RHEL-100571)
+- Add support for OpenPGP v6 signature pre-salting (RHEL-100571)
+- Add support for PQC algorithms from RFC-9580 (RHEL-100571)
+- Add --list and --erase commands to rpmkeys(8) (RHEL-105421)
+- Fix regression on dynamic subpackage RPMTAG_SOURCERPM missing (RHEL-102023)
+
+* Wed Jun 11 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-17
+- Bump release for another rebuild
+
+* Wed Jun 11 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-16
+- Fix regression on subpackage debuginfo RPMTAG_SOURCERPM missing (RHEL-87383)
+
+* Thu May 29 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-15
+- Add support for spec local file attributes and generators (RHEL-84057)
+- Ensure binary and source headers are identified as such (RHEL-87383)
+
+* Thu Apr 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-14
+- Store configurable digest(s) on packages in rpmdb (RHEL-84062)
+- Fix command references in rpmsign(8) man page, take II (RHEL-73173)
+
+* Tue Apr 22 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-13
+- Make %%_passwd_path and %%_group_path into lists (RHEL-78693)
+- Fix memory leak in rpmspec --shell (RHEL-55284)
+- Fix memory leak in rpmsign (RHEL-82284)
+- Fix command references in rpmsign(8) man page (RHEL-73173)
+- Fix exit code regression on update failure (RHEL-87384)
+
+* Fri Feb 07 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-12
+- Rebuild for ima-evm-utils 1.6 soname bump (RHEL-65378)
+
+* Fri Jan 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-11
+- Fix possible package corruption on --delsign/resign/addsign (RHEL-69518)
+- Fix regression on build-id generation from compressed ELF (RHEL-54000)
+- Fix root relocation regression (RHEL-56613)
+- Update sequoia macros for sq 1.0 (RHEL-56363)
+
+* Mon Jan 13 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-10
+- Report unsafe symlinks during installation as a specific case (RHEL-73186)
+- Fix FA_TOUCH'ed files getting removed on failed update (RHEL-54386)
+- Rebuild for ima-evm-utils 1.6 soname bump (RHEL-65378)
+
+* Wed Dec 04 2024 Panu Matilainen <pmatilai@redhat.com> - 4.19.1.1-9
+- Revert the gnupg/sequoia sub-packages, too much headache
+- Ship sequoia-signing enablement macros as documentation instead
+- Generate binary signatures with Sequoia too
+
+* Tue Nov 12 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-8
+- Add Sequoia signing support back
+
+* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4.19.1.1-7
+- Bump release for October 2024 mass rebuild:
+ Resolves: RHEL-64018
+
+* Fri Oct 25 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-6
+- Revert Sequoia signing support for now, breaks CI
+
+* Fri Oct 25 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-5
+- Fix Conflicts in new rpm-sign backends
+
+* Mon Oct 14 2024 Panu Matilainen <pmatilai@redhat.com> - 4.19.1.1-4
+- Remove hardcoded GPG references from signing error messages
+- Support switching between GnuPG and Sequoia for package signing (RHEL-56363)
+
+* Tue Aug 13 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-3
+- Fix potential use of uninitialized pipe array (RHEL-54012)
+- Fix potential use of uninitialized pgp struct (RHEL-54013)
+- Fix memory leak in rpmsign(8) (RHEL-37564)
+
+* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.19.1.1-2
+- Bump release for June 2024 mass rebuild
+
+* Wed Feb 07 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-1
+- Update to 4.19.1.1 (https://rpm.org/wiki/Releases/4.19.1.1)
+
+* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
+
+* Fri Dec 15 2023 Panu Matilainen <pmatilai@redhat.com> - 4.19.1-2
+- Fix bogus warnings about runaway Lua scripts (#2254463)
+
+* Tue Dec 12 2023 Michal Domonkos <mdomonko@redhat.com> - 4.19.1-1
+- Update to 4.19.1 (https://rpm.org/wiki/Releases/4.19.1)
+
+* Thu Nov 30 2023 Stephen Gallagher <sgallagh@redhat.com> - 4.19.0-3
+- Fix issues with %%getncpus sometimes returning 0 on i686 systems
+
+* Mon Nov 13 2023 Panu Matilainen <pmatilai@redhat.com> - 4.19.0-2
+- Ensure central package ops log via rpm-plugin-audit recommends (#1476926)
+- Own our Python module directory (#2248555)
+- Fix sysusers.d generator barfing on legit content (#2246236)
+
+* Tue Sep 19 2023 Michal Domonkos <mdomonko@redhat.com> - 4.19.0-1
+- Update to 4.19.0
+
+* Mon Sep 04 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.99-1
+- Update to 4.19 rc1
+
+* Tue Aug 22 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.92-3
+- Fix regression on uncompressing 7zip compressed sources (#2229984)
+- Fix a conflict with pre-existing scl-utils %_root_prefix macro (#2233454)
+
+* Mon Aug 21 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.92-2
+- Behave more consistently when target %%optflags are not defined (#2231727)
+
+* Wed Aug 02 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.92-1
+- Update to 4.19 beta
+
+* Tue Jul 25 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 4.18.91-9
+- Drop fsverity plugin from RHEL builds
+
+* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.91-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
+* Wed Jun 28 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-7
+- Rebuilt for Python 3.12
+
+* Wed Jun 28 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-6
+- Fix a spec parsing error handling regression
+- Fix a per-file plugin hook regression
+
+* Tue Jun 27 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-5
+- Fix potential crash with multiple in-process sqlite uses
+
+* Mon Jun 26 2023 Python Maint <python-maint@redhat.com> - 4.18.91-4
+- Rebuilt for Python 3.12
+
+* Wed Jun 21 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-3
+- Enable user/group provide generation
+- Add a conflict for systemd versions carrying their own
+
+* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.18.91-2
+- Rebuilt for Python 3.12
+
+* Fri Jun 09 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.91-1
+- Update to 4.19 alpha2
+
+* Thu Jun 08 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 4.18.90-10
+- Rebuild for ima-evm-utils 1.5 soname bump
+
+* Mon May 29 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.90-9
+- Revert %%_smp_build_ncpus macro changing to parametric (#2210347)
+
+* Thu May 25 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-8
+- Set %_sharedstatedir to /var/lib (#2209989)
+
+* Thu May 25 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-7
+- Remove compat links for old so name of the libraries
+- Remove compat forward ports for libdnf
+
+* Mon May 22 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-6
+- Fix undefined symbols from plugins
+
+* Wed May 17 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-5
+- Use mkdir -p for creating SPECPARTS dir
+
+* Wed May 17 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-4
+- Enable large file support on 32-bit systems again
+
+* Mon May 15 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-3
+- Fix libbzip2 detection
+
+* Thu May 11 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-2
+- Add compat links for building dnf and friends
+
+* Thu May 04 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-1
+- Update to 4.19 alpha
+
+* Tue Apr 25 2023 Miro Hrončok <mhroncok@redhat.com> - 4.18.1-3
+- Explicitly require rpm-sequoia >= 1.4.0 on runtime to avoid
+ rpm: symbol lookup error: /lib64/librpmio.so.9: undefined symbol: _pgpVerifySignature2
+
+* Thu Apr 20 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.1-2
+- Backport improved crypto error messages from upstream
+
+* Wed Mar 15 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.1-1
+- Rebase to rpm 4.18.1 (https://rpm.org/wiki/Releases/4.18.1)
+
+* Thu Feb 16 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-11
+- Disable debuginfod lookups in rpmbuild scripts
+- Exclude kernel modules from ELF dependency generation
+
+* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.0-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Mon Jan 09 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-9
+- Generate Python egg-info from automake (#2135561)
+- Drop setup.py-based Python build (#2135719)
+
+* Wed Dec 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-8
+- Fix hang-up on failed key import (related to #2149762)
+
+* Thu Nov 24 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-7
+- Require rpm-sequoia >= 1.2.0 for V3 signature support, re-enable (#2141686)
+
+* Thu Nov 10 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-6
+- Revert back to internal OpenPGP parser for V3 signature support (#2141686)
+
+* Tue Nov 01 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-5
+- Switch to Sequoia crypto (https://fedoraproject.org/wiki/Changes/RpmSequoia)
+
+* Fri Oct 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-4
+- Add an option for building with Sequoia crypto
+
+* Wed Oct 05 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-3
+- Break ancient rpm <-> rpm-libs ordering loop
+
+* Mon Oct 03 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-2
+- Drop the temporary build-dependency on pandoc before it grows a beard
+- Start utilizing %%patchlist, finally
+
+* Wed Sep 21 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-1
+- Rebase to rpm 4.18.0 (https://rpm.org/wiki/Releases/4.18.0)
+
+* Wed Sep 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.4
+- Fix a largish directory walk related memory leak in transactions
+
+* Wed Sep 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.3
+- Fix buffer overrun on rpmdb queries involving ^ in version
+
+* Wed Sep 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.2
+- Break selinux-policy <-> rpm-plugin-selinux ordering loop (#1851266)
+
+* Fri Sep 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.1
+- Rebase to 4.18.0-rc1 (https://rpm.org/wiki/Releases/4.18.0)
+
+* Tue Aug 02 2022 Michal Domonkos <mdomonko@redhat.com> - 4.18.0-0.beta1.4
+- Revert %%autosetup -S git patch due to another regression
+
+* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.0-0.beta1.3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Mon Jul 11 2022 Michal Domonkos <mdomonko@redhat.com> - 4.18.0-0.beta1.2
+- Fix check-buildroot regression wrt bundled SRPM (#2104150)
+- Fix %%autosetup -S git regression wrt default git branch
+
+* Tue Jun 28 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.beta1.1
+- Rebase to 4.18.0-beta1 (https://rpm.org/wiki/Releases/4.18.0)
+
+* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.18.0-0.alpha2.2
+- Rebuilt for Python 3.11
+
+* Mon May 23 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha2.1
+- Rebase to 4.18.0-0.alpha2
+- Prevent uncontrolled sqlite WAL growth during large transactions
+
+* Thu Apr 28 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.6
+- Fix rubygem unpack regression, causing rubygem builds to fail
+
+* Wed Apr 27 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.5
+- Fix verbose source uncompress regression (#2079127)
+
+* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.4
+- Further dynamic buildrequires cli switch regression fixes (#2078744)
+
+* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.3
+- Fix rpmbuild -ba --nodeps regression wrt dynamic buildrequires (#2078744)
+
+* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.2
+- Fix rpmbuild -br not producing a src.rpm regression (#2078744)
+
+* Mon Apr 25 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.1
+- Rebase to 4.18.0 alpha (https://fedoraproject.org/wiki/Changes/RPM-4.18)
+- Add patches for two late discovered regressions
+
+* Mon Mar 21 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-10
+- Create rpmdb directory symlink in posttrans by default (#2066427)
+
+* Wed Feb 16 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-9
+- Add dependencies for the rpmdb migration scriptlet (#2055033)
+
+* Wed Feb 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-8
+- Really fix spurious %%transfiletriggerpostun execution (#2023311, #2048168)
+
+* Wed Jan 26 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-7
+- Migrate rpmdb to /usr/lib/sysimage/rpm (#2042099)
+ https://fedoraproject.org/wiki/Changes/RelocateRPMToUsr
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Thu Jan 20 2022 Björn Esser <besser82@fedoraproject.org> - 4.17.0-5
+- Rebuild (ima-evm-utils)
+- Use baserelease for rpm release tag to make rpmdev-bumpspec work
+
+* Fri Jan 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-4
+- Fix spurious %%transfiletriggerpostun execution (#2023311)
+
+* Fri Jan 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-3
+- Fix fapolicyd plugin dependencies to replace fapolicyd-dnf-plugin (#2007639)
+
+* Mon Nov 08 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 4.17.0-2
+- Rebuils for ima-evm-utils 1.4 soname bump
+
+* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 4.17.0-1.1
+- Rebuilt with OpenSSL 3.0.0
+
+* Fri Sep 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-1
+- Rebase to 4.17.0 final (https://rpm.org/wiki/Releases/4.17.0)
+
+* Thu Aug 19 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-0.rc1.1
+- Rebase to 4.17.0 rc1
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-0.beta1.0.2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Tue Jun 22 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-0.beta1.1
+- Rebase to 4.17.0 beta1
+- Add back /usr/lib/rpm/find-debuginfo.sh as a compat symlink
+- Add temporary buildrequire on pandoc due to makefile bugs in beta1
+
+* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 4.16.90-0.git15395.8.1
+- Rebuilt for Python 3.10
+
+* Mon May 17 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.8
+- Switch to external debugedit
+
+* Mon May 17 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.7
+- Handle different find-debuginfo.sh location with external debugedit
+
+* Fri May 07 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.6
+- Fix regression causing a crash on Lua state reset (#1958095)
+
+* Thu Apr 29 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.5
+- Proper fix for comments affecting macro file parsing (#1953910)
+
+* Tue Apr 27 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.4
+- Enable fapolicyd plugin build
+
+* Tue Apr 27 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.3
+- Temporarily revert macro file loading fix due to regression #1953910
+
+* Mon Apr 26 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.2
+- Add a bcond to build with external debugedit
+
+* Mon Apr 26 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.1
+- Rebase to rpm 4.17.0 alpha (https://rpm.org/wiki/Releases/4.17.0)
+- Drop a local hack for a cosmetic Fedora 22 era rpm2cpio issue
+- Drop BDB support leftovers from the spec
+- Add build conditional for fsverity plugin
+
+* Mon Mar 22 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.3-1
+- Rebase to rpm 4.16.1.3 (https://rpm.org/wiki/Releases/4.16.1.3)
+
+* Wed Feb 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-6
+- Drop support for read-write Berkeley DB format (#1787311)
+
+* Wed Feb 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-5
+- Make with/without bdb build option actually work
+- Clean up unpackaged /var/tmp from the build root
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.1.2-4.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Fri Jan 22 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-4
+- Fix edit_attributes_str_comp_dir in Patch916 (#1919107)
+
+* Tue Jan 19 2021 Jeff Law <law@redhat.com> - 4.16.1.2-3
+- Fix typo in test for F33 or newer
+
+* Tue Jan 19 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-2
+- Add debugedit DWARF5 support
+
+* Wed Dec 16 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-1
+- Rebase to rpm 4.16.1.2 (http://rpm.org/wiki/Releases/4.16.1.2)
+- Add a spec safeguard for accidental soname bumps
+
+* Wed Dec 16 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.1-1
+- Rebase to rpm 4.16.1.1 (http://rpm.org/wiki/Releases/4.16.1.1)
+
+* Thu Dec 10 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1-1
+- Rebase to rpm 4.16.1 (http://rpm.org/wiki/Releases/4.16.1)
+
+* Mon Nov 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-5
+- Only disable test-suite where it's actually broken
+
+* Mon Nov 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-4
+- Fix BDB crashing on failed open attempts (#1902395, #1898299, #1900407)
+- Fix unnecessary double failure on lazy keyring open
+
+* Wed Oct 28 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-3
+- Issue deprecation warning when creating BDB databases (#1787311)
+- Temporarily disable test-suite due to massive fakechroot breakage
+
+* Mon Oct 05 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-2
+- Clean up after test-suite which leaves a read-only tree behind
+
+* Wed Sep 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-1
+- Rebase to 4.16.0 final (https://rpm.org/wiki/Releases/4.16.0)
+
+* Mon Aug 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.rc1.1
+- Rebase to 4.16.0-rc1
+- Run test-suite in parallel
+
+* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-0.beta3.2.3
+- Second attempt - Rebuilt for
+ https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-0.beta3.2.2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Sun Jul 26 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.16.0-0.beta3.2.1
+- rebuild for ima-evm-utils 1.3
+
+* Mon Jun 29 2020 Tom Callaway <spot@fedoraproject.org> - 4.16.0-0.beta3.2
+- rebuild for lua 5.4
+
+* Wed Jun 24 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta3.1
+- Rebase to beta3
+
+* Wed Jun 10 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.4
+- Fix prefix search on sqlite backend (many file triggers not running)
+
+* Mon Jun 8 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.3
+- Unbreak metainfo() provide generation
+
+* Wed Jun 3 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.2
+- Don't auto-enable _flush_io on non-rotational media, it's too costly
+
+* Mon Jun 1 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.1
+- Rebase to rpm 4.16.0-beta1
+
+* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 4.15.90-0.git14971.12.1
+- Rebuilt for Python 3.9
+
+* Tue May 12 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.12
+- Fix segfault when trying to use unknown database backend
+
+* Thu May 7 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.11
+- Flag BDB databases for rebuild on next reboot whenever rpm is updated
+- Switch default database to sqlite (#1818910)
+
+* Mon May 4 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.10
+- Handle rpmdb-rebuild service enablement for upgrades
+
+* Thu Apr 23 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.9
+- Fix questionable uses of %%{name} and %%{version} in the spec
+
+* Wed Apr 22 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.8
+- Fix regression(s) on build dependency resolution
+
+* Wed Apr 22 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.7
+- Add rpmdb-rebuild systemd service
+
+* Fri Apr 17 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.6
+- Warn on undefined macros in buildtree setup macros (#1820349)
+
+* Thu Apr 09 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.5
+- Fix regression causing all ELF files classified as OCaml
+
+* Mon Apr 06 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.4
+- Fix invalid path passed to parametric macro generators
+
+* Thu Apr 02 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.3
+- Fix db lock files not getting packaged
+
+* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.2
+- Move bdb specific systemd-tmpfiles cleanup crutch behind the bdb bcond
+
+* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.1
+- Rebase to rpm 4.16 alpha (https://rpm.org/wiki/Releases/4.16.0)
+- Add bconds for and enable sqlite, ndb and bdb_ro database backends
+- Add bcond for disabling bdb backend
+- Drop lmdb bcond, the backend was removed upstream
+- Ensure all database backend files are owned
+- Fix external environment causing test-suite failures in spec build
+- Re-enable hard test-suite failures again
+
+* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.1-2.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Thu Jan 9 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.1-2
+- Obsolete python2-rpm to fix upgrade path (#1775113)
+
+* Mon Nov 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.1-1
+- Rebase to 4.15.1 (https://rpm.org/wiki/Releases/4.15.1)
+
+* Thu Nov 14 2019 Adam Williamson <awilliam@redhat.com> - 4.15.0-7
+- Really revert armv8 detection improvements (patch was not applied in -6)
+
+* Wed Oct 23 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.15.0-6
+- Revert armv8 detection improvements
+
+* Mon Oct 21 2019 Stephen Gallagher <sgallagh@redhat.com> - 4.15.0-5
+- Revert aliasing arm64 to aarch64
+- Resolves: rhbz#1763831
+
+* Fri Oct 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-4
+- Revert problematic sub-variants of armv8 (#1691430)
+
+* Thu Oct 17 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-3
+- Drop python2 bindings for good (#1761211)
+
+* Tue Oct 15 2019 Adam Williamson <awilliam@redhat.com> - 4.15.0-2
+- Revert systemd inhibit plugin's calling of dbus_shutdown (#1750575)
+
+* Thu Sep 26 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-1
+- Update to 4.15.0 final (https://rpm.org/wiki/Releases/4.15.0)
+
+* Wed Aug 28 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.rc1.1
+- Update to 4.15.0-rc1
+
+* Tue Aug 27 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.6
+- Fix some issues in the thread cap logic
+
+* Mon Aug 26 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.5
+- Re-enable test-suite, temporarily disabled during alpha troubleshooting
+
+* Fri Aug 23 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.4
+- Cap number of threads on 32bit platforms (#1729382)
+- Drop %%_lto_cflags macro (reverted upstream)
+
+* Fri Aug 23 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.3
+- Restore strict order of build scriptlet stdout/stderr output
+
+* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 4.15.0-0.beta.2.3
+- Rebuilt for Python 3.8
+
+* Wed Jul 31 2019 Miro Hrončok <mhroncok@redhat.com> - 4.15.0-0.beta.2.2
+- Rebuilt for libimaevm.so.1
+
+* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.0-0.beta.2.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Sat Jul 20 18:30:10 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.15.0-0.beta.2
+- Backport patch to not set RPMTAG_BUILDTIME to SOURCE_DATE_EPOCH
+
+* Thu Jun 27 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.1
+- Rebase to 4.15.0 beta
+
+* Thu Jun 20 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.18
+- Fix excessive TLS use, part II (#1722181)
+
+* Thu Jun 20 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.17
+- Fix excessive TLS use (#1722181)
+
+* Wed Jun 19 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.16
+- Drop buildarch again now that python_provide no longer needs it (#1720139)
+
+* Fri Jun 14 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.15
+- Temporarily re-enable buildarch macro for python_provide macro use (#1720139)
+
+* Thu Jun 13 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.14
+- Don't fail build trying to kill a non-existent process (#1720143)
+
+* Tue Jun 11 14:59:16 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.13
+- Fix build of binary packages in parallel
+
+* Tue Jun 11 00:08:50 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.10
+- Revert generation of binary packages in parallel
+
+* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.1
+- Update to 4.15.0 alpha
+
+* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-14
+- Drop support for sanitizer build, it never really worked anyway
+- Drop leftover build-dependency on binutils-devel
+- Truncate changelog to rpm 4.14.x (last two years)
+
+* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-13
+- Drop support for Fedora < 28 builds
+- Drop leftover BDB-related compiler flag foo
+
+* Fri Jun 07 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-12
+- Use pre-determined buildhost in test-suite to avoid DNS usage
+- Drop obsolete specspo and gpg2 related patches
+
+* Fri Jun 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-11
+- Use py2/3 macros for building and installing the bindings
+
+* Tue May 21 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-10
+- Support build-id generation from compressed ELF files (#1650072)
+
+* Fri May 03 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-9
+- Suggest gdb-minimal
+
+* Thu Apr 25 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-8
+- Replace deprecated __global_ldflags uses with build_ldflags macro
+
+* Thu Apr 11 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-7
+- Fix excessive reference counting on faked string .decode()
+
+* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-6
+- Unbreak Python 3 API by returning string data as surrogate-escaped utf-8
+ string objects instead of bytes (#1693751)
+- As a temporary crutch, monkey-patch a .decode() method to returned strings
+ to give users time to migrate from the long-standing broken behavior
+
+* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-5
+- Generate minidebug for PIE executables on file >= 5.33 too
+- Backport find-debuginfo --g-libs option for glibc's benefit (#1661512)
+
+* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2.1-4.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Wed Dec 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-4
+- Backport the new modularity label tag (#1650286)
+
+* Mon Nov 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-3
+- Take prefix into account when compressing man pages etc for Flatpak builds
+
+* Wed Oct 24 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-2
+- Selinux plugin requires a base policy to work (#1641631)
+
+* Mon Oct 22 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-1
+- Rebase to rpm 4.14.2.1 (http://rpm.org/wiki/Releases/4.14.2.1)
+
+* Wed Oct 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-9
+- Push name/epoch/version/release macro before invoking depgens
+
+* Tue Oct 16 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-8
+- Resurrect long since broken Lua library path
+
+* Fri Oct 12 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-7
+- Actually fail build on test-suite failures again
+- Invoke python2 explicitly from test-suite to unbreak build, part II
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-6
+- Drop duplicate BDB buildrequire
+- Drop nowadays unnecessary BDB macro foo
+- Drop nowadays unnecessary manual libcap dependency
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-5
+- Own all rpmdb files and ensure the list remains up to date
+- Drop redundant verify exclusions on rpmdb ghosts
+- Fix build when systemd is not installed (duh)
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-4
+- Erm, really use the macro for tmpfiles.d path
+- Erm, don't nuke buildroot at beginning of %%install
+- Use modern build/install helper macros
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-3
+- Eh, selinux plugin dependency condition was upside down (#1493267)
+- Drop no longer necessary condition over imaevm name
+- Drop no longer necessary obsolete on compat-librpm3
+
+* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-2
+- Fix ancient Python GIL locking bug (#1632488)
+- Use the appropriate macro for tmpfiles.d now that one exists
+
+* Tue Aug 21 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-1
+- Update to rpm 4.14.2 final (http://rpm.org/wiki/Releases/4.14.2)
+
+* Mon Aug 13 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.2
+- Move python-macro-helper to main package where the macros are (#1577860)
+
+* Wed Aug 08 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.1
+- Update to rpm 4.14.2-rc2
+
+* Sat Jul 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-0.rc1.2
+- Decompress DWARF compressed ELF sections
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2-0.rc1.1.2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.2-0.rc1.1.1
+- Rebuilt for Python 3.7
+
+* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc1.1
+- Update to rpm 4.14.2-rc1
+- Patching test-suite for python2 too painful, just sed it instead
+- Fix premature version increment from previous changelog entries, oops
+
+* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-13
+- Ehm, need to patch the autogenerated rpmtests script too for python2
+- Ehm, it's ldconfig_scriptlets not scripts
+- Drop the non-working python envvar magic from obsoleted change
+
+* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-12
+- Invoke python2 explicitly from test-suite to unbreak build
+
+* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-11
+- Remove direct ldconfig calls, use compat macros instead
+
+* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10.1
+- Rebuilt for Python 3.7
+
+* Mon May 28 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10
+- Backport upstream solution to make brp-python-bytecompile automagic part opt-outable
+ https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation
+
+* Tue May 22 2018 Mark Wielaard <mjw@fedoraproject.org> - 4.14.1-9
+- find-debuginfo.sh: Handle application/x-pie-executable (#1581224)
+
+* Tue Feb 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-8
+- Split rpm-build-libs to one more subpackage rpm-sign-libs
+
+* Mon Feb 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-7
+- Explicitly BuildRequire gcc and make
+
+* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-6.1
+- Escape macros in %%changelog
+
+* Wed Jan 31 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-6
+- Avoid unnecessary macro helper dependency on /usr/bin/python (#1538657)
+- Fix release of previous changelog entry
+
+* Tue Jan 30 2018 Tomas Orsava <torsava@redhat.com> - 4.14.1-5
+- Add envvar that will be present during RPM build,
+ Part of a Fedora Change for F28: "Avoid /usr/bin/python in RPM build"
+ https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
+
+* Tue Jan 30 2018 Petr Viktorin <pviktori@redhat.com> - 4.14.1-4
+- Skip automatic Python byte-compilation if *.py files are not present
+
+* Thu Jan 25 2018 Florian Weimer <fweimer@redhat.com> - 4.14.1-3
+- Rebuild to work around gcc bug leading to librpm miscompilation (#1538648)
+
+* Thu Jan 18 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-2
+- Avoid nuking the new python-macro-helper along with dep generators (#1535692)
+
+* Tue Jan 16 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-1
+- Rebase to rpm 4.14.1 (http://rpm.org/wiki/Releases/4.14.1)
+
+* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-5
+- Fix typo in Obsoletes
+
+* Mon Nov 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-4
+- Remove platform-python bits
+
+* Thu Oct 26 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-3
+- Move selinux plugin dependency to selinux-policy in Fedora >= 28 (#1493267)
+
+* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-2
+- Dump out test-suite log in case of failures again
+- Don't assume per-user groups in test-suite
+
+* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-1
+- Rebase to rpm 4.14.0 final (http://rpm.org/wiki/Releases/4.14.0)
+
+* Tue Oct 10 2017 Troy Dawson <tdawson@redhat.com> - 4.14.0-0.rc2.6
+- Cleanup spec file conditionals
+
+* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.5
+- Add build conditionals for zstd and lmdb support
+- Enable zstd support
+
+* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.4
+- Spec cleanups
+
+* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.3
+- BuildRequire gnupg2 for the testsuite
+
+* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.2
+- ima-evm-utils only has a -devel package in fedora >= 28
+
+* Thu Sep 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.1
+- Rebase to rpm 4.14.0-rc2 (http://rpm.org/wiki/Releases/4.14.0)
+
+* Mon Sep 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.3
+- Fix Ftell() past 2GB on 32bit architectures (#1492587)
+
+* Thu Sep 07 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.2
+- Actually honor with/without libimaevm option
+- ima-evm-utils-devel >= 1.0 is required for rpm >= 4.14.0
+
+* Wed Sep 06 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.1
+- Rebase to rpm 4.14.0-rc1 (http://rpm.org/wiki/Releases/4.14.0)
+- Re-enable SHA256 header digest generation (see #1480407)
+
+* Mon Aug 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.8
+- Band-aid for DB_VERSION_MISMATCH errors on glibc updates (#1465809)
+
+* Thu Aug 24 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.7
+- Remove ugly kludges from posttrans script, BDB handles this now
+
+* Fri Aug 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.6
+- Silence harmless but bogus error message on noarch packages (#1482144)
+
+* Thu Aug 17 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14002.5
+- Build with platform_python
+
+* Mon Aug 14 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14000.4
+- Add platform-python bytecompilation patch: platform-python-bytecompile.patch
+- Add platform python deps generator patch: platform-python-abi.patch
+- Add a platform-python subpackage and remove system python related declarations
+- Build rpm without platform_python for bytecompilation
+ (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)
+
+* Mon Aug 14 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.3
+- Disable macro argument quoting as a band-aid to #1481025
+
+* Fri Aug 11 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.2
+- Disable SHA256 header-only digest generation temporarily (#1480407)
+
+* Thu Aug 10 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.1
+- Rebase to rpm 4.13.90 aka 4.14.0-alpha (#1474836)
+
diff --git a/rpm.spec b/rpm.spec
deleted file mode 100644
index 7572e44..0000000
--- a/rpm.spec
+++ /dev/null
@@ -1,1497 +0,0 @@
-# build against xz?
-%bcond_without xz
-# build with plugins?
-%bcond_without plugins
-# build with libarchive? (needed for rpm2archive)
-%bcond_without libarchive
-# build with libimaevm.so
-%bcond_without libimaevm
-# build with fsverity support?
-%if 0%{?rhel}
-%bcond_with fsverity
-%else
-%bcond_without fsverity
-%endif
-# build with zstd support?
-%bcond_without zstd
-# build with ndb backend?
-%bcond_without ndb
-# build with sqlite support?
-%bcond_without sqlite
-# build with bdb_ro support?
-%bcond_without bdb_ro
-# build with sequoia crypto?
-%bcond_without sequoia
-
-%define rpmhome /usr/lib/rpm
-
-%global rpmver 4.19.1.1
-#global snapver rc1
-%global baserelease 26
-%global sover 10
-
-%global srcver %{rpmver}%{?snapver:-%{snapver}}
-%global srcdir %{?snapver:testing}%{!?snapver:rpm-%(echo %{rpmver} | cut -d'.' -f1-2).x}
-
-Summary: The RPM package management system
-Name: rpm
-Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}%{baserelease}%{?dist}
-Url: http://www.rpm.org/
-License: GPL-2.0-or-later
-Source0: http://ftp.rpm.org/releases/%{srcdir}/rpm-%{srcver}.tar.bz2
-
-Source10: rpmdb-rebuild.service
-
-Source20: rpmdb-migrate.service
-Source21: rpmdb_migrate
-
-Source30: macros.rpmsign-sequoia
-
-Requires: coreutils
-Requires: popt%{_isa} >= 1.10.2.1
-Requires: curl
-Conflicts: systemd < 253.5-6
-Obsoletes: python2-rpm < %{version}-%{release}
-
-# XXX generally assumed to be installed but make it explicit as rpm
-# is a bit special...
-BuildRequires: redhat-rpm-config >= 94
-BuildRequires: systemd-rpm-macros
-BuildRequires: gcc make
-BuildRequires: cmake >= 3.18
-BuildRequires: gawk
-BuildRequires: elfutils-devel >= 0.112
-BuildRequires: elfutils-libelf-devel
-BuildRequires: readline-devel zlib-devel
-# The popt version here just documents an older known-good version
-BuildRequires: popt-devel >= 1.10.2
-BuildRequires: file-devel
-BuildRequires: gettext-devel
-BuildRequires: ncurses-devel
-BuildRequires: bzip2-devel >= 0.9.0c-2
-BuildRequires: lua-devel >= 5.1
-BuildRequires: libcap-devel
-BuildRequires: libacl-devel
-%if %{with xz}
-BuildRequires: xz-devel >= 4.999.8
-%endif
-%if %{with libarchive}
-BuildRequires: libarchive-devel
-%endif
-%if %{with zstd}
-BuildRequires: libzstd-devel
-%endif
-%if %{with sqlite}
-BuildRequires: sqlite-devel
-%endif
-
-# Needed for re-building the documentation and man pages
-# normally those are shipped in the tarball pre-build
-# but need re-building if sources are patched
-%if 0
-BuildRequires: pandoc
-BuildRequires: doxygen
-%endif
-
-
-%if %{with sequoia}
-%global crypto sequoia
-BuildRequires: rpm-sequoia-devel >= 1.9.0
-%else
-%global crypto openssl
-BuildRequires: openssl-devel
-%endif
-
-# Couple of patches change makefiles so, require for now...
-BuildRequires: automake libtool
-
-%if %{with plugins}
-BuildRequires: libselinux-devel
-BuildRequires: dbus-devel
-BuildRequires: audit-libs-devel
-%endif
-
-%if %{with libimaevm}
-BuildRequires: ima-evm-utils-devel >= 1.0
-%endif
-
-%if %{with fsverity}
-BuildRequires: fsverity-utils-devel
-%endif
-
-# For the rpmdb migration scriptlet (#2055033)
-Requires(pre): coreutils
-Requires(pre): findutils
-Requires(pre): sed
-
-%patchlist
-# Set rpmdb path to /usr/lib/sysimage/rpm
-rpm-4.17.x-rpm_dbpath.patch
-# Disable autoconf config.site processing (#962837)
-rpm-4.18.x-siteconfig.patch
-# In current Fedora, man-pages pkg owns all the localized man directories
-rpm-4.9.90-no-man-dirs.patch
-# Disable new user/group handling
-
-rpm-4.18.92-disable-sysusers.patch
-rpm-4.18.90-weak-user-group.patch
-
-# Patches already upstream:
-0001-Fix-potential-use-of-uninitialized-pipe-array.patch
-0001-Fix-potential-use-of-uninitialized-pgp-struct.patch
-0001-Fix-memory-leak-in-rpmsign.patch
-
-0001-Refactor-sign-command-expand-and-parse-out-of-runGPG.patch
-0002-Eliminate-hardcoded-GPG-references-from-user-visible.patch
-0003-Declare-signCmd-static.patch
-
-0001-Report-unsafe-symlinks-during-installation-as-a-spec.patch
-0002-Fix-FA_TOUCH-ed-files-getting-removed-on-failed-upda.patch
-
-0001-Fix-possible-package-corruption-on-delsign-resign-ad.patch
-0002-Fix-regression-on-build-id-generation-from-compresse.patch
-0003-Fix-root-relocation-regression.patch
-
-0001-Make-_passwd_path-and-_group_path-lists.patch
-0002-Fix-memory-leak-in-rpmspec-shell.patch
-0003-Fix-memory-leak-in-runGPG.patch
-0004-Talk-about-rpmsign-in-the-rpmsign-man-page.patch
-0005-Revert-Drop-redundant-argument-from-rpmcliTransactio.patch
-0001-Store-configurable-digest-s-on-packages-from-verific.patch
-0001-Ensure-binary-and-source-headers-are-identified-as-s.patch
-0002-Add-support-for-spec-local-file-attributes-and-gener.patch
-
-rpm-4.19.x-rpmkeys-add-list-erase.patch
-
-# PQC readiness
-rpm-4.19.x-multisig.patch
-rpm-4.19.x-pqc-algo.patch
-rpm-4.19.x-pqc-fixes.patch
-
-0001-Really-allow-qualifiers-like-pre-post-meta-for-weak-.patch
-
-rpm-4.19.x-multisig-verify-fixes.patch
-rpm-4.19.x-nsswitch-enable.patch
-0001-Fix-empty-password-field-in-passwd-group-causing-ent.patch
-
-rpm-4.19.x-add-autosetup-C.patch
-rpm-4.19.x-add-parkdb.patch
-rpm-4.19.x-improve-syslog.patch
-0001-Prevent-buffer-overruns-in-findPreambleTag-for-langu.patch
-
-0001-Prevent-command-injection-via-rpmbuild-t.patch
-
-# These are not yet upstream
-rpm-4.7.1-geode-i686.patch
-
-%description
-The RPM Package Manager (RPM) is a powerful command line driven
-package management system capable of installing, uninstalling,
-verifying, querying, and updating software packages. Each software
-package consists of an archive of files along with information about
-the package like its version, a description, etc.
-
-%package libs
-Summary: Libraries for manipulating RPM packages
-License: GPL-2.0-or-later OR LGPL-2.1-or-later
-Requires(meta): %{name} = %{version}-%{release}
-%if %{with sequoia}
-# >= 1.4.0 required for pgpVerifySignature2() and pgpPrtParams2()
-Requires: rpm-sequoia%{_isa} >= 1.9.0
-# Most systems should have a central package operations log
-Requires(meta): (rpm-plugin-audit if audit)
-Requires(meta): (rpm-plugin-syslog if syslog)
-%endif
-
-%description libs
-This package contains the RPM shared libraries.
-
-%package build-libs
-Summary: Libraries for building RPM packages
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description build-libs
-This package contains the RPM shared libraries for building packages.
-
-%package sign-libs
-Summary: Libraries for signing RPM packages
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-# in case somebody on the stream had these installed
-Obsoletes: rpm-sign-gnupg < 4.19.1.1-9.el10
-Obsoletes: rpm-sign-sequoia < 4.19.1.1-9.el10
-
-%description sign-libs
-This package contains the RPM shared libraries for signing packages.
-
-%package devel
-Summary: Development files for manipulating RPM packages
-License: GPL-2.0-or-later OR LGPL-2.1-or-later
-Requires: %{name} = %{version}-%{release}
-Requires: %{name}-libs%{_isa} = %{version}-%{release}
-Requires: %{name}-build-libs%{_isa} = %{version}-%{release}
-Requires: %{name}-sign-libs%{_isa} = %{version}-%{release}
-Requires: popt-devel%{_isa}
-
-%description devel
-This package contains the RPM C library and header files. These
-development files will simplify the process of writing programs that
-manipulate RPM packages and databases. These files are intended to
-simplify the process of creating graphical package managers or any
-other tools that need an intimate knowledge of RPM packages in order
-to function.
-
-This package should be installed if you want to develop programs that
-will manipulate RPM packages and databases.
-
-%package build
-Summary: Scripts and executable programs used to build packages
-Requires: rpm = %{version}-%{release}
-Requires: elfutils >= 0.128 binutils
-Requires: findutils sed grep gawk diffutils file patch >= 2.5
-Requires: tar unzip gzip bzip2 cpio xz
-%if %{with zstd}
-Requires: zstd
-%endif
-Requires: debugedit >= 0.3
-Requires: pkgconfig >= 1:0.24
-Requires: /usr/bin/gdb-add-index
-# https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot
-Suggests: gdb-minimal
-# Technically rpmbuild doesn't require any external configuration, but
-# creating distro-compatible packages does. To make the common case
-# "just work" while allowing for alternatives, depend on a virtual
-# provide, typically coming from redhat-rpm-config.
-Requires: system-rpm-config
-
-%description build
-The rpm-build package contains the scripts and executable programs
-that are used to build packages using the RPM Package Manager.
-
-%package sign
-Summary: Package signing support
-Requires: rpm-sign-libs%{_isa} = %{version}-%{release}
-
-%description sign
-This package contains support for digitally signing RPM packages.
-
-%package -n python3-%{name}
-Summary: Python 3 bindings for apps which will manipulate RPM packages
-BuildRequires: python3-devel
-%{?python_provide:%python_provide python3-%{name}}
-Requires: %{name}-libs%{?_isa} = %{version}-%{release}
-Provides: %{name}-python3 = %{version}-%{release}
-Obsoletes: %{name}-python3 < %{version}-%{release}
-
-%description -n python3-%{name}
-The python3-rpm package contains a module that permits applications
-written in the Python programming language to use the interface
-supplied by RPM Package Manager libraries.
-
-This package should be installed if you want to develop Python 3
-programs that will manipulate RPM packages and databases.
-
-%package apidocs
-Summary: API documentation for RPM libraries
-BuildArch: noarch
-
-%description apidocs
-This package contains API documentation for developing applications
-that will manipulate RPM packages and databases.
-
-%package cron
-Summary: Create daily logs of installed packages.
-BuildArch: noarch
-Requires: crontabs logrotate rpm = %{version}-%{release}
-
-%description cron
-This package contains a cron job which creates daily logs of installed
-packages on a system.
-
-%if %{with plugins}
-%package plugin-selinux
-Summary: Rpm plugin for SELinux functionality
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-Requires(meta): selinux-policy-base
-
-%description plugin-selinux
-%{summary}.
-
-%package plugin-syslog
-Summary: Rpm plugin for syslog functionality
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-syslog
-%{summary}.
-
-%package plugin-systemd-inhibit
-Summary: Rpm plugin for systemd inhibit functionality
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-systemd-inhibit
-This plugin blocks systemd from entering idle, sleep or shutdown while an rpm
-transaction is running using the systemd-inhibit mechanism.
-
-%if %{with libimaevm}
-%package plugin-ima
-Summary: Rpm plugin ima file signatures
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-ima
-%{summary}.
-%endif
-
-%package plugin-prioreset
-Summary: Rpm plugin for resetting scriptlet priorities for SysV init
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-prioreset
-%{summary}.
-
-Useful on legacy SysV init systems if you run rpm transactions with
-nice/ionice priorities. Should not be used on systemd systems.
-
-%package plugin-audit
-Summary: Rpm plugin for logging audit events on package operations
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-audit
-%{summary}.
-
-%if %{with fsverity}
-%package plugin-fsverity
-Summary: Rpm plugin for fsverity file signatures
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-fsverity
-%{summary}.
-%endif
-
-%package plugin-fapolicyd
-Summary: Rpm plugin for fapolicyd support
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-Provides: fapolicyd-plugin = %{version}-%{release}
-# fapolicyd-dnf-plugin currently at 1.0.4
-Obsoletes: fapolicyd-dnf-plugin < 1.0.5
-
-%description plugin-fapolicyd
-%{summary}.
-
-See https://people.redhat.com/sgrubb/fapolicyd/ for information about
-the fapolicyd daemon.
-
-%package plugin-dbus-announce
-Summary: Rpm plugin for announcing transactions on the DBUS
-Requires: rpm-libs%{_isa} = %{version}-%{release}
-
-%description plugin-dbus-announce
-The plugin announces basic information about rpm transactions to the
-system DBUS - like packages installed or removed. Other programs can
-subscribe to the signals to get notified when packages on the system
-change.
-
-# with plugins
-%endif
-
-%prep
-%autosetup -n rpm-%{srcver} -p1
-
-%build
-%set_build_flags
-
-mkdir _build
-cd _build
-cmake \
- -DCMAKE_INSTALL_PREFIX=%{_usr} \
- -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=%{_var}/lib \
- %{?with_bdb_ro:-DENABLE_BDB_RO=ON} \
- %{!?with_ndb:-DENABLE_NDB=OFF} \
- %{!?with_sqlite:-DENABLE_SQLITE=OFF} \
- %{!?with_plugins:-DENABLE_PLUGINS=OFF} \
- %{?with_fsverity:-DWITH_FSVERITY=ON} \
- %{?with_libimaevm:-DWITH_IMAEVM=ON} \
- %{!?with_libarchive:-DWITH_ARCHIVE=OFF} \
- %{!?with_check:-DENABLE_TESTSUITE=OFF} \
- %{?with_sequoia:-DWITH_SEQUOIA=ON} \
- %{!?with_sequoia:-DWITH_INTERNAL_OPENPGP=ON} \
- %{!?with_sequoia:-DWITH_OPENSSL=ON } \
- -DRPM_VENDOR=redhat \
- ..
-
-%make_build
-
-%install
-cd _build
-%make_install
-cd ..
-
-mkdir -p $RPM_BUILD_ROOT%{_unitdir}
-install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/%{_unitdir}
-install -m 644 %{SOURCE20} $RPM_BUILD_ROOT/%{_unitdir}
-
-mkdir -p $RPM_BUILD_ROOT%{rpmhome}
-install -m 755 %{SOURCE21} $RPM_BUILD_ROOT/%{rpmhome}
-
-# Built-in replacement for systemd-sysusers(8)
-install -m 755 scripts/sysusers.sh $RPM_BUILD_ROOT/%{rpmhome}
-
-# Save list of packages through cron
-mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily
-install -m 755 scripts/rpm.daily ${RPM_BUILD_ROOT}%{_sysconfdir}/cron.daily/rpm
-
-mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
-install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rpm
-
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
-mkdir -p $RPM_BUILD_ROOT%{rpmhome}/macros.d
-mkdir -p $RPM_BUILD_ROOT/usr/lib/sysimage/rpm
-cd _build
-
-# init an empty database for %ghost'ing for all supported backends
-for be in %{?with_ndb:ndb} %{?with_sqlite:sqlite}; do
- mkdir ${be}
- tools/rpmdb --rcfile rpmrc --define "_db_backend ${be}" --dbpath=${PWD}/${be} --initdb
- cp -va ${be}/. $RPM_BUILD_ROOT/usr/lib/sysimage/rpm/
-done
-
-# some packages invoke find-debuginfo directly, preserve compat for now
-ln -s ../../bin/find-debuginfo $RPM_BUILD_ROOT/usr/lib/rpm/find-debuginfo.sh
-
-%find_lang rpm
-
-find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
-
-# These live in perl-generators and python-rpm-generators now
-rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*,pythond*}
-rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/{perl*,python*}
-rm -rf $RPM_BUILD_ROOT/var/tmp
-
-# workaround for https://github.com/rpm-software-management/rpm/issues/2811
-rm $RPM_BUILD_ROOT/%{_defaultdocdir}/rpm/README.md
-
-# Signing macros for Sequoia
-install -m 644 %{SOURCE30} $RPM_BUILD_ROOT/%{_defaultdocdir}/rpm/
-
-rm $RPM_BUILD_ROOT/%{rpmhome}/rpmdump
-
-%pre
-# Symlink all rpmdb files to the new location if we're still using /var/lib/rpm
-if [ ! -L /var/lib/rpm ] && [ -d /var/lib/rpm ]; then
- mkdir -p /usr/lib/sysimage/rpm
- rpmdb_files=$(find /var/lib/rpm -maxdepth 1 -type f | sed 's|^/var/lib/rpm/||g' | sort)
- for rpmdb_file in ${rpmdb_files[@]}; do
- ln -sfr /var/lib/rpm/${rpmdb_file} /usr/lib/sysimage/rpm/${rpmdb_file}
- done
-fi
-
-%triggerun -- rpm < 4.17.0-7
-# Handle rpmdb migrate service on erasure of old to avoid ordering issues
-if [ -x /usr/bin/systemctl ]; then
- systemctl --no-reload preset rpmdb-migrate ||:
-fi
-
-%posttrans
-if [ ! -L /var/lib/rpm ] && [ -d /var/lib/rpm ]; then
- touch /var/lib/rpm/.migratedb
-fi
-if [ ! -d /var/lib/rpm ] && [ -d /usr/lib/sysimage/rpm ] && [ ! -f /usr/lib/sysimage/rpm/.rpmdbdirsymlink_created ]; then
- ln -sfr /usr/lib/sysimage/rpm /var/lib/rpm
- touch /usr/lib/sysimage/rpm/.rpmdbdirsymlink_created
-fi
-
-%files -f _build/rpm.lang
-%license COPYING
-%doc CREDITS docs/manual/[a-z]*
-%doc %{_defaultdocdir}/rpm/CONTRIBUTING.md
-%doc %{_defaultdocdir}/rpm/COPYING
-%doc %{_defaultdocdir}/rpm/INSTALL
-%doc %{_defaultdocdir}/rpm/README
-
-%{_unitdir}/rpmdb-rebuild.service
-%{_unitdir}/rpmdb-migrate.service
-
-%dir %{_sysconfdir}/rpm
-
-%attr(0755, root, root) %dir /usr/lib/sysimage/rpm
-%attr(0644, root, root) %ghost %config(missingok,noreplace) /usr/lib/sysimage/rpm/*
-%attr(0644, root, root) %ghost /usr/lib/sysimage/rpm/.*.lock
-
-%{_bindir}/rpm
-%if %{with libarchive}
-%{_bindir}/rpm2archive
-%endif
-%{_bindir}/rpm2cpio
-%{_bindir}/rpmdb
-%{_bindir}/rpmkeys
-%{_bindir}/rpmquery
-%{_bindir}/rpmverify
-%{_bindir}/rpmsort
-
-%{_mandir}/man8/rpm.8*
-%{_mandir}/man8/rpmdb.8*
-%{_mandir}/man8/rpmkeys.8*
-%if %{with libarchive}
-%{_mandir}/man8/rpm2archive.8*
-%endif
-%{_mandir}/man8/rpm2cpio.8*
-%{_mandir}/man8/rpm-misc.8*
-%{_mandir}/man8/rpmsort.8*
-%{_mandir}/man8/rpm-plugins.8*
-
-%attr(0755, root, root) %dir %{rpmhome}
-%{rpmhome}/macros
-%dir %{rpmhome}/macros.d
-%{rpmhome}/lua
-%{rpmhome}/rpmpopt*
-%{rpmhome}/rpmrc
-
-%{rpmhome}/rpmdb_*
-%{rpmhome}/rpm.daily
-%{rpmhome}/rpm.log
-%{rpmhome}/rpm.supp
-%{rpmhome}/rpm2cpio.sh
-%{rpmhome}/tgpg
-
-%{rpmhome}/platform
-%{rpmhome}/sysusers.sh
-
-%dir %{rpmhome}/fileattrs
-
-%files libs
-%{_libdir}/librpmio.so.%{sover}
-%{_libdir}/librpm.so.%{sover}
-%{_libdir}/librpmio.so.%{sover}.*
-%{_libdir}/librpm.so.%{sover}.*
-%if %{with plugins}
-%dir %{_libdir}/rpm-plugins
-
-%files plugin-syslog
-%{_libdir}/rpm-plugins/syslog.so
-%{_mandir}/man8/rpm-plugin-syslog.8*
-
-%files plugin-selinux
-%{_libdir}/rpm-plugins/selinux.so
-%{_mandir}/man8/rpm-plugin-selinux.8*
-
-%files plugin-systemd-inhibit
-%{_libdir}/rpm-plugins/systemd_inhibit.so
-%{_mandir}/man8/rpm-plugin-systemd-inhibit.8*
-
-%if %{with libimaevm}
-%files plugin-ima
-%{_libdir}/rpm-plugins/ima.so
-%{_mandir}/man8/rpm-plugin-ima.8*
-%endif
-
-%if %{with fsverity}
-%files plugin-fsverity
-%{_libdir}/rpm-plugins/fsverity.so
-%endif
-
-%files plugin-fapolicyd
-%{_libdir}/rpm-plugins/fapolicyd.so
-%{_mandir}/man8/rpm-plugin-fapolicyd.8*
-
-%files plugin-prioreset
-%{_libdir}/rpm-plugins/prioreset.so
-%{_mandir}/man8/rpm-plugin-prioreset.8*
-
-%files plugin-audit
-%{_libdir}/rpm-plugins/audit.so
-%{_mandir}/man8/rpm-plugin-audit.8*
-# with plugins
-
-%files plugin-dbus-announce
-%{_libdir}/rpm-plugins/dbus_announce.so
-%{_mandir}/man8/rpm-plugin-dbus-announce.8*
-%{_datadir}/dbus-1/system.d/org.rpm.conf
-%endif
-
-%files build-libs
-%{_libdir}/librpmbuild.so.%{sover}
-%{_libdir}/librpmbuild.so.%{sover}.*
-
-%files sign-libs
-%{_libdir}/librpmsign.so.%{sover}
-%{_libdir}/librpmsign.so.%{sover}.*
-
-%files build
-%{_bindir}/rpmbuild
-%{_bindir}/gendiff
-%{_bindir}/rpmspec
-%{_bindir}/rpmlua
-
-%{_mandir}/man1/gendiff.1*
-%{_mandir}/man8/rpmbuild.8*
-%{_mandir}/man8/rpmdeps.8*
-%{_mandir}/man8/rpmspec.8*
-%{_mandir}/man8/rpmlua.8*
-
-%{rpmhome}/brp-*
-%{rpmhome}/check-*
-%{rpmhome}/find-lang.sh
-%{rpmhome}/*provides*
-%{rpmhome}/*requires*
-%{rpmhome}/*deps*
-%{rpmhome}/*.prov
-%{rpmhome}/*.req
-%{rpmhome}/fileattrs/*
-%{rpmhome}/find-debuginfo.sh
-%{rpmhome}/rpmuncompress
-
-%files sign
-%{_bindir}/rpmsign
-%{_mandir}/man8/rpmsign.8*
-%doc %{_defaultdocdir}/rpm/macros.rpmsign-sequoia
-
-%files -n python3-%{name}
-%dir %{python3_sitearch}/rpm
-%{python3_sitearch}/rpm-%{rpmver}*.egg-info
-%{python3_sitearch}/rpm/__init__.py
-%{python3_sitearch}/rpm/transaction.py
-%{python3_sitearch}/rpm/_rpm.so
-%artifact %{python3_sitearch}/rpm/__pycache__/
-
-# Python examples
-%{_defaultdocdir}/rpm/examples/*.py
-
-%files devel
-%{_mandir}/man8/rpmgraph.8*
-%{_bindir}/rpmgraph
-%{_libdir}/librp*[a-z].so
-%{_libdir}/pkgconfig/rpm.pc
-%{_libdir}/cmake/rpm/
-%{_includedir}/rpm/
-
-%files cron
-%{_sysconfdir}/cron.daily/rpm
-%config(noreplace) %{_sysconfdir}/logrotate.d/rpm
-
-%files apidocs
-%license COPYING
-%doc %{_defaultdocdir}/rpm/API/
-
-%changelog
-* Mon Oct 12 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-26
-- CVE-2026-78367: Prevent command injection via rpmbuild -t (RHEL-247298)
-
-* Fri Jun 19 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-25
-- Apply forgotten patch for RHEL-169755
-
-* Thu Jun 18 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-24
-- Add support for %%autosetup -C (RHEL-141269)
-- Add support for database parking (RHEL-126405)
-- Make syslog plugin actually useful and also required (RHEL-155272)
-- Require rpm-plugin-audit instead of just recommending (RHEL-139071)
-- Fix buffer overruns with long language strings (RHEL-169755)
-
-* Thu Feb 05 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-23
-- Fix key import API to return NOTTRUSTED for disabled algorithms (RHEL-112394)
-
-* Tue Jan 27 2026 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-22
-- Ignore signatures made by unknown or disabled algorithms (RHEL-112394)
-- Enable NSS-based user and group lookups again (RHEL-118365)
-- Fix ignored password field if empty in passwd/group file (RHEL-118365)
-
-* Thu Nov 27 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-21
-- Fix pre/post/meta/etc. qualifiers for weak dependencies (RHEL-101936)
-- Fix redundant rpmdb-migrate.service runs (RHEL-96510)
-
-* Tue Aug 26 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-20
-- Fix rpmsign(8) man page (RHEL-109221)
-
-* Mon Aug 25 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-19
-- Additional PQC-related fixes (RHEL-109221)
-
-* Thu Jul 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-18
-- Add support for multiple OpenPGP signatures per package (RHEL-100571)
-- Add support for OpenPGP v6 signature pre-salting (RHEL-100571)
-- Add support for PQC algorithms from RFC-9580 (RHEL-100571)
-- Add --list and --erase commands to rpmkeys(8) (RHEL-105421)
-- Fix regression on dynamic subpackage RPMTAG_SOURCERPM missing (RHEL-102023)
-
-* Wed Jun 11 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-17
-- Bump release for another rebuild
-
-* Wed Jun 11 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-16
-- Fix regression on subpackage debuginfo RPMTAG_SOURCERPM missing (RHEL-87383)
-
-* Thu May 29 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-15
-- Add support for spec local file attributes and generators (RHEL-84057)
-- Ensure binary and source headers are identified as such (RHEL-87383)
-
-* Thu Apr 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-14
-- Store configurable digest(s) on packages in rpmdb (RHEL-84062)
-- Fix command references in rpmsign(8) man page, take II (RHEL-73173)
-
-* Tue Apr 22 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-13
-- Make %%_passwd_path and %%_group_path into lists (RHEL-78693)
-- Fix memory leak in rpmspec --shell (RHEL-55284)
-- Fix memory leak in rpmsign (RHEL-82284)
-- Fix command references in rpmsign(8) man page (RHEL-73173)
-- Fix exit code regression on update failure (RHEL-87384)
-
-* Fri Feb 07 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-12
-- Rebuild for ima-evm-utils 1.6 soname bump (RHEL-65378)
-
-* Fri Jan 24 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-11
-- Fix possible package corruption on --delsign/resign/addsign (RHEL-69518)
-- Fix regression on build-id generation from compressed ELF (RHEL-54000)
-- Fix root relocation regression (RHEL-56613)
-- Update sequoia macros for sq 1.0 (RHEL-56363)
-
-* Mon Jan 13 2025 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-10
-- Report unsafe symlinks during installation as a specific case (RHEL-73186)
-- Fix FA_TOUCH'ed files getting removed on failed update (RHEL-54386)
-- Rebuild for ima-evm-utils 1.6 soname bump (RHEL-65378)
-
-* Wed Dec 04 2024 Panu Matilainen <pmatilai@redhat.com> - 4.19.1.1-9
-- Revert the gnupg/sequoia sub-packages, too much headache
-- Ship sequoia-signing enablement macros as documentation instead
-- Generate binary signatures with Sequoia too
-
-* Tue Nov 12 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-8
-- Add Sequoia signing support back
-
-* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4.19.1.1-7
-- Bump release for October 2024 mass rebuild:
- Resolves: RHEL-64018
-
-* Fri Oct 25 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-6
-- Revert Sequoia signing support for now, breaks CI
-
-* Fri Oct 25 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-5
-- Fix Conflicts in new rpm-sign backends
-
-* Mon Oct 14 2024 Panu Matilainen <pmatilai@redhat.com> - 4.19.1.1-4
-- Remove hardcoded GPG references from signing error messages
-- Support switching between GnuPG and Sequoia for package signing (RHEL-56363)
-
-* Tue Aug 13 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-3
-- Fix potential use of uninitialized pipe array (RHEL-54012)
-- Fix potential use of uninitialized pgp struct (RHEL-54013)
-- Fix memory leak in rpmsign(8) (RHEL-37564)
-
-* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.19.1.1-2
-- Bump release for June 2024 mass rebuild
-
-* Wed Feb 07 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-1
-- Update to 4.19.1.1 (https://rpm.org/wiki/Releases/4.19.1.1)
-
-* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Fri Dec 15 2023 Panu Matilainen <pmatilai@redhat.com> - 4.19.1-2
-- Fix bogus warnings about runaway Lua scripts (#2254463)
-
-* Tue Dec 12 2023 Michal Domonkos <mdomonko@redhat.com> - 4.19.1-1
-- Update to 4.19.1 (https://rpm.org/wiki/Releases/4.19.1)
-
-* Thu Nov 30 2023 Stephen Gallagher <sgallagh@redhat.com> - 4.19.0-3
-- Fix issues with %%getncpus sometimes returning 0 on i686 systems
-
-* Mon Nov 13 2023 Panu Matilainen <pmatilai@redhat.com> - 4.19.0-2
-- Ensure central package ops log via rpm-plugin-audit recommends (#1476926)
-- Own our Python module directory (#2248555)
-- Fix sysusers.d generator barfing on legit content (#2246236)
-
-* Tue Sep 19 2023 Michal Domonkos <mdomonko@redhat.com> - 4.19.0-1
-- Update to 4.19.0
-
-* Mon Sep 04 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.99-1
-- Update to 4.19 rc1
-
-* Tue Aug 22 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.92-3
-- Fix regression on uncompressing 7zip compressed sources (#2229984)
-- Fix a conflict with pre-existing scl-utils %_root_prefix macro (#2233454)
-
-* Mon Aug 21 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.92-2
-- Behave more consistently when target %%optflags are not defined (#2231727)
-
-* Wed Aug 02 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.92-1
-- Update to 4.19 beta
-
-* Tue Jul 25 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 4.18.91-9
-- Drop fsverity plugin from RHEL builds
-
-* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.91-8
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
-
-* Wed Jun 28 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-7
-- Rebuilt for Python 3.12
-
-* Wed Jun 28 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-6
-- Fix a spec parsing error handling regression
-- Fix a per-file plugin hook regression
-
-* Tue Jun 27 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-5
-- Fix potential crash with multiple in-process sqlite uses
-
-* Mon Jun 26 2023 Python Maint <python-maint@redhat.com> - 4.18.91-4
-- Rebuilt for Python 3.12
-
-* Wed Jun 21 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.91-3
-- Enable user/group provide generation
-- Add a conflict for systemd versions carrying their own
-
-* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.18.91-2
-- Rebuilt for Python 3.12
-
-* Fri Jun 09 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.91-1
-- Update to 4.19 alpha2
-
-* Thu Jun 08 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 4.18.90-10
-- Rebuild for ima-evm-utils 1.5 soname bump
-
-* Mon May 29 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.90-9
-- Revert %%_smp_build_ncpus macro changing to parametric (#2210347)
-
-* Thu May 25 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-8
-- Set %_sharedstatedir to /var/lib (#2209989)
-
-* Thu May 25 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-7
-- Remove compat links for old so name of the libraries
-- Remove compat forward ports for libdnf
-
-* Mon May 22 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-6
-- Fix undefined symbols from plugins
-
-* Wed May 17 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-5
-- Use mkdir -p for creating SPECPARTS dir
-
-* Wed May 17 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-4
-- Enable large file support on 32-bit systems again
-
-* Mon May 15 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-3
-- Fix libbzip2 detection
-
-* Thu May 11 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-2
-- Add compat links for building dnf and friends
-
-* Thu May 04 2023 Florian Festi <ffesti@redhat.com> - 4.18.90-1
-- Update to 4.19 alpha
-
-* Tue Apr 25 2023 Miro Hrončok <mhroncok@redhat.com> - 4.18.1-3
-- Explicitly require rpm-sequoia >= 1.4.0 on runtime to avoid
- rpm: symbol lookup error: /lib64/librpmio.so.9: undefined symbol: _pgpVerifySignature2
-
-* Thu Apr 20 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.1-2
-- Backport improved crypto error messages from upstream
-
-* Wed Mar 15 2023 Michal Domonkos <mdomonko@redhat.com> - 4.18.1-1
-- Rebase to rpm 4.18.1 (https://rpm.org/wiki/Releases/4.18.1)
-
-* Thu Feb 16 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-11
-- Disable debuginfod lookups in rpmbuild scripts
-- Exclude kernel modules from ELF dependency generation
-
-* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.0-10
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Mon Jan 09 2023 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-9
-- Generate Python egg-info from automake (#2135561)
-- Drop setup.py-based Python build (#2135719)
-
-* Wed Dec 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-8
-- Fix hang-up on failed key import (related to #2149762)
-
-* Thu Nov 24 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-7
-- Require rpm-sequoia >= 1.2.0 for V3 signature support, re-enable (#2141686)
-
-* Thu Nov 10 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-6
-- Revert back to internal OpenPGP parser for V3 signature support (#2141686)
-
-* Tue Nov 01 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-5
-- Switch to Sequoia crypto (https://fedoraproject.org/wiki/Changes/RpmSequoia)
-
-* Fri Oct 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-4
-- Add an option for building with Sequoia crypto
-
-* Wed Oct 05 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-3
-- Break ancient rpm <-> rpm-libs ordering loop
-
-* Mon Oct 03 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-2
-- Drop the temporary build-dependency on pandoc before it grows a beard
-- Start utilizing %%patchlist, finally
-
-* Wed Sep 21 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-1
-- Rebase to rpm 4.18.0 (https://rpm.org/wiki/Releases/4.18.0)
-
-* Wed Sep 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.4
-- Fix a largish directory walk related memory leak in transactions
-
-* Wed Sep 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.3
-- Fix buffer overrun on rpmdb queries involving ^ in version
-
-* Wed Sep 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.2
-- Break selinux-policy <-> rpm-plugin-selinux ordering loop (#1851266)
-
-* Fri Sep 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.1
-- Rebase to 4.18.0-rc1 (https://rpm.org/wiki/Releases/4.18.0)
-
-* Tue Aug 02 2022 Michal Domonkos <mdomonko@redhat.com> - 4.18.0-0.beta1.4
-- Revert %%autosetup -S git patch due to another regression
-
-* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.18.0-0.beta1.3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Mon Jul 11 2022 Michal Domonkos <mdomonko@redhat.com> - 4.18.0-0.beta1.2
-- Fix check-buildroot regression wrt bundled SRPM (#2104150)
-- Fix %%autosetup -S git regression wrt default git branch
-
-* Tue Jun 28 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.beta1.1
-- Rebase to 4.18.0-beta1 (https://rpm.org/wiki/Releases/4.18.0)
-
-* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.18.0-0.alpha2.2
-- Rebuilt for Python 3.11
-
-* Mon May 23 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha2.1
-- Rebase to 4.18.0-0.alpha2
-- Prevent uncontrolled sqlite WAL growth during large transactions
-
-* Thu Apr 28 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.6
-- Fix rubygem unpack regression, causing rubygem builds to fail
-
-* Wed Apr 27 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.5
-- Fix verbose source uncompress regression (#2079127)
-
-* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.4
-- Further dynamic buildrequires cli switch regression fixes (#2078744)
-
-* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.3
-- Fix rpmbuild -ba --nodeps regression wrt dynamic buildrequires (#2078744)
-
-* Tue Apr 26 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.2
-- Fix rpmbuild -br not producing a src.rpm regression (#2078744)
-
-* Mon Apr 25 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.alpha1.1
-- Rebase to 4.18.0 alpha (https://fedoraproject.org/wiki/Changes/RPM-4.18)
-- Add patches for two late discovered regressions
-
-* Mon Mar 21 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-10
-- Create rpmdb directory symlink in posttrans by default (#2066427)
-
-* Wed Feb 16 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-9
-- Add dependencies for the rpmdb migration scriptlet (#2055033)
-
-* Wed Feb 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-8
-- Really fix spurious %%transfiletriggerpostun execution (#2023311, #2048168)
-
-* Wed Jan 26 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.17.0-7
-- Migrate rpmdb to /usr/lib/sysimage/rpm (#2042099)
- https://fedoraproject.org/wiki/Changes/RelocateRPMToUsr
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Thu Jan 20 2022 Björn Esser <besser82@fedoraproject.org> - 4.17.0-5
-- Rebuild (ima-evm-utils)
-- Use baserelease for rpm release tag to make rpmdev-bumpspec work
-
-* Fri Jan 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-4
-- Fix spurious %%transfiletriggerpostun execution (#2023311)
-
-* Fri Jan 14 2022 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-3
-- Fix fapolicyd plugin dependencies to replace fapolicyd-dnf-plugin (#2007639)
-
-* Mon Nov 08 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 4.17.0-2
-- Rebuils for ima-evm-utils 1.4 soname bump
-
-* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 4.17.0-1.1
-- Rebuilt with OpenSSL 3.0.0
-
-* Fri Sep 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-1
-- Rebase to 4.17.0 final (https://rpm.org/wiki/Releases/4.17.0)
-
-* Thu Aug 19 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-0.rc1.1
-- Rebase to 4.17.0 rc1
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.0-0.beta1.0.2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Tue Jun 22 2021 Panu Matilainen <pmatilai@redhat.com> - 4.17.0-0.beta1.1
-- Rebase to 4.17.0 beta1
-- Add back /usr/lib/rpm/find-debuginfo.sh as a compat symlink
-- Add temporary buildrequire on pandoc due to makefile bugs in beta1
-
-* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 4.16.90-0.git15395.8.1
-- Rebuilt for Python 3.10
-
-* Mon May 17 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.8
-- Switch to external debugedit
-
-* Mon May 17 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.7
-- Handle different find-debuginfo.sh location with external debugedit
-
-* Fri May 07 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.6
-- Fix regression causing a crash on Lua state reset (#1958095)
-
-* Thu Apr 29 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.5
-- Proper fix for comments affecting macro file parsing (#1953910)
-
-* Tue Apr 27 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.4
-- Enable fapolicyd plugin build
-
-* Tue Apr 27 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.3
-- Temporarily revert macro file loading fix due to regression #1953910
-
-* Mon Apr 26 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.2
-- Add a bcond to build with external debugedit
-
-* Mon Apr 26 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.90-0.git15395.1
-- Rebase to rpm 4.17.0 alpha (https://rpm.org/wiki/Releases/4.17.0)
-- Drop a local hack for a cosmetic Fedora 22 era rpm2cpio issue
-- Drop BDB support leftovers from the spec
-- Add build conditional for fsverity plugin
-
-* Mon Mar 22 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.3-1
-- Rebase to rpm 4.16.1.3 (https://rpm.org/wiki/Releases/4.16.1.3)
-
-* Wed Feb 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-6
-- Drop support for read-write Berkeley DB format (#1787311)
-
-* Wed Feb 03 2021 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-5
-- Make with/without bdb build option actually work
-- Clean up unpackaged /var/tmp from the build root
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.1.2-4.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Fri Jan 22 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-4
-- Fix edit_attributes_str_comp_dir in Patch916 (#1919107)
-
-* Tue Jan 19 2021 Jeff Law <law@redhat.com> - 4.16.1.2-3
-- Fix typo in test for F33 or newer
-
-* Tue Jan 19 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-2
-- Add debugedit DWARF5 support
-
-* Wed Dec 16 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.2-1
-- Rebase to rpm 4.16.1.2 (http://rpm.org/wiki/Releases/4.16.1.2)
-- Add a spec safeguard for accidental soname bumps
-
-* Wed Dec 16 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1.1-1
-- Rebase to rpm 4.16.1.1 (http://rpm.org/wiki/Releases/4.16.1.1)
-
-* Thu Dec 10 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.1-1
-- Rebase to rpm 4.16.1 (http://rpm.org/wiki/Releases/4.16.1)
-
-* Mon Nov 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-5
-- Only disable test-suite where it's actually broken
-
-* Mon Nov 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-4
-- Fix BDB crashing on failed open attempts (#1902395, #1898299, #1900407)
-- Fix unnecessary double failure on lazy keyring open
-
-* Wed Oct 28 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-3
-- Issue deprecation warning when creating BDB databases (#1787311)
-- Temporarily disable test-suite due to massive fakechroot breakage
-
-* Mon Oct 05 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-2
-- Clean up after test-suite which leaves a read-only tree behind
-
-* Wed Sep 30 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-1
-- Rebase to 4.16.0 final (https://rpm.org/wiki/Releases/4.16.0)
-
-* Mon Aug 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.rc1.1
-- Rebase to 4.16.0-rc1
-- Run test-suite in parallel
-
-* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-0.beta3.2.3
-- Second attempt - Rebuilt for
- https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-0.beta3.2.2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Sun Jul 26 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.16.0-0.beta3.2.1
-- rebuild for ima-evm-utils 1.3
-
-* Mon Jun 29 2020 Tom Callaway <spot@fedoraproject.org> - 4.16.0-0.beta3.2
-- rebuild for lua 5.4
-
-* Wed Jun 24 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta3.1
-- Rebase to beta3
-
-* Wed Jun 10 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.4
-- Fix prefix search on sqlite backend (many file triggers not running)
-
-* Mon Jun 8 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.3
-- Unbreak metainfo() provide generation
-
-* Wed Jun 3 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.2
-- Don't auto-enable _flush_io on non-rotational media, it's too costly
-
-* Mon Jun 1 2020 Panu Matilainen <pmatilai@redhat.com> - 4.16.0-0.beta1.1
-- Rebase to rpm 4.16.0-beta1
-
-* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 4.15.90-0.git14971.12.1
-- Rebuilt for Python 3.9
-
-* Tue May 12 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.12
-- Fix segfault when trying to use unknown database backend
-
-* Thu May 7 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.11
-- Flag BDB databases for rebuild on next reboot whenever rpm is updated
-- Switch default database to sqlite (#1818910)
-
-* Mon May 4 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.10
-- Handle rpmdb-rebuild service enablement for upgrades
-
-* Thu Apr 23 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.9
-- Fix questionable uses of %%{name} and %%{version} in the spec
-
-* Wed Apr 22 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.8
-- Fix regression(s) on build dependency resolution
-
-* Wed Apr 22 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.7
-- Add rpmdb-rebuild systemd service
-
-* Fri Apr 17 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.6
-- Warn on undefined macros in buildtree setup macros (#1820349)
-
-* Thu Apr 09 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.5
-- Fix regression causing all ELF files classified as OCaml
-
-* Mon Apr 06 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.4
-- Fix invalid path passed to parametric macro generators
-
-* Thu Apr 02 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.3
-- Fix db lock files not getting packaged
-
-* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.2
-- Move bdb specific systemd-tmpfiles cleanup crutch behind the bdb bcond
-
-* Tue Mar 31 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.90-0.git14971.1
-- Rebase to rpm 4.16 alpha (https://rpm.org/wiki/Releases/4.16.0)
-- Add bconds for and enable sqlite, ndb and bdb_ro database backends
-- Add bcond for disabling bdb backend
-- Drop lmdb bcond, the backend was removed upstream
-- Ensure all database backend files are owned
-- Fix external environment causing test-suite failures in spec build
-- Re-enable hard test-suite failures again
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.1-2.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Thu Jan 9 2020 Panu Matilainen <pmatilai@redhat.com> - 4.15.1-2
-- Obsolete python2-rpm to fix upgrade path (#1775113)
-
-* Mon Nov 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.1-1
-- Rebase to 4.15.1 (https://rpm.org/wiki/Releases/4.15.1)
-
-* Thu Nov 14 2019 Adam Williamson <awilliam@redhat.com> - 4.15.0-7
-- Really revert armv8 detection improvements (patch was not applied in -6)
-
-* Wed Oct 23 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.15.0-6
-- Revert armv8 detection improvements
-
-* Mon Oct 21 2019 Stephen Gallagher <sgallagh@redhat.com> - 4.15.0-5
-- Revert aliasing arm64 to aarch64
-- Resolves: rhbz#1763831
-
-* Fri Oct 18 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-4
-- Revert problematic sub-variants of armv8 (#1691430)
-
-* Thu Oct 17 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-3
-- Drop python2 bindings for good (#1761211)
-
-* Tue Oct 15 2019 Adam Williamson <awilliam@redhat.com> - 4.15.0-2
-- Revert systemd inhibit plugin's calling of dbus_shutdown (#1750575)
-
-* Thu Sep 26 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-1
-- Update to 4.15.0 final (https://rpm.org/wiki/Releases/4.15.0)
-
-* Wed Aug 28 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.rc1.1
-- Update to 4.15.0-rc1
-
-* Tue Aug 27 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.6
-- Fix some issues in the thread cap logic
-
-* Mon Aug 26 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.5
-- Re-enable test-suite, temporarily disabled during alpha troubleshooting
-
-* Fri Aug 23 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.4
-- Cap number of threads on 32bit platforms (#1729382)
-- Drop %%_lto_cflags macro (reverted upstream)
-
-* Fri Aug 23 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.3
-- Restore strict order of build scriptlet stdout/stderr output
-
-* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 4.15.0-0.beta.2.3
-- Rebuilt for Python 3.8
-
-* Wed Jul 31 2019 Miro Hrončok <mhroncok@redhat.com> - 4.15.0-0.beta.2.2
-- Rebuilt for libimaevm.so.1
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.0-0.beta.2.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Sat Jul 20 18:30:10 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.15.0-0.beta.2
-- Backport patch to not set RPMTAG_BUILDTIME to SOURCE_DATE_EPOCH
-
-* Thu Jun 27 2019 Panu Matilainen <pmatilai@redhat.com> - 4.15.0-0.beta.1
-- Rebase to 4.15.0 beta
-
-* Thu Jun 20 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.18
-- Fix excessive TLS use, part II (#1722181)
-
-* Thu Jun 20 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.17
-- Fix excessive TLS use (#1722181)
-
-* Wed Jun 19 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.16
-- Drop buildarch again now that python_provide no longer needs it (#1720139)
-
-* Fri Jun 14 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.15
-- Temporarily re-enable buildarch macro for python_provide macro use (#1720139)
-
-* Thu Jun 13 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.14
-- Don't fail build trying to kill a non-existent process (#1720143)
-
-* Tue Jun 11 14:59:16 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.13
-- Fix build of binary packages in parallel
-
-* Tue Jun 11 00:08:50 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.90-0.git14653.10
-- Revert generation of binary packages in parallel
-
-* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.90-0.git14653.1
-- Update to 4.15.0 alpha
-
-* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-14
-- Drop support for sanitizer build, it never really worked anyway
-- Drop leftover build-dependency on binutils-devel
-- Truncate changelog to rpm 4.14.x (last two years)
-
-* Mon Jun 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-13
-- Drop support for Fedora < 28 builds
-- Drop leftover BDB-related compiler flag foo
-
-* Fri Jun 07 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-12
-- Use pre-determined buildhost in test-suite to avoid DNS usage
-- Drop obsolete specspo and gpg2 related patches
-
-* Fri Jun 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-11
-- Use py2/3 macros for building and installing the bindings
-
-* Tue May 21 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-10
-- Support build-id generation from compressed ELF files (#1650072)
-
-* Fri May 03 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2.1-9
-- Suggest gdb-minimal
-
-* Thu Apr 25 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-8
-- Replace deprecated __global_ldflags uses with build_ldflags macro
-
-* Thu Apr 11 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-7
-- Fix excessive reference counting on faked string .decode()
-
-* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-6
-- Unbreak Python 3 API by returning string data as surrogate-escaped utf-8
- string objects instead of bytes (#1693751)
-- As a temporary crutch, monkey-patch a .decode() method to returned strings
- to give users time to migrate from the long-standing broken behavior
-
-* Wed Apr 10 2019 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-5
-- Generate minidebug for PIE executables on file >= 5.33 too
-- Backport find-debuginfo --g-libs option for glibc's benefit (#1661512)
-
-* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2.1-4.1
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Wed Dec 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-4
-- Backport the new modularity label tag (#1650286)
-
-* Mon Nov 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-3
-- Take prefix into account when compressing man pages etc for Flatpak builds
-
-* Wed Oct 24 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-2
-- Selinux plugin requires a base policy to work (#1641631)
-
-* Mon Oct 22 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2.1-1
-- Rebase to rpm 4.14.2.1 (http://rpm.org/wiki/Releases/4.14.2.1)
-
-* Wed Oct 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-9
-- Push name/epoch/version/release macro before invoking depgens
-
-* Tue Oct 16 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-8
-- Resurrect long since broken Lua library path
-
-* Fri Oct 12 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-7
-- Actually fail build on test-suite failures again
-- Invoke python2 explicitly from test-suite to unbreak build, part II
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-6
-- Drop duplicate BDB buildrequire
-- Drop nowadays unnecessary BDB macro foo
-- Drop nowadays unnecessary manual libcap dependency
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-5
-- Own all rpmdb files and ensure the list remains up to date
-- Drop redundant verify exclusions on rpmdb ghosts
-- Fix build when systemd is not installed (duh)
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-4
-- Erm, really use the macro for tmpfiles.d path
-- Erm, don't nuke buildroot at beginning of %%install
-- Use modern build/install helper macros
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-3
-- Eh, selinux plugin dependency condition was upside down (#1493267)
-- Drop no longer necessary condition over imaevm name
-- Drop no longer necessary obsolete on compat-librpm3
-
-* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-2
-- Fix ancient Python GIL locking bug (#1632488)
-- Use the appropriate macro for tmpfiles.d now that one exists
-
-* Tue Aug 21 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-1
-- Update to rpm 4.14.2 final (http://rpm.org/wiki/Releases/4.14.2)
-
-* Mon Aug 13 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.2
-- Move python-macro-helper to main package where the macros are (#1577860)
-
-* Wed Aug 08 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc2.1
-- Update to rpm 4.14.2-rc2
-
-* Sat Jul 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.2-0.rc1.2
-- Decompress DWARF compressed ELF sections
-
-* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.2-0.rc1.1.2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.2-0.rc1.1.1
-- Rebuilt for Python 3.7
-
-* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.2-0.rc1.1
-- Update to rpm 4.14.2-rc1
-- Patching test-suite for python2 too painful, just sed it instead
-- Fix premature version increment from previous changelog entries, oops
-
-* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-13
-- Ehm, need to patch the autogenerated rpmtests script too for python2
-- Ehm, it's ldconfig_scriptlets not scripts
-- Drop the non-working python envvar magic from obsoleted change
-
-* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-12
-- Invoke python2 explicitly from test-suite to unbreak build
-
-* Fri Jun 29 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-11
-- Remove direct ldconfig calls, use compat macros instead
-
-* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10.1
-- Rebuilt for Python 3.7
-
-* Mon May 28 2018 Miro Hrončok <mhroncok@redhat.com> - 4.14.1-10
-- Backport upstream solution to make brp-python-bytecompile automagic part opt-outable
- https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation
-
-* Tue May 22 2018 Mark Wielaard <mjw@fedoraproject.org> - 4.14.1-9
-- find-debuginfo.sh: Handle application/x-pie-executable (#1581224)
-
-* Tue Feb 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-8
-- Split rpm-build-libs to one more subpackage rpm-sign-libs
-
-* Mon Feb 19 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-7
-- Explicitly BuildRequire gcc and make
-
-* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.1-6.1
-- Escape macros in %%changelog
-
-* Wed Jan 31 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-6
-- Avoid unnecessary macro helper dependency on /usr/bin/python (#1538657)
-- Fix release of previous changelog entry
-
-* Tue Jan 30 2018 Tomas Orsava <torsava@redhat.com> - 4.14.1-5
-- Add envvar that will be present during RPM build,
- Part of a Fedora Change for F28: "Avoid /usr/bin/python in RPM build"
- https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
-
-* Tue Jan 30 2018 Petr Viktorin <pviktori@redhat.com> - 4.14.1-4
-- Skip automatic Python byte-compilation if *.py files are not present
-
-* Thu Jan 25 2018 Florian Weimer <fweimer@redhat.com> - 4.14.1-3
-- Rebuild to work around gcc bug leading to librpm miscompilation (#1538648)
-
-* Thu Jan 18 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-2
-- Avoid nuking the new python-macro-helper along with dep generators (#1535692)
-
-* Tue Jan 16 2018 Panu Matilainen <pmatilai@redhat.com> - 4.14.1-1
-- Rebase to rpm 4.14.1 (http://rpm.org/wiki/Releases/4.14.1)
-
-* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-5
-- Fix typo in Obsoletes
-
-* Mon Nov 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.14.0-4
-- Remove platform-python bits
-
-* Thu Oct 26 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-3
-- Move selinux plugin dependency to selinux-policy in Fedora >= 28 (#1493267)
-
-* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-2
-- Dump out test-suite log in case of failures again
-- Don't assume per-user groups in test-suite
-
-* Thu Oct 12 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-1
-- Rebase to rpm 4.14.0 final (http://rpm.org/wiki/Releases/4.14.0)
-
-* Tue Oct 10 2017 Troy Dawson <tdawson@redhat.com> - 4.14.0-0.rc2.6
-- Cleanup spec file conditionals
-
-* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.5
-- Add build conditionals for zstd and lmdb support
-- Enable zstd support
-
-* Tue Oct 03 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.4
-- Spec cleanups
-
-* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.3
-- BuildRequire gnupg2 for the testsuite
-
-* Fri Sep 29 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.2
-- ima-evm-utils only has a -devel package in fedora >= 28
-
-* Thu Sep 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc2.1
-- Rebase to rpm 4.14.0-rc2 (http://rpm.org/wiki/Releases/4.14.0)
-
-* Mon Sep 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.3
-- Fix Ftell() past 2GB on 32bit architectures (#1492587)
-
-* Thu Sep 07 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.2
-- Actually honor with/without libimaevm option
-- ima-evm-utils-devel >= 1.0 is required for rpm >= 4.14.0
-
-* Wed Sep 06 2017 Panu Matilainen <pmatilai@redhat.com> - 4.14.0-0.rc1.1
-- Rebase to rpm 4.14.0-rc1 (http://rpm.org/wiki/Releases/4.14.0)
-- Re-enable SHA256 header digest generation (see #1480407)
-
-* Mon Aug 28 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.8
-- Band-aid for DB_VERSION_MISMATCH errors on glibc updates (#1465809)
-
-* Thu Aug 24 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.7
-- Remove ugly kludges from posttrans script, BDB handles this now
-
-* Fri Aug 18 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.6
-- Silence harmless but bogus error message on noarch packages (#1482144)
-
-* Thu Aug 17 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14002.5
-- Build with platform_python
-
-* Mon Aug 14 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.90-0.git14000.4
-- Add platform-python bytecompilation patch: platform-python-bytecompile.patch
-- Add platform python deps generator patch: platform-python-abi.patch
-- Add a platform-python subpackage and remove system python related declarations
-- Build rpm without platform_python for bytecompilation
- (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)
-
-* Mon Aug 14 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.3
-- Disable macro argument quoting as a band-aid to #1481025
-
-* Fri Aug 11 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.2
-- Disable SHA256 header-only digest generation temporarily (#1480407)
-
-* Thu Aug 10 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.90-0.git14000.1
-- Rebase to rpm 4.13.90 aka 4.14.0-alpha (#1474836)
-
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-16 11:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-16 11:10 [rpms/python3-rpm] epel10.3: Merge c10s into epel10
-- strict thread matches above, loose matches on Subject: below --
2026-11-16 11:10
2026-11-16 11:10
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox