From 64aba2ba73028186d419cec3f04caad18764b3b3 Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Apr 04 2024 21:51:59 +0000 Subject: Fix library target manipulation attempt by upstream. --- diff --git a/opencascade.spec b/opencascade.spec index d71a254..01140b7 100644 --- a/opencascade.spec +++ b/opencascade.spec @@ -5,7 +5,7 @@ Name: opencascade Version: 7.8.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: SDK intended for development of applications dealing with 3D CAD data License: LGPLv2+ with exception @@ -179,7 +179,7 @@ export DESTDIR="%{buildroot}" -D3RDPARTY_VTK_LIBRARY_DIR=%{_libdir} \ -D3RDPARTY_VTK_INCLUDE_DIR=%{_includedir} \ -DINSTALL_DIR_LIB=%{_lib} \ - -DINSTALL_DIR_CMAKE=%{_lib}/cmake/%{name} + -DINSTALL_DIR_CMAKE=%{_lib}/cmake/%{name} %cmake_build @@ -212,6 +212,9 @@ rm -f %{buildroot}%{_docdir}/%{name}/{LICENSE_LGPL_21.txt,OCCT_LGPL_EXCEPTION.tx # Fix non-executable shell scripts chmod 0755 %{buildroot}%{_bindir}/*.sh +# Fix library target manipulation attempt by upstream +sed -i "s/\\\\\${OCCT_INSTALL_BIN_LETTER}//g" %{buildroot}%{_libdir}/cmake/opencascade/*.cmake + %files foundation %doc README.txt @@ -317,6 +320,9 @@ chmod 0755 %{buildroot}%{_bindir}/*.sh %changelog +* Thu Apr 04 2024 Richard Shaw - 7.8.0-2 +- Fix library target manipulation attempt by upstream. + * Tue Feb 20 2024 Richard Shaw - 7.8.0-1 - Update to 7.8.0.