|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Name: lpsolve
|
|
|
|
|
Summary: A Mixed Integer Linear Programming (MILP) solver
|
|
|
|
|
Version: 5.5.2.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Source: http://downloads.sourceforge.net/lpsolve/lp_solve_%{version}_source.tar.gz
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
URL: http://sourceforge.net/projects/lpsolve
|
|
|
|
@ -27,7 +27,6 @@ Includes and definitions for developing with lpsolve
|
|
|
|
|
%patch0 -p1 -b .cflags.patch
|
|
|
|
|
#sparc and s390 need -fPIC lets sed it
|
|
|
|
|
%ifarch sparcv9 sparc64 s390 s390x
|
|
|
|
|
sed -i -e 's|-fpic|-fPIC|g' Makefile*
|
|
|
|
|
sed -i -e 's|-fpic|-fPIC|g' lpsolve55/ccc
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
@ -66,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{_includedir}/lpsolve
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Dec 21 2010 Dan Horák <dan[at]danny.cz> - 5.5.2.0-2
|
|
|
|
|
- fix build on s390(x)
|
|
|
|
|
|
|
|
|
|
* Fri Aug 13 2010 Caolán McNamara <caolanm@redhat.com> - 5.5.2.0-1
|
|
|
|
|
- latest version
|
|
|
|
|
|
|
|
|
|