[packages/iotop] - updated to 0.5 - requires python >= 2.7
kiesiu
kiesiu at pld-linux.org
Fri Mar 1 08:58:33 CET 2013
commit 50c6d8eb87cb4bd079cccdc18716415493e811c0
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date: Fri Mar 1 08:57:59 2013 +0100
- updated to 0.5
- requires python >= 2.7
iotop.spec | 22 ++++++----------------
1 file changed, 6 insertions(+), 16 deletions(-)
---
diff --git a/iotop.spec b/iotop.spec
index f5d0c3a..55e717d 100644
--- a/iotop.spec
+++ b/iotop.spec
@@ -2,22 +2,17 @@ Summary: Top like utility for I/O
Summary(hu.UTF-8): Top-szerű program I/O-hoz
Summary(pl.UTF-8): Narzędzie podobne do topa dla I/O
Name: iotop
-Version: 0.4.4
+Version: 0.5
Release: 1
License: GPL v2
Group: Applications/System
Source0: http://guichaz.free.fr/iotop/files/%{name}-%{version}.tar.bz2
-# Source0-md5: cdd38b276cbf238676f5d2bcf098ba9c
+# Source0-md5: b0846ad976f41bca2813f7f8a73fef31
URL: http://guichaz.free.fr/iotop/
-BuildRequires: python-devel
+BuildRequires: python-devel >= 1:2.7
BuildRequires: rpm-pythonprov
-%pyrequires_eq python-modules
-%if "%{py_ver}" >= "2.5"
-Requires: python >= 1:2.5
-%else
-Requires: python >= 1:2.4
-Requires: python-ctypes
-%endif
+Requires: python >= 1:2.7
+Requires: python-modules
Requires: uname(release) >= 2.6.20
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -48,13 +43,10 @@ procesów.
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
%{__python} setup.py install \
--optimize 2 \
--root=$RPM_BUILD_ROOT
-cp -p iotop.1 $RPM_BUILD_ROOT%{_mandir}/man1
-
%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_postclean
@@ -66,8 +58,6 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc NEWS THANKS
%attr(755,root,root) %{_bindir}/iotop
-%{_mandir}/man1/iotop.1*
+%{_mandir}/man8/iotop.8*
%{py_sitescriptdir}/iotop
-%if "%{py_ver}" > "2.4"
%{py_sitescriptdir}/*.egg-info
-%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/iotop.git/commitdiff/50c6d8eb87cb4bd079cccdc18716415493e811c0
More information about the pld-cvs-commit
mailing list