From 4739fba6aada105c3a5fa228d7ed1ea735ab0d14 Mon Sep 17 00:00:00 2001 From: Denis Arnaud Date: Aug 09 2020 20:26:49 +0000 Subject: Removed the docdir work around (no longer needed) --- diff --git a/trademgen.spec b/trademgen.spec index e6de5d3..fa04906 100644 --- a/trademgen.spec +++ b/trademgen.spec @@ -1,6 +1,3 @@ -# -%global mydocs __tmp_docdir - # Build -python subpackage %bcond_without python @@ -89,10 +86,8 @@ This package contains Python libraries for %{name} # Remove extra libraries, which are generated only for the tests rm -f %{buildroot}%{_libdir}/libsequential_generation*.so* -# -mkdir -p %{mydocs} -mv %{buildroot}%{_docdir}/%{name}/html %{mydocs} -rm -f %{mydocs}/html/installdox +# Remove the Doxygen installer +rm -f %{buildroot}%{_docdir}/%{name}/html/installdox # Remove additional documentation files (those files are already available # in the project top directory) @@ -131,8 +126,8 @@ rm -f %{buildroot}%{_docdir}/%{name}/{NEWS,README,AUTHORS} %{_mandir}/man3/%{name}-library.3.* %files doc -%doc %{mydocs}/html -%doc COPYING +%doc %{_docdir}/%{name}/html +%license COPYING %if %{with python} %files -n python3-%{name}