$ git show --format=fuller --patch-with-stat --summary ba37b96d0b32b4408026be9c4cfc6913f131dd5b
commit ba37b96d0b32b4408026be9c4cfc6913f131dd5b
Author: mandian <mandian@users.noreply.github.com>
AuthorDate: Tue Dec 31 13:26:50 2024 +0000
Commit: mandian <mandian@users.noreply.github.com>
CommitDate: Tue Dec 31 13:26:50 2024 +0000
workaround: permit rpath
---
freecad.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/freecad.spec b/freecad.spec
index f23e635..534eff3 100644
--- a/freecad.spec
+++ b/freecad.spec
@@ -26,7 +26,7 @@
Summary: FreeCAD is a general purpose 3D CAD modeler
Name: %{name}
Version: 1.0.0
-Release: %{?snapshot:0.%{snapshot}.}7
+Release: %{?snapshot:0.%{snapshot}.}8
License: GPL and LGPL
Group: Graphics
Url: https://freecadweb.org
@@ -220,6 +220,9 @@ rm -rf src/zipios++
-DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} \
-DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} \
-DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_SKIP_RPATH:BOOL=OFF \
+ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=OFF \
+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \
-DRESOURCEDIR=%{_datadir}/freecad \
-DFREECAD_QT_VERSION=6 \
-DFREECAD_USE_EXTERNAL_ZIPIOS:BOOL=%{?with_zipios:ON}%{!?with_zipios:OFF} \