public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fcl] f45: Disable RPATH to fix FTBFS (rhbz#1987472)
@ 2026-11-18 15:36 Rich Mattes
  0 siblings, 0 replies; only message in thread
From: Rich Mattes @ 2026-11-18 15:36 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/fcl
Branch : f45
Commit : 8a87661e213fb76c16ef357145e1a51b196c0f1c
Author : Rich Mattes <richmattes@gmail.com>
Date   : 2021-07-31T21:11:22-04:00
Stats  : +11/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/fcl/c/8a87661e213fb76c16ef357145e1a51b196c0f1c?branch=f45

Log:
Disable RPATH to fix FTBFS (rhbz#1987472)

---
diff --git a/fcl.spec b/fcl.spec
index 4fe6173..4392e23 100644
--- a/fcl.spec
+++ b/fcl.spec
@@ -1,4 +1,6 @@
 %undefine __cmake_in_source_build
+%define soversion 0.6
+
 Name:           fcl
 Version:        0.6.1
 Release:        6%{?dist}
@@ -50,21 +52,22 @@ find . -type f -perm /111 -name "*.cpp" -print -exec chmod -x '{}' \;
 
 %build
 %cmake \
-  -DCMAKE_BUILD_TYPE=Release \
-  -DFCL_USE_X64_SSE=OFF
+  -DCMAKE_BUILD_TYPE=None \
+  -DFCL_USE_X64_SSE=OFF \
+  -DFCL_NO_DEFAULT_RPATH=OFF
 %cmake_build
 
 %install
 %cmake_install
 
 %check
-export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
-%ctest --verbose || exit 0
+%ctest --output-on-failure || exit 0
 
 %files
 %license LICENSE
 %doc README.md CHANGELOG.md
-%{_libdir}/*.so.*
+%{_libdir}/*.so.%{version}
+%{_libdir}/*.so.%{soversion}
 %{_datadir}/%{name}
 
 %files devel
@@ -74,6 +77,9 @@ export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
 %{_libdir}/*.so
 
 %changelog
+* Sat Jul 31 2021 Rich Mattes <richmattes@gmail.com> - 0.6.1-6
+- Disable RPATH to fix FTBFS (rhbz#1987472)
+
 * Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-18 15:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18 15:36 [rpms/fcl] f45: Disable RPATH to fix FTBFS (rhbz#1987472) Rich Mattes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox