Hello community,

here is the log from the commit of package btrfsmaintenance for 
openSUSE:Factory checked in at 2017-11-08 15:12:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/btrfsmaintenance (Old)
 and      /work/SRC/openSUSE:Factory/.btrfsmaintenance.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "btrfsmaintenance"

Wed Nov  8 15:12:03 2017 rev:9 rq:539865 version:0.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/btrfsmaintenance/btrfsmaintenance.changes        
2017-07-07 10:16:48.527925430 +0200
+++ /work/SRC/openSUSE:Factory/.btrfsmaintenance.new/btrfsmaintenance.changes   
2017-11-08 15:16:00.773171149 +0100
@@ -1,0 +2,7 @@
+Tue Nov  7 22:06:55 UTC 2017 - [email protected]
+
+- Add btrfsmaintenance-0.3.1-fix-rpm-db-path.patch:
+  * Change RPM database path to /usr/lib/sysimage/rpm for
+    Tumbleweed.
+
+-------------------------------------------------------------------

New:
----
  btrfsmaintenance-0.3.1-fix-rpm-db-path.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ btrfsmaintenance.spec ++++++
--- /var/tmp/diff_new_pack.OUF6Io/_old  2017-11-08 15:16:01.177156403 +0100
+++ /var/tmp/diff_new_pack.OUF6Io/_new  2017-11-08 15:16:01.177156403 +0100
@@ -24,6 +24,8 @@
 Group:          System/Base
 Url:            https://github.com/kdave/btrfsmaintenance
 Source0:        %{name}-%{version}.tar.bz2
+# PATCH-FIX-OPENSUSE btrfsmaintenance-0.3.1-fix-rpm-db-path.patch -- Fix RPM 
database path for Tumbleweed
+Patch0:         btrfsmaintenance-0.3.1-fix-rpm-db-path.patch
 Requires:       zypp-plugin-python
 Requires:       libzypp(plugin:commit)
 Recommends:     cron
@@ -42,6 +44,9 @@
 
 %prep
 %setup -q
+%if 0%{?suse_version} > 1320 
+%patch0
+%endif
 
 %build
 

++++++ btrfsmaintenance-0.3.1-fix-rpm-db-path.patch ++++++
RPM database location has changed from /var/lib/rpm to /usr/lib/sysimage/rpm
for openSUSE Tumbleweed.

See https://lists.opensuse.org/opensuse-factory/2017-11/msg00188.html.
---
diff -up ./btrfs-defrag-plugin.py.orig ./btrfs-defrag-plugin.py
--- ./btrfs-defrag-plugin.py.orig       2017-11-07 22:56:51.559813001 +0100
+++ ./btrfs-defrag-plugin.py    2017-11-07 22:57:38.027814927 +0100
@@ -24,7 +24,7 @@ import subprocess
 DEBUG=False
 EXTENT_SIZE=64*1024*1024
 LOGFILE='/tmp/btrfs-defrag-plugin.log'
-PATH='/var/lib/rpm'
+PATH='/usr/lib/sysimage/rpm/'

 def dbg(args):
     if not DEBUG: return


Reply via email to