#1 Fix FTBFS #1864096
Merged 3 years ago by rdieter. Opened 3 years ago by c72578.
rpms/ c72578/lucene++ 2020-08-04_Fix_FTBS_1864096  into  master

file modified
+7 -9
@@ -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 @@ 

  

  

  %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 @@ 

  

  

  %changelog

+ * Tue Aug 04 2020 Wolfgang Stöggl <c72578@yahoo.de> - 3.0.7-27

+ - Use %%cmake_build and %%cmake_install macros to fix FTBFS (#1864096)

+ 

  * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.7-26

  - Second attempt - Rebuilt for

    https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

  • Use %%cmake_build and %%cmake_install macros to fix FTBFS (#1864096)

Successful Koji scratch build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=48585760

Background info, relevant change:
Changes/CMake to do out-of-source builds
https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds

Pull-Request has been merged by rdieter

3 years ago