[iotop/el5/master] - package iotop for EPEL-5

Michal Hlavinka mhlavink at fedoraproject.org
Mon Oct 4 09:24:30 UTC 2010


commit e2d5187470b067e664e3d69b67fae52d78be7896
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Mon Oct 4 11:24:34 2010 +0200

    - package iotop for EPEL-5

 .gitignore |    1 +
 iotop.spec |   74 +++++++++++++++++------------------------------------------
 sources    |    2 +-
 3 files changed, 24 insertions(+), 53 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b7cb518..472465a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 iotop-0.4.tar.bz2
+/iotop-0.4.1.tar.bz2
diff --git a/iotop.spec b/iotop.spec
index 4c4937c..f386238 100644
--- a/iotop.spec
+++ b/iotop.spec
@@ -1,21 +1,28 @@
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 Name: iotop
-Version: 0.4       
-Release: 2%{?dist}
-Summary: Top like utility for I/O       
+Version: 0.4.1
+Release: 1%{?dist}
+Summary: Top like utility for I/O 
 
-Group: Applications/System          
-License: GPLv2        
-URL: http://guichaz.free.fr/iotop/            
-Source0: http://guichaz.free.fr/iotop/files/%{name}-%{version}.tar.bz2 
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Group: Applications/System
+License: GPLv2
+URL: http://guichaz.free.fr/iotop/
+Source0: http://guichaz.free.fr/iotop/files/%{name}-%{version}.tar.bz2
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 BuildArch: noarch
 BuildRequires: python-devel
-Requires: python
-      
+BuildRequires: python-setuptools
+
+Requires: python python-ctypes
+Requires: kernel >= 2.6.18-199
+
+# rhel only, use new kernel command to prevent kABI breakage
+Patch0: iotop-0.4-v4-cmd.patch
+
 %prep
-%setup
+%setup -q
+%patch0 -p1 -b .v4-cmd
 
 %build
 %{__python} setup.py build
@@ -38,48 +45,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING NEWS THANKS
+%doc COPYING NEWS README THANKS
 %{_bindir}/iotop
 %{_mandir}/man1/iotop.1.*
 %{python_sitelib}/*
 
 %changelog
-* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.4-2
-- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
-
-* Tue Jan 12 2010 Adel Gadllah <adel.gadllah at gmail.com> 0.4-1
-- New upstream version
-
-* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
-
-* Tue May 19 2009 Adel Gadllah <adel.gadllah at gmail.com> 0.3-1
-- New upstream version
-- fixes RH #475917
-
-* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.1-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-
-* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 0.2.1-2
-- Rebuild for Python 2.6
-
-* Wed Jul 09 2008 Adel Gadllah <adel.gadllah at gmail.com> 0.2.1-1
-- Update to 0.2.1
-
-* Mon Jul 07 2008 Adel Gadllah <adel.gadllah at gmail.com> 0.2-2
-- New upstream tarball..
-
-* Mon May 26 2008 Adel Gadllah <adel.gadllah at gmail.com> 0.2-1
-- Update to new upstream version
-
-* Fri Dec 28 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.1-3
-- Fix build issue
-
-* Fri Dec 28 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.1-2
-- Fix traceback on xterm-color RH #400071
-
-* Sun Nov 3 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.1-1
-- Fix version
-
-* Sun Nov 3 2007 Adel Gadllah <adel.gadllah at gmail.com> 20070930-1
-- Initial Build
+* Wed Jun 09 2010 Michal Hlavinka <mhlavink at redhat.com> - 0.4.1-1
+- package iotop for EPEL-5
diff --git a/sources b/sources
index 1301537..57ed19d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3607f8b77ed6686efd9a4a7e6c135ceb  iotop-0.4.tar.bz2
+36c412f201c933eabae64ce0556a56c7  iotop-0.4.1.tar.bz2


More information about the scm-commits mailing list