From cb596fd125a701d86fda4dde111742db99d6f2a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?= Date: Tue, 4 Aug 2020 06:35:27 +0200 Subject: [PATCH] Fix FTBFS #1864096 - Use %%cmake_build and %%cmake_install macros to fix FTBFS (#1864096) --- lucene++.spec | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/lucene++.spec b/lucene++.spec index 51f8067..15b528d 100644 --- a/lucene++.spec +++ b/lucene++.spec @@ -2,7 +2,7 @@ Name: lucene++ Summary: A high-performance, full-featured text search engine written in C++ Version: 3.0.7 -Release: 26%{?dist} +Release: 27%{?dist} License: ASL 2.0 or LGPLv3+ Url: https://github.com/luceneplusplus/LucenePlusPlus @@ -37,17 +37,12 @@ Development files for lucene++, a high-performance, full-featured text search en %build -mkdir %{_target_platform} -pushd %{_target_platform} -%cmake .. \ - -DCMAKE_BUILD_TYPE:String="release" - -%make_build lucene++ lucene++-contrib -popd +%cmake -DCMAKE_BUILD_TYPE:String="release" +%cmake_build --target lucene++ lucene++-contrib %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install %ldconfig_scriptlets @@ -69,6 +64,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Tue Aug 04 2020 Wolfgang Stöggl - 3.0.7-27 +- Use %%cmake_build and %%cmake_install macros to fix FTBFS (#1864096) + * Sat Aug 01 2020 Fedora Release Engineering - 3.0.7-26 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild