From bd741e4786c07b865e1e376b60a0d0ef55a7bc76 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 3 Aug 2021 09:58:34 -0500 Subject: [PATCH] better FTBFS fix Do not hard-code buildsys (make) or target dir, rely solely on cmake macro magic. --- lensfun.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lensfun.spec b/lensfun.spec index b19f41f..d8862bf 100644 --- a/lensfun.spec +++ b/lensfun.spec @@ -6,7 +6,7 @@ Name: lensfun Version: 0.3.2 Summary: Library to rectify defects introduced by photographic lenses -Release: 34%{?dist} +Release: 35%{?dist} License: LGPLv3 and CC-BY-SA 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 Patch200: lensfun-0.3.2-INSTALL_HELPER_SCRIPTS.patch -BuildRequires: make BuildRequires: cmake >= 2.8 BuildRequires: doxygen BuildRequires: gcc @@ -111,7 +110,7 @@ sed -i.shbang \ %cmake_build -make doc -C %{_vendor}-%{_target_os}-build +%cmake_build --target doc %install @@ -167,6 +166,9 @@ export CTEST_OUTPUT_ON_FAILURE=1 %changelog +* Tue Aug 03 2021 Rex Dieter - 0.3.2-35 +- better FTBFS fix + * Tue Aug 03 2021 Graham White - 0.3.2-34 - Fix FTBFS (#1987636)