diff --git a/cadabra2-2.4.5.4.tar.gz b/cadabra2-2.4.5.4.tar.gz deleted file mode 100644 index b30203f..0000000 --- a/cadabra2-2.4.5.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ed60935e67e77de2c7e4ed2655aaa764cdeb194db4693dbb77c01fb3945b273e -size 26825874 diff --git a/cadabra2-2.4.5.6.tar.gz b/cadabra2-2.4.5.6.tar.gz new file mode 100644 index 0000000..1f46441 --- /dev/null +++ b/cadabra2-2.4.5.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a3ebe3debd6efdd5f20a3c78acc2ef8933135d5f43da39b6ea107be94a9413c +size 26827151 diff --git a/cadabra2-link-python.patch b/cadabra2-link-python.patch index eb53c34..fec8e89 100644 --- a/cadabra2-link-python.patch +++ b/cadabra2-link-python.patch @@ -1,7 +1,7 @@ -Index: cadabra2-2.4.5.4/core/CMakeLists.txt +Index: cadabra2-2.4.5.6/core/CMakeLists.txt =================================================================== ---- cadabra2-2.4.5.4.orig/core/CMakeLists.txt -+++ cadabra2-2.4.5.4/core/CMakeLists.txt +--- cadabra2-2.4.5.6.orig/core/CMakeLists.txt ++++ cadabra2-2.4.5.6/core/CMakeLists.txt @@ -294,7 +294,7 @@ target_link_libraries(cadabra2 PRIVATE ${GMPXX_LIBRARIES} ${GMP_LIBRARIES} @@ -11,10 +11,10 @@ Index: cadabra2-2.4.5.4/core/CMakeLists.txt # ${GLIBMM3_LIBRARIES} ) -Index: cadabra2-2.4.5.4/core/packages/CMakeLists.txt +Index: cadabra2-2.4.5.6/core/packages/CMakeLists.txt =================================================================== ---- cadabra2-2.4.5.4.orig/core/packages/CMakeLists.txt -+++ cadabra2-2.4.5.4/core/packages/CMakeLists.txt +--- cadabra2-2.4.5.6.orig/core/packages/CMakeLists.txt ++++ cadabra2-2.4.5.6/core/packages/CMakeLists.txt @@ -66,8 +66,7 @@ foreach(PACKAGE ${COMPILED_PACKAGES}) set_target_properties(${PNAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/cdb/${PINSTALL}") set_target_properties(${PNAME} PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/cdb/${PINSTALL}") @@ -23,5 +23,5 @@ Index: cadabra2-2.4.5.4/core/packages/CMakeLists.txt - target_link_libraries(${PNAME} PUBLIC cadabra2 ${GMPXX_LIBRARIES}) + target_link_libraries(${PNAME} PUBLIC cadabra2 ${PYTHON_LIBRARIES} ${GMPXX_LIBRARIES} ${GMP_LIBRARIES}) target_include_directories(${PNAME} PUBLIC ${CADABRA_CORE_DIR}) - install(TARGETS ${PNAME} DESTINATION ${PYTHON_CDB_PACKAGE_PATH}/${PINSTALL}) - endforeach() + + if(IPO_SUPPORTED) diff --git a/cadabra2.changes b/cadabra2.changes index fe74b23..dc58cc1 100644 --- a/cadabra2.changes +++ b/cadabra2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 18 19:37:14 UTC 2024 - Atri Bhattacharya + +- Update to version 2.4.5.6: + * Allow setting PYTHON_SITE_PATH manually. + ------------------------------------------------------------------- Thu Jan 25 18:20:58 UTC 2024 - Atri Bhattacharya diff --git a/cadabra2.spec b/cadabra2.spec index d28a511..984ae7f 100644 --- a/cadabra2.spec +++ b/cadabra2.spec @@ -18,7 +18,7 @@ %bcond_without tests Name: cadabra2 -Version: 2.4.5.4 +Version: 2.4.5.6 Release: 0 Summary: A computer algebra system for solving problems in field theory License: GPL-3.0-or-later @@ -46,7 +46,7 @@ BuildRequires: libboost_system-devel BuildRequires: libuuid-devel BuildRequires: pcre-devel BuildRequires: pkgconfig -BuildRequires: python3-devel >= 3.8 +BuildRequires: python3-devel >= 3.9 BuildRequires: python3-gobject-devel BuildRequires: python3-ipykernel BuildRequires: python3-matplotlib @@ -171,7 +171,7 @@ cd .. install -D -m0644 %{S:1} %{buildroot}%{_datadir}/metainfo/%{name}-gtk.appdata.xml # Replace "/usr/bin/env python3" hashbang by "/usr/bin/python3" -sed -E -i "s|^#!/usr/bin/env python3|#!/usr/bin/python3|" %{buildroot}%{_bindir}/cadabra2 +%python3_fix_shebang mkdir -p %{buildroot}%{_datadir}/texmf/tex/latex/cadabra2/ ln %{buildroot}%{_datadir}/cadabra2/latex/* %{buildroot}%{_datadir}/texmf/tex/latex/cadabra2/