Removed the docdir work around (no longer needed)
This commit is contained in:
parent
20ef33a8ee
commit
38a34ec834
16
rmol.spec
16
rmol.spec
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue