[tsung] Fix versioned/unversioned docdir

Peter Lemenkov peter at fedoraproject.org
Sun Sep 1 06:53:18 UTC 2013


commit d071c678bd0a2cf788db7ec314dbdca4c192a19a
Author: Peter Lemenkov <lemenkov at gmail.com>
Date:   Sun Sep 1 10:53:04 2013 +0400

    Fix versioned/unversioned docdir
    
    Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>

 tsung.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/tsung.spec b/tsung.spec
index ed926f4..7ebe320 100644
--- a/tsung.spec
+++ b/tsung.spec
@@ -3,7 +3,7 @@
 
 Name:           tsung
 Version:        1.5.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A distributed multi-protocol load testing tool
 License:        GPLv2
 URL:            http://tsung.erlang-projects.org/
@@ -36,6 +36,8 @@ make %{?_smp_mflags}
 
 %install
 make install DESTDIR=%{buildroot}
+# Fix versioned/unversioned docdir
+rm -rf %{buildroot}%{_defaultdocdir}
 
 %files
 %doc CHANGES CONTRIBUTORS COPYING README TODO
@@ -46,9 +48,11 @@ make install DESTDIR=%{buildroot}
 %{_datadir}/%{name}/
 %{_mandir}/man1/%{name}*.1*
 %{_mandir}/man1/tsplot.1*
-#%{_defaultdocdir}/%{name}/
 
 %changelog
+* Sun Sep 01 2013 Peter Lemenkov <lemenkov at gmail.com> - 1.5.0-3
+- Fix versioned/unversioned docdir
+
 * Fri Aug 02 2013 Christopher Meng <rpm at cicku.me> - 1.5.0-2
 - Fix wrong syntaxs of files.
 


More information about the scm-commits mailing list