[slowhttptest/el5] update for el5

Fabian Affolter fab at fedoraproject.org
Tue Jul 15 15:54:34 UTC 2014


commit 09f794b6beafae6d8fa644aee8e7e65f0fc05873
Author: Fabian Affolter <fab at fedoraproject.org>
Date:   Tue Jul 15 17:52:14 2014 +0200

    update for el5

 slowhttptest.spec |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/slowhttptest.spec b/slowhttptest.spec
index 85fc40a..fbe5cb0 100644
--- a/slowhttptest.spec
+++ b/slowhttptest.spec
@@ -3,9 +3,11 @@ Version:        1.6
 Release:        2%{?dist}
 Summary:        An Application Layer DoS attack simulator
 
+Group:          Applications/System
 License:        ASL 2.0
 URL:            http://code.google.com/p/slowhttptest/
 Source0:        http://slowhttptest.googlecode.com/files/%{name}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  openssl-devel
 
@@ -25,9 +27,14 @@ and CPU usage on the server.
 make %{?_smp_mflags} CFLAGS="%{optflags}"
 
 %install
+rm -rf %{buildroot}
 make install DESTDIR=%{buildroot} INSTALL="install -p"
 
+%clean
+rm -rf %{buildroot}
+
 %files
+%defattr(-,root,root,-)
 %{_mandir}/man*/*.*
 %{_bindir}/%{name}
 


More information about the scm-commits mailing list