better FTBFS fix
Do not hard-code buildsys (make) or target dir, rely solely on cmake macro magic.
This commit is contained in:
parent
73b8a2a3eb
commit
bd741e4786
@ -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 <rdieter@fedoraproject.org> - 0.3.2-35
|
||||
- better FTBFS fix
|
||||
|
||||
* Tue Aug 03 2021 Graham White <graham_alton@hotmail.com> - 0.3.2-34
|
||||
- Fix FTBFS (#1987636)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user