We need python2 at build time ...

This commit is contained in:
Adel Gadllah 2015-11-15 22:57:37 +01:00
parent a332a85b59
commit 62f843d524
2 changed files with 1 additions and 9 deletions

View File

@ -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 <guichaz@gmail.com>, 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

View File

@ -17,6 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python
Requires: python3
%prep