Now with mitigation for any scriptlets running in the same transaction. Also has the added benefit of no longer creating an empty db in /usr/lib/rpmdb just to overwrite it again in posttrans. OBS-URL: https://build.opensuse.org/request/show/533751 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=404
12 lines
378 B
Diff
12 lines
378 B
Diff
--- rpm-4.13.0.1/macros.in.orig 2017-10-04 17:05:17.198681581 +0200
|
|
+++ rpm-4.13.0.1/macros.in 2017-10-04 17:07:37.122679969 +0200
|
|
@@ -165,7 +165,7 @@
|
|
%_bzip2bin %{__bzip2}
|
|
|
|
# The location of the rpm database file(s).
|
|
-%_dbpath %{_var}/lib/rpm
|
|
+%_dbpath %{_usr}/lib/rpmdb
|
|
|
|
# The location of the rpm database file(s) after "rpm --rebuilddb".
|
|
%_dbpath_rebuild %{_dbpath}
|