diff --git a/iotop-0.6-python3.patch b/iotop-0.6-python3.patch new file mode 100644 index 0000000..eeaf47e --- /dev/null +++ b/iotop-0.6-python3.patch @@ -0,0 +1,9 @@ +diff -ru iotop-0.6.orign/sbin/iotop iotop-0.6/sbin/iotop +--- iotop-0.6.orign/sbin/iotop 2013-05-27 00:44:18.000000000 +0200 ++++ iotop-0.6/sbin/iotop 2015-11-15 22:31:39.978094119 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python3 + # 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 --git a/iotop.spec b/iotop.spec index 4d7ef61..264295e 100644 --- a/iotop.spec +++ b/iotop.spec @@ -1,7 +1,7 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: iotop Version: 0.6 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Top like utility for I/O Group: Applications/System @@ -11,16 +11,18 @@ Source0: http://guichaz.free.fr/iotop/files/%{name}-%{version}.tar.bz2 # rhbz#1035503 Patch1: iotop-0.6-noendcurses.patch +Patch2: iotop-0.6-python3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: python-devel -Requires: python +BuildRequires: python3-devel +Requires: python3 %prep %setup %patch1 -p1 -b .noendcurses +%patch2 -p1 -b .python3 %build %{__python} setup.py build @@ -49,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT %{python_sitelib}/* %changelog +* Sun Nov 15 2015 Adel Gadllah - 0.6-7 +- Rebuilt with python3 - RH#1282262 + * Wed Jun 17 2015 Fedora Release Engineering - 0.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild