commit 50b7cd2342886ca1c009c40b65381e086218a9eb
Author: Christopher Meng <i(a)cicku.me>
Date: Fri Jul 11 01:04:30 2014 +0800
Update to 1.5.1
.gitignore | 1 +
sources | 2 +-
tsung.spec | 33 ++++++++++++++++++++-------------
3 files changed, 22 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bddc9e8..22dfd02 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/tsung-1.5.0.tar.gz
+/tsung-1.5.1.tar.gz
diff --git a/sources b/sources
index 11e4645..c1b3b51 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6ce9801a6fbd4f42ebf21a038d490d12 tsung-1.5.0.tar.gz
+7759f94546b64adb185a38b3f3bf072f tsung-1.5.1.tar.gz
diff --git a/tsung.spec b/tsung.spec
index af09fb5..a943ee2 100644
--- a/tsung.spec
+++ b/tsung.spec
@@ -1,46 +1,50 @@
-#Avoid installing arch-independent data into arch-dependent directory
+# Avoid installing arch-independent data into arch-dependent directory
+# MUST for Erlang packages.
%global debug_package %{nil}
Name: tsung
-Version: 1.5.0
-Release: 4%{?dist}
+Version: 1.5.1
+Release: 1%{?dist}
Summary: A distributed multi-protocol load testing tool
License: GPLv2
URL:
http://tsung.erlang-projects.org/
Source0:
http://tsung.erlang-projects.org/dist/%{name}-%{version}.tar.gz
BuildRequires: erlang
Requires: erlang
-Requires: perl(Template)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
%description
tsung is a distributed load testing tool. It is protocol-independent and can
currently be used to stress and benchmark HTTP, Jabber/XMPP, PostgreSQL,
MySQL and LDAP servers.
+
It simulates user behaviour using an XML description file, reports many
measurements in real time (statistics can be customized with transactions,
and graphics generated using gnuplot).
+
For HTTP, it supports 1.0 and 1.1, has a proxy mode to record sessions,
-supports GET and POST methods, Cookies, and Basic WWW-authentication.
+supports GET and POST methods, Cookies, and Basic WWW-authentication.
+
It also has support for SSL.
%prep
%setup -q
-iconv -f ISO-8859-1 -t UTF-8 CONTRIBUTORS > CONTRIBUTORS.new && \
-touch -r CONTRIBUTORS CONTRIBUTORS.new && \
-mv CONTRIBUTORS.new CONTRIBUTORS
-sed -i 's/\r$//' examples/*
+# Fix bogus shebangs.
+sed -i 's|/usr/bin/env bash|/bin/bash|' *.sh.in
+sed -i 's| /usr/bin/env python|%{__python2}|' src/tsung-plotter/tsplot.py.in
+sed -i 's|/usr/bin/env perl|%{__perl}|' src/log2tsung.pl.in
%build
%configure
-make %{?_smp_mflags}
+%make_build
%install
-make install DESTDIR=%{buildroot}
+%make_install
# Fix versioned/unversioned docdir
-rm -rf %{buildroot}%{_defaultdocdir}
+rm -frv %{buildroot}%{_docdir}
%files
-%doc CHANGES CONTRIBUTORS COPYING README TODO
+%doc CHANGES CONTRIBUTORS COPYING README* TODO
%{_bindir}/%{name}*
%{_bindir}/tsplot
%{_libdir}/erlang/lib/*
@@ -50,6 +54,9 @@ rm -rf %{buildroot}%{_defaultdocdir}
%{_mandir}/man1/tsplot.1*
%changelog
+* Thu Jul 10 2014 Christopher Meng <rpm(a)cicku.me> - 1.5.1-1
+- Update to 1.5.1
+
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.5.0-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild