From 62f843d524fdf9ca43ea250c2ba387d8c3fd8043 Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Sun, 15 Nov 2015 22:57:37 +0100 Subject: [PATCH] We need python2 at build time ... --- iotop-0.6-python3.patch | 9 --------- iotop.spec | 1 + 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/iotop-0.6-python3.patch b/iotop-0.6-python3.patch index d6952f6..550a194 100644 --- a/iotop-0.6-python3.patch +++ b/iotop-0.6-python3.patch @@ -7,12 +7,3 @@ diff -ru iotop-0.6.orign/sbin/iotop iotop-0.6/sbin/iotop # iotop: Display I/O usage of processes in a top like UI # Copyright (c) 2007, 2008 Guillaume Chazarain , GPLv2 # See iotop --help for some help -diff -ru iotop-0.6.orign/setup.py iotop-0.6/setup.py ---- iotop-0.6.orign/setup.py 2013-05-27 00:44:18.000000000 +0200 -+++ iotop-0.6/setup.py 2015-11-15 22:47:19.431004659 +0100 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python3 - - from distutils.core import setup - from distutils.command import install as distutils_install diff --git a/iotop.spec b/iotop.spec index 5f025de..4e4b25e 100644 --- a/iotop.spec +++ b/iotop.spec @@ -17,6 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python3-devel +BuildRequires: python Requires: python3 %prep