Hello community,

here is the log from the commit of package btrfsmaintenance for 
openSUSE:Factory checked in at 2018-05-16 11:42:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/btrfsmaintenance (Old)
 and      /work/SRC/openSUSE:Factory/.btrfsmaintenance.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "btrfsmaintenance"

Wed May 16 11:42:30 2018 rev:18 rq:607656 version:0.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/btrfsmaintenance/btrfsmaintenance.changes        
2018-03-16 10:45:39.475485056 +0100
+++ /work/SRC/openSUSE:Factory/.btrfsmaintenance.new/btrfsmaintenance.changes   
2018-05-16 11:44:03.146929174 +0200
@@ -1,0 +2,7 @@
+Fri Apr 13 13:48:40 UTC 2018 - lpecha...@suse.com
+
+- In openSUSE the defrag plugin must explicitly refer to Python 3.
+  (bsc#1070322)
+- Added patch: python3-support-bsc1070322.diff
+
+-------------------------------------------------------------------

New:
----
  python3-support-bsc1070322.diff

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

Other differences:
------------------
++++++ btrfsmaintenance.spec ++++++
--- /var/tmp/diff_new_pack.cpnFqK/_old  2018-05-16 11:44:03.874902676 +0200
+++ /var/tmp/diff_new_pack.cpnFqK/_new  2018-05-16 11:44:03.874902676 +0200
@@ -29,6 +29,7 @@
 Group:          System/Base
 Url:            https://github.com/kdave/btrfsmaintenance
 Source0:        %{name}-%{version}.tar.bz2
+Patch0:         python3-support-bsc1070322.diff
 BuildRequires:  systemd
 Requires:       btrfsprogs
 Requires:       python3-zypp-plugin
@@ -44,6 +45,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 

++++++ python3-support-bsc1070322.diff ++++++
As per explanation in https://bugzilla.suse.com/show_bug.cgi?id=1070322#c10
python3 must be called.
Index: btrfsmaintenance-0.4.1/btrfs-defrag-plugin.py
===================================================================
--- btrfsmaintenance-0.4.1.orig/btrfs-defrag-plugin.py
+++ btrfsmaintenance-0.4.1/btrfs-defrag-plugin.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 # This plugin defragments rpm files after update.
 #

Reply via email to