[ftop/el5/master] Second import in order to fix dist Tag (#679913).
sebelk
sebelk at fedoraproject.org
Mon Apr 4 21:55:06 UTC 2011
commit 458ba778b6befce0f19298a1a9a30e740b8a280d
Author: Sergio Belkin <sebelk at fedoraproject.org>
Date: Mon Apr 4 18:54:49 2011 -0300
Second import in order to fix dist Tag (#679913).
ftop.spec | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/ftop.spec b/ftop.spec
index 0c69b1f..2aabb88 100644
--- a/ftop.spec
+++ b/ftop.spec
@@ -1,6 +1,6 @@
Name: ftop
Version: 1.0
-Release: 3%{?dist}
+Release: 3%{?dist}.1
Summary: Utility that shows shows progress of open files and file systems
Group: Applications/System
@@ -12,9 +12,10 @@ Source0: http://ftop.googlecode.com/files/%{name}-%{version}.tar.bz2
#http://code.google.com/p/ftop/issues/list
Patch0: ftop-fix_buffer_overflow.patch
Patch1: ftop-fix_printf_format.patch
+#Only for el5
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: ncurses-devel
-
%description
Ftop is to files what top is to processes. The progress of all open files
file systems can be monitored.
@@ -37,9 +38,13 @@ make %{?_smp_mflags}
%install
+#Only for el5
+rm -rf %{buildroot}
make install DESTDIR=$RPM_BUILD_ROOT
-
+%clean
+#Only for el5
+rm -rf %{buildroot}
%files
More information about the scm-commits
mailing list