[PATCH v3 0/2] rpm: 4.20.1 -> 6.0.1

liezhi.yang
2026-01-23T06:13:25Z

* V1 & V2
- Initial version

* V3
- Fix Alexender's comments
a) Suppot rpm 6
b) Move rpm-setup-autosign to rpm-build
c) Remove -DLIBELF_FOUND=False

- Fix build for nativesdk-rpm

- Drop patch for createrepo-c since it has been upgraded (rev:
804a238c8a4e86c2bcfb2192d54cb861d5fd32a6)

// Robert

The following changes since commit 831fcbebf3ddbcf3b84eb9b0540cc9ac4d0b0635:

flac: fix compile failed on musl (2026-01-22 14:21:21 +0000)

are available in the Git repository at:

https://github.com/robertlinux/yocto rbt/rpm
https://github.com/robertlinux/yocto/tree/rbt/rpm

for you to fetch changes up to 212239fdc34e812c1e827917d5db83fecac2a3f3:

rpm: 4.20.1 -> 6.0.1 (2026-01-22 22:01:58 -0800)

----------------------------------------------------------------

Robert Yang (2):
package_rpm.bbclass: Drop external dependency generator to support rpm
6
rpm: 4.20.1 -> 6.0.1

meta/classes-global/package_rpm.bbclass | 84 +------------------
...olor-setting-for-mips64_n32-binaries.patch | 21 +++--
...akeLists.txt-Fix-checking-for-CFLAGS.patch | 46 ----------
...satisfiable-dependency-when-building.patch | 17 ++--
...1-Do-not-read-config-files-from-HOME.patch | 17 ++--
...-PATH-environment-variable-before-ru.patch | 15 ++--
...lling-execute-package-scriptlets-wit.patch | 11 +--
...not-insert-payloadflags-into-.rpm-me.patch | 17 ++--
....c-fix-file-conflicts-for-MIPS64-N32.patch | 17 ++--
...kgverify_level-to-digest-as-RCPM-4.2.patch | 34 ++++++++
...ools-elfdeps.cc-Remove-format-module.patch | 37 ++++++++
...prefixing-etc-from-RPM_ETCCONFIGDIR-.patch | 25 +++---
...avoid-using-GLOB_BRACE-if-undefined-.patch | 13 +--
...ge-logging-level-around-scriptlets-t.patch | 13 +--
.../rpm/{rpm_4.20.1.bb => rpm_6.0.1.bb} | 13 +--
15 files changed, 178 insertions(+), 202 deletions(-)
delete mode 100644 meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch
create mode 100644 meta/recipes-devtools/rpm/files/0001-macros.in-Set-_pkgverify_level-to-digest-as-RCPM-4.2.patch
create mode 100644 meta/recipes-devtools/rpm/files/0001-tools-elfdeps.cc-Remove-format-module.patch
rename meta/recipes-devtools/rpm/{rpm_4.20.1.bb => rpm_6.0.1.bb} (95%)

--
2.49.0