btrfsmaintenance/python3-support-bsc1070322.diff
Stanislav Brabec 666f694d35 Accepting request 596371 from home:LPechacek:branches:filesystems
- In openSUSE the defrag plugin must explicitly refer to Python 3.
  (bsc#1070322)
- Added patch: python3-support-bsc1070322.diff

OBS-URL: https://build.opensuse.org/request/show/596371
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsmaintenance?expand=0&rev=40
2018-05-15 17:45:55 +00:00

13 lines
437 B
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.
#