* For default flavour, build non-python bindings only for default python3 version. This reduces build times.
* Do not force -D_FORTIFY_SOURCE=2 any more (fixed since version 2.9.1, see gh#stevengj/nlopt#563).
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=42
- Update to version 2.6.1:
* Fix nlopt_version return value for 2.6.x and update soname and
docs.
- Changes from version 2.6.0:
* New set_upper_bound and set_lower_bound functions in the
low-level C API to set one bound at a time
(gh#stevengi/nlopt#257).
* There is no longer a separate libnlopt_cxx library — C++
algorithms (stogo) are compiled and included by default
(gh#stevengi/nlopt#198).
* Bug fixes:
* 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.
- Drop patches incorporated upstream:
* nlopt-octave-5.0.patch
* nlopt-cmake-3.13.patch.
OBS-URL: https://build.opensuse.org/request/show/694580
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=23
- Update to version 2.5.0:
- Drop patches already incorporated upstream or otherwise fixed:
* nlopt-2.3-pkgconfig.patch
* pythondir.patch
* nlopt-octave-4.0.patch
* nlopt-octave4.4-prefixdir.patch
* nlopt-octave4.4-do_multi_index_op.patch
- New patches:
* nlopt-octave-5.0.patch: Fix compilation and running against octave >= 5.0; patch taken from upstream git commit.
* nlopt-cmake-3.13.patch: Fix building python module when using cmake 3.13+; patch taken from upstream git commit and rebased to apply cleanly.
- Switch to building python3 modules instead of python2.
- Switch to cmake build system in keeping with upstream; introduce BuildRequires: cmake and drop libtool.
- New BuildRequires: swig needed to build python module.
- Use %%autosetup to setup build directory and apply patches.
OBS-URL: https://build.opensuse.org/request/show/690065
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=21
- Add patches to fix compilation against octave 4.4:
* nlopt-octave4.4-prefixdir.patch: Fix how to find octave's
prefix dir in configure.ac: octave-config no longer supports
the keyword PREFIX and uses OCTAVE_HOME in its stead; patch
being sent upstream. Add BuildRequires: libtool and regenerate
build files (autoreconf -fvi) before configuring build.
* nlopt-octave4.4-do_multi_index_op.patch: Replace
do_multi_index_op by feval; the former is dropped from octave
4.4; patch being sent upstream.
- Package python modules installed to sitelib as well.
OBS-URL: https://build.opensuse.org/request/show/613664
OBS-URL: https://build.opensuse.org/package/show/science/nlopt?expand=0&rev=19