From 748d02e2dd312df0afa37f9b16e2f7bcd407f403 Mon Sep 17 00:00:00 2001 From: Denis Arnaud Date: Aug 09 2020 23:43:57 +0000 Subject: Removed the docdir work around (no longer needed) --- diff --git a/airrac.spec b/airrac.spec index ebd5c64..aa6996d 100644 --- a/airrac.spec +++ b/airrac.spec @@ -2,8 +2,6 @@ %undefine __cmake_in_source_build # -%global mydocs __tmp_docdir -# Name: airrac Version: 1.00.4 Release: 5%{?dist} @@ -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