fix build

This commit is contained in:
drago01 2007-12-28 14:27:57 +00:00
parent fc5c54536b
commit 2c2f0cc6ba

View File

@ -1,6 +1,6 @@
Name: iotop Name: iotop
Version: 0.1 Version: 0.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: Top like utility for I/O Summary: Top like utility for I/O
Group: Applications/System Group: Applications/System
@ -14,8 +14,10 @@ BuildArch: noarch
Requires: python Requires: python
%prep %prep
cp -p %{SOURCE0} .
%patch0 -p0 -b .xterm-color %patch0 -p0 -b .xterm-color
%build %build
%description %description
@ -28,7 +30,7 @@ show of behalf of which process is the I/O going on.
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -p -m 0755 %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/iotop install -p -m 0755 iotop.py $RPM_BUILD_ROOT%{_bindir}/iotop
%clean %clean
@ -41,6 +43,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Dec 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.1-3
- Fix build issue
* Fri Dec 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.1-2 * Fri Dec 28 2007 Adel Gadllah <adel.gadllah@gmail.com> 0.1-2
- Fix traceback on xterm-color RH #400071 - Fix traceback on xterm-color RH #400071