Accepting request 382917 from science

- Update to 4.60
  * src/glpk.h Declarations of all non-documented API routines were 
    hidden by #ifdef GLP_UNDOC / #endif.
  * src/simplex/spydual.c An experimental feature (objective 
    coefficient perturbation) to improve numerical stabilty and 
    avoid cycling was included in the dual simplex solver.  
- Enable gmp support

OBS-URL: https://build.opensuse.org/request/show/382917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glpk?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2016-04-05 08:43:22 +00:00 committed by Git OBS Bridge
commit 56e1b1dfc2
6 changed files with 17 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e398be2e7cb8a98584325268704729872558a4a88555bc8a54139d017eb9ebae
size 4108757

Binary file not shown.

3
glpk-4.60.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1356620cb0a0d33ac3411dd49d9fd40d53ece73eaec8f6b8d19a77887ff5e297
size 4160915

BIN
glpk-4.60.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Apr 1 11:44:47 UTC 2016 - mpluskal@suse.com
- Update to 4.60
* src/glpk.h Declarations of all non-documented API routines were
hidden by #ifdef GLP_UNDOC / #endif.
* src/simplex/spydual.c An experimental feature (objective
coefficient perturbation) to improve numerical stabilty and
avoid cycling was included in the dual simplex solver.
- Enable gmp support
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 13 15:07:54 UTC 2016 - mpluskal@suse.com Sun Mar 13 15:07:54 UTC 2016 - mpluskal@suse.com

View File

@ -18,7 +18,7 @@
%define lname libglpk40 %define lname libglpk40
Name: glpk Name: glpk
Version: 4.59 Version: 4.60
Release: 0 Release: 0
Summary: GNU Linear Programming Kit Summary: GNU Linear Programming Kit
License: GPL-3.0 License: GPL-3.0
@ -28,6 +28,7 @@ Source0: https://ftp.gnu.org/gnu/glpk/%{name}-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/glpk/%{name}-%{version}.tar.gz.sig Source1: https://ftp.gnu.org/gnu/glpk/%{name}-%{version}.tar.gz.sig
Source2: %{name}.keyring Source2: %{name}.keyring
BuildRequires: ghostscript BuildRequires: ghostscript
BuildRequires: gmp-devel
BuildRequires: texlive BuildRequires: texlive
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -77,6 +78,7 @@ callable library.
%build %build
export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure \ %configure \
--with-gmp \
--disable-static --disable-static
make %{?_smp_mflags} make %{?_smp_mflags}
@ -93,7 +95,6 @@ cp {AUTHORS,ChangeLog,COPYING,NEWS,README} %{buildroot}%{_docdir}/%{name}
make %{?_smp_mflags} check make %{?_smp_mflags} check
%post -n %{lname} -p /sbin/ldconfig %post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig
%files %files