Removed the docdir work around (no longer needed)

This commit is contained in:
Denis Arnaud 2020-08-09 22:08:50 +02:00
parent 20ef33a8ee
commit 38a34ec834
1 changed files with 6 additions and 10 deletions

View File

@ -1,6 +1,3 @@
#
%global mydocs __tmp_docdir
# Build -python subpackage
%bcond_without python
@ -86,15 +83,14 @@ This package contains Python libraries for %{name}
%build
%cmake .
%make_build
%cmake
%cmake_build
%install
%make_install
%cmake_install
mkdir -p %{mydocs}
mv %{buildroot}%{_docdir}/%{name}/html %{mydocs}
rm -f %{mydocs}/html/installdox
# Removed the Doxygen installer
rm -f %{buildroot}%{_docdir}/%{name}/html/installdox
# Remove additional documentation files (those files are already available
# in the project top directory)
@ -137,7 +133,7 @@ rm -f %{_bindir}/py%{name}
%{_mandir}/man3/%{name}-library.3.*
%files doc
%doc %{mydocs}/html
%doc %{_docdir}/%{name}/html
%doc COPYING
%if %{with python}