[trademgen] Fixed the docdir issue, following the F20 System Wide Change

Denis Arnaud denisarnaud at fedoraproject.org
Mon Jul 29 18:58:58 UTC 2013


commit e2389e034d248f3ec913236a16ba308a766e4bae
Author: Denis Arnaud <denis.arnaud_fedora at m4x.org>
Date:   Mon Jul 29 21:58:27 2013 +0300

    Fixed the docdir issue, following the F20 System Wide Change

 trademgen.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/trademgen.spec b/trademgen.spec
index b9688d5..306ec8a 100644
--- a/trademgen.spec
+++ b/trademgen.spec
@@ -3,7 +3,7 @@
 #
 Name:           trademgen
 Version:        1.00.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 
 Summary:        C++ Simulated Travel Demand Generation Library
 
@@ -76,7 +76,11 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libsequential_generation*.so*
 #
 mkdir -p %{mydocs}
 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs}
-rm -rf %{mydocs}/html/installdox $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+rm -f %{mydocs}/html/installdox
+
+# Remove additional documentation files (those files are already available
+# in the project top directory)
+rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{NEWS,README,AUTHORS}
 
 %check
 ctest
@@ -127,6 +131,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Jul 29 2013 Denis Arnaud <denis.arnaud_fedora at m4x.org> - 1.00.0-5
+- Fixed the docdir issue, following the F20 System Wide Change
+
 * Sat Jul 27 2013 Ville Skyttä <ville.skytta at iki.fi> - 1.00.0-4
 - Fix build when %%doc dir is not versioned.
 


More information about the scm-commits mailing list