SHA256
3
0
forked from pool/rpm
rpm/usr-lib-rpmdb.patch
Michael Schröder c7cda24f07 Accepting request 533751 from home:RBrownSUSE:branches:Base:System
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
2017-10-16 13:34:53 +00:00

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}