btrfsmaintenance

Edit Package btrfsmaintenance
No description set
Refresh
Refresh
Source Files
Filename Size Changed
btrfsmaintenance-0.4.1.tar.bz2 0000017714 17.3 KB
btrfsmaintenance.changes 0000006772 6.61 KB
btrfsmaintenance.spec 0000005198 5.08 KB
python3-support-bsc1070322.diff 0000000437 437 Bytes
Latest Revision
Stefan Behlert's avatar Stefan Behlert (sbehlert) committed (revision 8)
Defrag plugin must explicitly refer to Python 3.
(bsc#1070322)

old: SUSE:SLE-15:GA/btrfsmaintenance
new: openSUSE.org:home:LPechacek:branches:filesystems/btrfsmaintenance rev 02015083ef7bd7c7165c901be783e547
Index: btrfsmaintenance.changes
===================================================================
--- btrfsmaintenance.changes (revision 7)
+++ btrfsmaintenance.changes (revision 02015083ef7bd7c7165c901be783e547)
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Fri Apr 13 13:48:40 UTC 2018 - lpechacek@suse.com
+
+- In openSUSE the defrag plugin must explicitly refer to Python 3.
+  (bsc#1070322)
+- Added patch: python3-support-bsc1070322.diff
+
+-------------------------------------------------------------------
 Thu Mar 15 00:00:00 CET 2018 - dsterba@suse.cz
 
 - update to version 0.4.1
Index: btrfsmaintenance.spec
===================================================================
--- btrfsmaintenance.spec (revision 7)
+++ btrfsmaintenance.spec (revision 02015083ef7bd7c7165c901be783e547)
@@ -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
 
Index: python3-support-bsc1070322.diff
===================================================================
--- python3-support-bsc1070322.diff (added)
+++ python3-support-bsc1070322.diff (revision 02015083ef7bd7c7165c901be783e547)
@@ -0,0 +1,12 @@
+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.
+ #
Comments 0
openSUSE Build Service is sponsored by