81e95ea501
- Update to version 2.3.0. - Drop cadabra2-add-pthread-to-cxxflags.patch: No longer required for building. - Add cadabra2-python-modules-location.patch to fix location of python libs and modules (gh#kpeeters/cadabra2#203). - Rebase Fix-linking-of-cadabra-module.patch for update; only partially fixed by upstream (gh#kpeeters/cadabra2#202). - Remove a hashbang from a non-executable script. - Use %{name}-%{version} naming format for source. OBS-URL: https://build.opensuse.org/request/show/824547 OBS-URL: https://build.opensuse.org/package/show/science/cadabra2?expand=0&rev=33
24 lines
719 B
Diff
24 lines
719 B
Diff
From 71a406f32a654d2037b1d011f44af3fce4d9b50d Mon Sep 17 00:00:00 2001
|
|
From: Kasper Peeters <kasper.peeters@phi-sci.com>
|
|
Date: Fri, 13 Dec 2019 18:02:59 +0000
|
|
Subject: [PATCH] Fix linking of cadabra module.
|
|
|
|
---
|
|
cmake/version.cmake | 2 +-
|
|
core/CMakeLists.txt | 7 +++++--
|
|
2 files changed, 6 insertions(+), 3 deletions(-)
|
|
|
|
Index: cadabra2-2.3.0/core/CMakeLists.txt
|
|
===================================================================
|
|
--- cadabra2-2.3.0.orig/core/CMakeLists.txt
|
|
+++ cadabra2-2.3.0/core/CMakeLists.txt
|
|
@@ -294,7 +294,7 @@ target_link_libraries(cadabra2 PRIVATE
|
|
${GMPXX_LIBRARIES}
|
|
${GMP_LIBRARIES}
|
|
${Boost_LIBRARIES}
|
|
-# ${PYTHON_LIBRARIES}
|
|
+ ${PYTHON_LIBRARIES}
|
|
# ${GLIBMM3_LIBRARIES}
|
|
)
|
|
|