Revisions of btrfsmaintenance

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.
+ #
Frederic Crozat's avatar Frederic Crozat (fcrozat) committed (revision 7)
- update to version 0.4.1
  - defrag plugin: python2 and 3 compatibility
  - defrag plugin: target extent size lowered to 32MiB (#43)
  - shell compatibility fixes
  - systemd unit type fixes
- Removed patch: python3-support-bsc1070322.diff (upstream)

- Add missing btrfsmaintenance-refresh.path [bsc#1084871]
- Use %license [bsc#1082318]

- Added patch: python3-support-bsc1070322.diff
Stefan Behlert's avatar Stefan Behlert (sbehlert) committed (revision 6)
- Move the defrag plugin over to Python 3. (bsc#1070322)
Stefan Behlert's avatar Stefan Behlert (sbehlert) committed (revision 5)
Automatic request from openSUSE.org:openSUSE:Factory by UpdateCrawler
Stefan Behlert's avatar Stefan Behlert (sbehlert) committed (revision 4)
Automatic request from openSUSE.org:openSUSE:Factory by UpdateCrawler
Stefan Behlert's avatar Stefan Behlert (sbehlert) committed (revision 3)
Automatic request from openSUSE.org:openSUSE:Factory by UpdateCrawler
Stefan Behlert's avatar Stefan Behlert (sbehlert) committed (revision 2)
Automatic request from openSUSE.org:openSUSE:Factory by UpdateCrawler
Ruediger Oertel's avatar Ruediger Oertel (oertel) committed (revision 1)
osc copypac from project:SUSE:Factory:Head package:btrfsmaintenance revision:8
Displaying all 8 revisions
openSUSE Build Service is sponsored by