Hello community, here is the log from the commit of package muparser for openSUSE:Factory checked in at 2020-08-24 15:10:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/muparser (Old) and /work/SRC/openSUSE:Factory/.muparser.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "muparser" Mon Aug 24 15:10:59 2020 rev:14 rq:828562 version:2.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/muparser/muparser.changes 2019-08-27 10:19:33.151946895 +0200 +++ /work/SRC/openSUSE:Factory/.muparser.new.3399/muparser.changes 2020-08-24 15:13:07.082686878 +0200 @@ -1,0 +2,17 @@ +Wed Jun 17 08:54:21 UTC 2020 - Paolo Stivanin <[email protected]> + +- Update to 2.3.2: + * using OpenMP is now the default settings for cmake based builds + * added optimization for trivial expressions + * introduced a maximum length for expressions (5000 Character) + * introduced a maximum length for identifiers (100 Characters) + * removed the MUP_MATH_EXCEPTION macro and related functionality + * removed ParserStack.h (replaced with std::stack) + * removed macros for defining E and PI (replaced with a static constants) + * the MUP_ASSERT macro is no longer removed in release builds + for better protection against segmentation faults +- Updated muparser-abiversion.diff as the project is now using cmake +- Removed muparser-optflags.patch as the project is now using cmake + and the Makefile.in file no longer exists + +------------------------------------------------------------------- Old: ---- muparser-optflags.patch v2.2.6.1.tar.gz New: ---- v2.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ muparser.spec ++++++ --- /var/tmp/diff_new_pack.ic2S3p/_old 2020-08-24 15:13:09.782688193 +0200 +++ /var/tmp/diff_new_pack.ic2S3p/_new 2020-08-24 15:13:09.790688197 +0200 @@ -1,7 +1,7 @@ # # spec file for package muparser # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,20 +17,17 @@ Name: muparser -%define lname libmuparser2_2_6 -Version: 2.2.6.1 +%define lname libmuparser2_3_2 +Version: 2.3.2 Release: 0 Summary: A math parser library License: MIT Group: Productivity/Scientific/Math URL: http://muparser.beltoforion.de/ - Source: https://github.com/beltoforion/muparser/archive/v%{version}.tar.gz +Patch0: muparser-abiversion.diff Source1: baselibs.conf -Patch1: muparser-optflags.patch -Patch2: muparser-abiversion.diff -BuildRequires: autoconf -BuildRequires: automake +BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkg-config @@ -63,14 +60,12 @@ %autosetup -p1 %build -sh build/autoconf/acregen.sh -%configure --enable-samples --enable-shared -# bakafile not parallel sife - duh -make -j1 +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} +%cmake_build %install -%make_install -rm -f "%buildroot/%_libdir"/*.la +%cmake_install %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.ic2S3p/_old 2020-08-24 15:13:09.814688209 +0200 +++ /var/tmp/diff_new_pack.ic2S3p/_new 2020-08-24 15:13:09.818688211 +0200 @@ -1,4 +1,4 @@ -libmuparser2_2_6 +libmuparser2_3_2 muparser-devel - requires "libmuparser2_2_6-<targettype> = <version>" + requires "libmuparser2_3_2-<targettype> = <version>" ++++++ muparser-abiversion.diff ++++++ --- /var/tmp/diff_new_pack.ic2S3p/_old 2020-08-24 15:13:09.826688215 +0200 +++ /var/tmp/diff_new_pack.ic2S3p/_new 2020-08-24 15:13:09.826688215 +0200 @@ -1,5 +1,7 @@ -From: Jan Engelhardt <[email protected]> -Date: 2015-02-03 00:43:03.433735818 +0100 +Orig-From: Jan Engelhardt <[email protected]> +Orig-Date: 2015-02-03 00:43:03.433735818 +0100 +From: Paolo Stivanin <[email protected]> +Date: 2020-06-17 08:54:21+0000 muparser broke the ABI between 2.2.3 and 2.2.4 by changing. The abidiff(1) report from libabigail: @@ -12,37 +14,16 @@ alignment changed from 64 to 32 bits Work around this messup by using the full version as unique SONAME. ---- - Makefile.in | 6 +++--- - build/autoconf/aclocal.m4 | 5 +++-- - 2 files changed, 6 insertions(+), 5 deletions(-) -Index: muparser-2.2.4/Makefile.in -=================================================================== ---- muparser-2.2.4.orig/Makefile.in -+++ muparser-2.2.4/Makefile.in -@@ -143,7 +143,7 @@ COND_WINDOWS_IMPLIB_1___muParser_dll___i - @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__muParser_dll___targetsuf3 \ - @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@ = .2.2.4.$(SO_SUFFIX) - @COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@__muParser_dll___targetsuf3 \ --@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@ = .$(SO_SUFFIX).2 -+@COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1@ = .$(SO_SUFFIX).2.2.6 - @COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@__muParser_dll___targetsuf3 \ - @COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@ = -2.$(SO_SUFFIX) - @COND_USE_SOVERSION_0@__muParser_dll___targetsuf3 = .$(SO_SUFFIX) -Index: muparser-2.2.4/build/autoconf/aclocal.m4 -=================================================================== ---- muparser-2.2.4.orig/build/autoconf/aclocal.m4 -+++ muparser-2.2.4/build/autoconf/aclocal.m4 -@@ -1317,8 +1317,9 @@ AC_DEFUN([AC_BAKEFILE_SHARED_VERSIONS], - SONAME_FLAG="-Wl,-soname," - fi - USE_SOVERSION=1 -- USE_SOVERLINUX=1 -- USE_SOTWOSYMLINKS=1 -+ USE_SOVERLINUX=0 -+ USE_SOVERSOLARIS=1 -+ USE_SOTWOSYMLINKS=0 - ;; +diff -ru a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2020-06-17 10:52:15.574640873 +0200 ++++ b/CMakeLists.txt 2020-06-17 00:09:53.000000000 +0200 +@@ -74,7 +74,7 @@ + endif() + set_target_properties(muparser PROPERTIES + VERSION ${MUPARSER_VERSION} ++ SOVERSION ${MUPARSER_VERSION} +- SOVERSION ${MUPARSER_VERSION_MAJOR} + ) - *-*-solaris2* ) + # Install the export set for use with the install-tree ++++++ v2.2.6.1.tar.gz -> v2.3.2.tar.gz ++++++ ++++ 37235 lines of diff (skipped)
