Removed the docdir work around (no longer needed)

This commit is contained in:
Denis Arnaud 2020-08-09 21:07:18 +02:00
parent 8fa8da3c46
commit efa8dde845
1 changed files with 7 additions and 7 deletions

View File

@ -1,10 +1,8 @@
#
%global mydocs __tmp_docdir
#
Name: travelccm
%global sfname travel-ccm
Version: 1.00.5
Release: 4%{?dist}
Release: 5%{?dist}
Summary: C++ Travel Customer Choice Model (CCM) Library
@ -86,9 +84,8 @@ online (http://%{name}.org).
%install
%cmake_install
mkdir -p %{mydocs}
mv $RPM_BUILD_ROOT%{_docdir}/%{name}/html %{mydocs}
rm -f %{mydocs}/html/installdox
# Remove the installer generated by Doxygen
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/html/installdox
# Remove additional documentation files (those files are already available
# in the project top directory)
@ -117,11 +114,14 @@ rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README.md,AUTHORS}
%{_mandir}/man3/%{name}-library.3.*
%files doc
%doc %{mydocs}/html
%doc %{_docdir}/%{name}/html
%doc COPYING
%changelog
* Sun Aug 09 2020 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.5-5
- Rebuild for CMake out of source change
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild