better FTBFS fix

Do not hard-code buildsys (make) or target dir,
rely solely on cmake macro magic.
This commit is contained in:
Rex Dieter 2021-08-03 09:58:34 -05:00
parent 73b8a2a3eb
commit bd741e4786

View File

@ -6,7 +6,7 @@
Name: lensfun Name: lensfun
Version: 0.3.2 Version: 0.3.2
Summary: Library to rectify defects introduced by photographic lenses Summary: Library to rectify defects introduced by photographic lenses
Release: 34%{?dist} Release: 35%{?dist}
License: LGPLv3 and CC-BY-SA License: LGPLv3 and CC-BY-SA
URL: https://lensfun.github.io/ URL: https://lensfun.github.io/
@ -27,7 +27,6 @@ Patch866: 0866-Pull-isnan-into-std-namespace-include-cmath-not-math.patch
# install manpages only when INSTALL_HELPER_SCRIPTS=ON # install manpages only when INSTALL_HELPER_SCRIPTS=ON
Patch200: lensfun-0.3.2-INSTALL_HELPER_SCRIPTS.patch Patch200: lensfun-0.3.2-INSTALL_HELPER_SCRIPTS.patch
BuildRequires: make
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: gcc BuildRequires: gcc
@ -111,7 +110,7 @@ sed -i.shbang \
%cmake_build %cmake_build
make doc -C %{_vendor}-%{_target_os}-build %cmake_build --target doc
%install %install
@ -167,6 +166,9 @@ export CTEST_OUTPUT_ON_FAILURE=1
%changelog %changelog
* Tue Aug 03 2021 Rex Dieter <rdieter@fedoraproject.org> - 0.3.2-35
- better FTBFS fix
* Tue Aug 03 2021 Graham White <graham_alton@hotmail.com> - 0.3.2-34 * Tue Aug 03 2021 Graham White <graham_alton@hotmail.com> - 0.3.2-34
- Fix FTBFS (#1987636) - Fix FTBFS (#1987636)