Hello community, here is the log from the commit of package cadabra2 for openSUSE:Factory checked in at 2018-04-20 17:26:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cadabra2 (Old) and /work/SRC/openSUSE:Factory/.cadabra2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cadabra2" Fri Apr 20 17:26:15 2018 rev:8 rq:595105 version:2.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/cadabra2/cadabra2.changes 2018-03-29 11:53:54.322072841 +0200 +++ /work/SRC/openSUSE:Factory/.cadabra2.new/cadabra2.changes 2018-04-20 17:26:30.292990663 +0200 @@ -1,0 +2,41 @@ +Mon Apr 9 01:46:11 UTC 2018 - [email protected] + +- BuildRequires: libboost_date_time-devel instead of + BuildRequires: libboost_date_time1_66_0-devel, and only for + openSUSE > 1320; boost-devel in its entirety is already required + for older versions. +- gcc-c++ >= 4.9 now required. + +------------------------------------------------------------------- +Fri Mar 30 10:21:17 UTC 2018 - [email protected] + +- Update to version 2.2.0: + * Experimental support for modifying the expression tree + directly from Python (see e.g. Fourier transforms). + * Fix for integration by parts (gh#kpeeters/cadabra2#71) + * Fix for incorrect conversion to sympy expressions. + * Optionally build with support for Mathematica scalar backend; + see map_mma. + * Many bugfixes for expression display and sympy conversion. + * Now using pybind instead of boost.python, in preparation for + * Windows port, and to enable building against Anaconda. + * Copy/paste of output cells added. + * New simplify command, which simplifies the scalar parts of + expressions, and can be switched to use either Sympy or + Mathematica. + * Fix to treat derivatives with respect to explicit coordinates + as scalars in evaluate; see this Q&A post. + * Fix for failure to flag errors for WeightInherit property. + * Fixed: vary on single-term expressions + * (gh#kpeeters/cadabra2#57) + * Fixed: evaluate with dense factors and no 'values' property on + indices (gh#kpeeters/cadabra2#68) +- Rename and rebase cadabra2-2.1.7.patch to + cadabra2-add-pthread-to-cxxflags.patch. +- Add BuildRequires: libboost_date_time1_66_0-devel, new + dependency with version 2.2.0. +- All python bindings are now required to be installed in + _datadir. +- New binary cadabra2cadabra. + +------------------------------------------------------------------- Old: ---- 2.1.7.tar.gz cadabra2-2.1.7.patch New: ---- 2.2.0.tar.gz cadabra2-add-pthread-to-cxxflags.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cadabra2.spec ++++++ --- /var/tmp/diff_new_pack.Fb1u2o/_old 2018-04-20 17:26:31.316953532 +0200 +++ /var/tmp/diff_new_pack.Fb1u2o/_new 2018-04-20 17:26:31.320953387 +0200 @@ -17,21 +17,21 @@ Name: cadabra2 -Version: 2.1.7 +Version: 2.2.0 Release: 0 Summary: A computer algebra system for solving problems in field theory -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Scientific/Math Url: http://cadabra.science/ Source0: https://github.com/kpeeters/cadabra2/archive/%{version}.tar.gz Source1: %{name}-rpmlintrc Source2: %{name}-gtk.appdata.xml # PATCH-FIX-OPENSUSE add -pthread to CMAKE_CXX_FLAGS (as adivised in https://github.com/potree/PotreeConverter/issues/136) [email protected] -Patch1: cadabra2-2.1.7.patch +Patch1: cadabra2-add-pthread-to-cxxflags.patch BuildRequires: appstream-glib BuildRequires: cmake BuildRequires: doxygen -BuildRequires: gcc-c++ +BuildRequires: gcc-c++ >= 4.9 BuildRequires: gmp-devel BuildRequires: hicolor-icon-theme BuildRequires: libuuid-devel @@ -76,6 +76,7 @@ Recommends: %{name}-examples BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} > 1320 +BuildRequires: libboost_date_time-devel BuildRequires: libboost_filesystem-devel BuildRequires: libboost_headers-devel BuildRequires: libboost_program_options-devel @@ -199,6 +200,11 @@ # Replace "/usr/bin/env python3" hashbang by "/usr/bin/python3" sed -E -i "s|^#!/usr/bin/env python3|#!/usr/bin/python3|" %{buildroot}%{_bindir}/cadabra2 +rm %{buildroot}%{_libexecdir}/*.a + +mkdir -p %{buildroot}%{_datadir}/texmf/tex/latex/cadabra2/ +ln %{buildroot}%{_datadir}/cadabra2/latex/* %{buildroot}%{_datadir}/texmf/tex/latex/cadabra2/ + %post # FIXME: ENABLE WHEN LATEX DOC BUILDING IS FIXED #%{_bindir}/texhash @@ -222,21 +228,12 @@ %files %defattr(-,root,root) %doc README.rst doc/license.txt +%{_bindir}/cadabra2cadabra %{_bindir}/cadabra-server %{_bindir}/%{name} %{_bindir}/%{name}python %{_bindir}/%{name}html -%if 0%{?suse_version} > 1320 -%{python3_sitearch}/cdb -%{python3_sitearch}/cadabra2.so -%{python3_sitearch}/cadabra2_defaults.py -%else -%{python_sitearch}/cdb -%{python_sitearch}/cadabra2.so -%{python_sitearch}/cadabra2_defaults.py -%endif %{_datadir}/%{name}/ -%{_libexecdir}/*.so %{_datadir}/texmf/tex/latex/cadabra2/ %files gui ++++++ 2.1.7.tar.gz -> 2.2.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/cadabra2/2.1.7.tar.gz /work/SRC/openSUSE:Factory/.cadabra2.new/2.2.0.tar.gz differ: char 12, line 1 ++++++ cadabra2-add-pthread-to-cxxflags.patch ++++++ Index: cadabra2-2.2.0/CMakeLists.txt =================================================================== --- cadabra2-2.2.0.orig/CMakeLists.txt +++ cadabra2-2.2.0/CMakeLists.txt @@ -80,7 +80,7 @@ debug_message("Initial compiler flags: $ # GCC if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -Wall -Wno-unused-but-set-variable") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -Wall -Wno-unused-but-set-variable -pthread") endif() # Clang
