Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rpm for openSUSE:Factory checked in at 2026-05-11 16:48:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rpm (Old) and /work/SRC/openSUSE:Factory/.rpm.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rpm" Mon May 11 16:48:19 2026 rev:326 rq:1336739 version:4.20.1 Changes: -------- +++ only whitespace diff in changes, re-diffing --- /work/SRC/openSUSE:Factory/rpm/rpm.changes 2025-07-31 17:46:51.401790303 +0200 +++ /work/SRC/openSUSE:Factory/.rpm.new.1966/rpm.changes 2026-05-11 16:48:21.254548666 +0200 @@ -1,0 +2,15 @@ +Thu Mar 5 11:06:39 UTC 2026 - Andreas Stieger <[email protected]> + +- Fix "unexpected EOF" when using rpmbuild to install ELF binaries + due to syntax error in /usr/lib/rpm/brp-strip from brp.diff + (boo#1259215) + +------------------------------------------------------------------- +Wed Nov 19 12:23:05 UTC 2025 - Richard Brown <[email protected]> + +- Remove /var/lib/rpm migration scripting, retain an error if old + location is found +- Use systemd-tmpfiles to create & maintain /var/lib/rpm symlink + (boo#1253139) + +------------------------------------------------------------------- New: ---- rpm.tmpfiles ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-rpm.spec ++++++ --- /var/tmp/diff_new_pack.kylPqZ/_old 2026-05-11 16:48:23.462639135 +0200 +++ /var/tmp/diff_new_pack.kylPqZ/_new 2026-05-11 16:48:23.462639135 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-rpm # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # Copyright (c) 2017 Neal Gompa <[email protected]>. # # All modifications and additions to the file contributed by third parties ++++++ rpm.spec ++++++ --- /var/tmp/diff_new_pack.kylPqZ/_old 2026-05-11 16:48:23.518641429 +0200 +++ /var/tmp/diff_new_pack.kylPqZ/_new 2026-05-11 16:48:23.518641429 +0200 @@ -1,7 +1,7 @@ # # spec file for package rpm # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -72,6 +72,7 @@ Source12: baselibs.conf Source13: rpmconfigcheck.service Source14: build-aux.tar.bz2 +Source15: rpm.tmpfiles # quilt patches start here Patch5: usr-lib-sysimage-rpm.patch Patch13: ignore-auxv.diff @@ -321,6 +322,7 @@ install -m 755 %{SOURCE8} %{buildroot}/usr/sbin mkdir -p %{buildroot}/usr/lib/systemd/system install -m 644 %{SOURCE13} %{buildroot}/usr/lib/systemd/system/ +install -D -m 644 %{SOURCE15} %{buildroot}%{_tmpfilesdir}/rpm.conf mkdir -p %{buildroot}/usr/lib/rpm/macros.d mkdir -p %{buildroot}/usr/lib/rpm/suse for d in BUILD RPMS SOURCES SPECS SRPMS BUILDROOT ; do @@ -385,37 +387,13 @@ %post %{fillup_only -an services} -# var/lib/rpm migration: set forwards compatible symlink for /usr/lib/sysimage/rpm so scriptlets in same transaction will still work -if test ! -L var/lib/rpm -a ! -f usr/lib/sysimage/rpm/Packages -a ! -f usr/lib/sysimage/rpm/Packages.db ; then - if test -f var/lib/rpm/Packages -o -f var/lib/rpm/Packages.db ; then - rmdir usr/lib/sysimage/rpm - ln -s ../../../var/lib/rpm usr/lib/sysimage/rpm - fi -fi - -test -f usr/lib/sysimage/rpm/Packages -o -f usr/lib/sysimage/rpm/Packages.db || rpmdb --initdb -test -e var/lib/rpm || ln -s ../../usr/lib/sysimage/rpm var/lib/rpm - %posttrans -# var/lib/rpm migration +# legacy var/lib/rpm detection if test ! -L var/lib/rpm ; then - # delete no longer maintained databases - rm -f var/lib/rpm/Filemd5s var/lib/rpm/Filedigests var/lib/rpm/Requireversion var/lib/rpm/Provideversion - if test -f var/lib/rpm/Packages -o -f var/lib/rpm/Packages.db ; then - echo "migrating rpmdb from /var/lib/rpm to /usr/lib/sysimage/rpm..." - - # remove forwards compatible symlink - if test -L usr/lib/sysimage/rpm ; then - rm -f usr/lib/sysimage/rpm - mkdir -p usr/lib/sysimage/rpm - fi - - mv -f var/lib/rpm/.[!.]* usr/lib/sysimage/rpm/ - mv -f var/lib/rpm/* usr/lib/sysimage/rpm/ + echo "legacy rpmdb location detected. Please move /var/lib/rpm to /usr/lib/sysimage/rpm..." + exit 1 fi - test -d var/lib/rpm && rmdir var/lib/rpm - test -e var/lib/rpm || ln -s ../../usr/lib/sysimage/rpm var/lib/rpm fi %files -f rpm.lang @@ -460,6 +438,7 @@ %{_libdir}/librpm.so.* %{_libdir}/librpmio.so.* %{_libdir}/librpmsign.so.* + %{_tmpfilesdir}/rpm.conf %doc %{_mandir}/man[18]/*.[18]* %dir /usr/lib/sysimage %dir /usr/lib/sysimage/rpm ++++++ brp.diff ++++++ --- /var/tmp/diff_new_pack.kylPqZ/_old 2026-05-11 16:48:23.650646838 +0200 +++ /var/tmp/diff_new_pack.kylPqZ/_new 2026-05-11 16:48:23.654647002 +0200 @@ -1,5 +1,7 @@ ---- scripts/brp-strip-comment-note.orig 2024-10-07 09:35:46.000000000 +0000 -+++ scripts/brp-strip-comment-note 2024-12-16 09:15:41.572425334 +0000 +Index: scripts/brp-strip-comment-note +=================================================================== +--- scripts/brp-strip-comment-note.orig ++++ scripts/brp-strip-comment-note @@ -15,7 +15,7 @@ esac # Strip .comment and .note sections (the latter only if it is not allocated) @@ -9,13 +11,15 @@ note="-R .note" if $OBJDUMP -h $f | grep '^[ ]*[0-9]*[ ]*.note[ ]' -A 1 | \ grep ALLOC >/dev/null; then ---- scripts/brp-strip.orig 2024-10-07 09:35:46.000000000 +0000 -+++ scripts/brp-strip 2024-12-16 09:15:41.572425334 +0000 -@@ -37,6 +37,7 @@ strip_elf_binaries() +Index: scripts/brp-strip +=================================================================== +--- scripts/brp-strip.orig ++++ scripts/brp-strip +@@ -38,6 +38,7 @@ strip_elf_binaries() ! -name "*.py" ! -name "*.js" ! -name "*.rb" \ ! -name "*.go" -links "${nlinks}" -print0 | \ xargs -0 -r -P${nprocs} -n${MAX_ARGS} sh -c "file \"\$@\" | \ -+ grep -v ' shared object,' | grep -v '/lib/modules/ | \ ++ grep -v ' shared object,' | grep -v '/lib/modules/' | \ sed -n -e 's/^\(.*\):[ ]*ELF.*, not stripped.*/\1/p' | \ grep -v 'no machine' | \ xargs -I\{\} $STRIP -g \{\}" ARG0 ++++++ rpm.tmpfiles ++++++ L /var/lib/rpm - - - - /usr/lib/sysimage/rpm
