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
This commit is contained in:
parent
f9d25e8a03
commit
666f694d35
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Mar 15 00:00:00 CET 2018 - dsterba@suse.cz
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ License: GPL-2.0-only
|
|||||||
Group: System/Base
|
Group: System/Base
|
||||||
Url: https://github.com/kdave/btrfsmaintenance
|
Url: https://github.com/kdave/btrfsmaintenance
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
|
Patch0: python3-support-bsc1070322.diff
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
Requires: btrfsprogs
|
Requires: btrfsprogs
|
||||||
Requires: python3-zypp-plugin
|
Requires: python3-zypp-plugin
|
||||||
@ -44,6 +45,7 @@ for snapper).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
12
python3-support-bsc1070322.diff
Normal file
12
python3-support-bsc1070322.diff
Normal file
@ -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.
|
||||||
|
#
|
Loading…
Reference in New Issue
Block a user