Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nlopt for openSUSE:Factory checked in at 2024-08-18 18:20:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nlopt (Old) and /work/SRC/openSUSE:Factory/.nlopt.new.2698 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nlopt" Sun Aug 18 18:20:08 2024 rev:19 rq:1194515 version:2.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/nlopt/nlopt.changes 2022-03-01 17:04:37.420350238 +0100 +++ /work/SRC/openSUSE:Factory/.nlopt.new.2698/nlopt.changes 2024-08-18 18:20:32.099583136 +0200 @@ -1,0 +2,24 @@ +Sat Aug 10 03:42:50 UTC 2024 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 2.8.0: + * Support C++ functors for objective functions + (gh#stevengj/nlopt#457). + * CCSA/MMA an now use the initial_step parameter to bound their + initial stepsize, + * and also expose a new internal parameter rho_init + (gh#stevengj/nlopt#561). + * Install pkg-config file on Windows (gh#stevengj/nlopt#534). + * Allow having more equality constraints than there are + variables (gh#stevengj/nlopt#509). + * Bugfixes: + - gh#stevengj/nlopt#558 + - gh#stevengj/nlopt#533 + - gh#stevengj/nlopt#473 + - gh#stevengj/nlopt#465 + * Build improvements (gh#stevengj/nlopt#551, + gh#stevengj/nlopt#535, gh#stevengj/nlopt#510, + gh#stevengj/nlopt#445). +- Build with -D_FORTIFY_SOURCE=2 (not 3) to avoid test crashes + (gh#stevengj/nlopt#563). + +------------------------------------------------------------------- @@ -61 +85 @@ - (gh#stevengi/nlopt#257). + (gh#stevengj/nlopt#257). @@ -64 +88 @@ - (gh#stevengi/nlopt#198). + (gh#stevengj/nlopt#198). @@ -66,8 +90,8 @@ - * gh#stevengi/nlopt#197 - * gh#stevengi/nlopt#216 - * gh#stevengi/nlopt#245 - * gh#stevengi/nlopt#250 - * gh#stevengi/nlopt#230 - * gh#stevengi/nlopt#261 - * gh#stevengi/nlopt#242 - * gh#stevengi/nlopt#258. + * gh#stevengj/nlopt#197 + * gh#stevengj/nlopt#216 + * gh#stevengj/nlopt#245 + * gh#stevengj/nlopt#250 + * gh#stevengj/nlopt#230 + * gh#stevengj/nlopt#261 + * gh#stevengj/nlopt#242 + * gh#stevengj/nlopt#258. Old: ---- nlopt-2.7.1.tar.gz New: ---- nlopt-2.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nlopt.spec ++++++ --- /var/tmp/diff_new_pack.VSE8Rk/_old 2024-08-18 18:20:33.019620344 +0200 +++ /var/tmp/diff_new_pack.VSE8Rk/_new 2024-08-18 18:20:33.019620344 +0200 @@ -1,7 +1,7 @@ # # spec file for package nlopt # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,7 +28,7 @@ %define pname nlopt Name: nlopt%{?psuffix} -Version: 2.7.1 +Version: 2.8.0 Release: 0 Summary: A library for nonlinear optimization License: LGPL-2.0-only @@ -90,6 +90,7 @@ %autosetup -p1 -n %{pname}-%{version} %build +# Must be built with -D_FORTIFY_SOURCE=2 (not 3) for tests to pass, see <https://github.com/stevengj/nlopt/issues/563> %if %{with bindings} %{python_expand # Necessary to run configure with all python flavors export PYTHON=$python @@ -97,6 +98,8 @@ cp -pr ./ ../${PYTHON}_build pushd ../${PYTHON}_build %cmake \ + -DCMAKE_C_FLAGS="%(echo %optflags | sed 's/-D_FORTIFY_SOURCE=3/-D_FORTIFY_SOURCE=2/g')" \ + -DCMAKE_CXX_FLAGS="%(echo %optflags | sed 's/-D_FORTIFY_SOURCE=3/-D_FORTIFY_SOURCE=2/g')" \ -DCMAKE_SKIP_RPATH:BOOL=OFF \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \ -DNLOPT_MATLAB=OFF \ @@ -105,13 +108,15 @@ -DNLOPT_PYTHON:BOOL=ON \ -DNLOPT_OCTAVE:BOOL=ON \ -DNLOPT_SWIG:BOOL=ON \ - -DPYTHON_EXECUTABLE=%{_bindir}/$python \ + -DPython_EXECUTABLE=%{_bindir}/$python \ %{nil} %cmake_build popd } %else %cmake \ + -DCMAKE_C_FLAGS="%(echo %optflags | sed 's/-D_FORTIFY_SOURCE=3/-D_FORTIFY_SOURCE=2/g')" \ + -DCMAKE_CXX_FLAGS="%(echo %optflags | sed 's/-D_FORTIFY_SOURCE=3/-D_FORTIFY_SOURCE=2/g')" \ -DCMAKE_SKIP_RPATH:BOOL=OFF \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \ -DNLOPT_MATLAB=OFF \ @@ -172,7 +177,8 @@ %if %{with bindings} %files %{python_files} %license COPYING -%{python_sitearch}/* +%{python_sitearch}/nlopt.py +%{python_sitearch}/*.so %files -n octave-nlopt_optimize %license COPYING ++++++ nlopt-2.7.1.tar.gz -> nlopt-2.8.0.tar.gz ++++++ ++++ 2561 lines of diff (skipped)