Removed the docdir work around (no longer needed)
This commit is contained in:
parent
f9ad429734
commit
748d02e2dd
11
airrac.spec
11
airrac.spec
@ -1,8 +1,6 @@
|
||||
# Force out of source build
|
||||
%undefine __cmake_in_source_build
|
||||
|
||||
#
|
||||
%global mydocs __tmp_docdir
|
||||
#
|
||||
Name: airrac
|
||||
Version: 1.00.4
|
||||
@ -29,7 +27,7 @@ functions, mainly targeting simulation purposes.
|
||||
|
||||
%{name} makes an extensive use of existing open-source libraries for
|
||||
increased functionality, speed and accuracy. In particular the
|
||||
Boost (C++ Standard Extensions: http://www.boost.org) library is used.
|
||||
Boost (C++ Standard Extensions: https://www.boost.org) library is used.
|
||||
|
||||
Install the %{name} package if you need a library of basic C++ objects
|
||||
for Airline Revenue Accounting, mainly for simulation purpose.
|
||||
@ -70,9 +68,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 Doxygen installer
|
||||
rm -f %{buildroot}%{_docdir}/%{name}/html/installdox
|
||||
|
||||
# Remove additional documentation files (those files are already available
|
||||
# in the project top directory)
|
||||
@ -101,7 +98,7 @@ 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
|
||||
%license COPYING
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user