Gecode support temporarily disabled on fedora (upstream bug#109)
This commit is contained in:
parent
517d77c743
commit
722f5b79e6
15
mp.spec
15
mp.spec
|
@ -4,7 +4,8 @@
|
|||
|
||||
%if 0%{?fedora}
|
||||
%global with_jacop 1
|
||||
%global with_gecode 1
|
||||
# https://github.com/ampl/mp/issues/109
|
||||
%global with_gecode 0
|
||||
%else
|
||||
%global with_jacop 0
|
||||
%global with_gecode 1
|
||||
|
@ -19,7 +20,7 @@
|
|||
|
||||
Name: mp
|
||||
Version: 3.1.0
|
||||
Release: 7.%{date}git%(echo %{checkout} | cut -c-6)%{?dist}
|
||||
Release: 9.%{date}git%(echo %{checkout} | cut -c-6)%{?dist}
|
||||
License: MIT and BSD
|
||||
Summary: An open-source library for mathematical programming
|
||||
URL: https://github.com/ampl/mp
|
||||
|
@ -180,7 +181,9 @@ install -pm 755 build/bin/ampltabl.dll %{buildroot}%{_libdir}/%{name}/bin
|
|||
install -pm 755 build/bin/arithchk %{buildroot}%{_libdir}/%{name}/bin
|
||||
install -pm 755 build/bin/cp.dll %{buildroot}%{_libdir}/%{name}/bin
|
||||
install -pm 755 build/bin/fullbit.dll %{buildroot}%{_libdir}/%{name}/bin
|
||||
%if %{with_gecode}
|
||||
install -pm 755 build/bin/gecode %{buildroot}%{_libdir}/%{name}/bin
|
||||
%endif
|
||||
install -pm 755 build/bin/gjh %{buildroot}%{_libdir}/%{name}/bin
|
||||
%if %{with_jacop}
|
||||
install -pm 755 build/bin/jacop %{buildroot}%{_libdir}/%{name}/bin
|
||||
|
@ -232,7 +235,9 @@ chrpath --delete %{buildroot}%{_libdir}/%{name}/bin/ampltabl.dll
|
|||
chrpath --delete %{buildroot}%{_libdir}/%{name}/bin/arithchk
|
||||
chrpath --delete %{buildroot}%{_libdir}/%{name}/bin/cp.dll
|
||||
chrpath --delete %{buildroot}%{_libdir}/%{name}/bin/fullbit.dll
|
||||
%if %{with_gecode}
|
||||
chrpath --delete %{buildroot}%{_libdir}/%{name}/bin/gecode
|
||||
%endif
|
||||
chrpath --delete %{buildroot}%{_libdir}/%{name}/bin/gjh
|
||||
%if %{with_jacop}
|
||||
chrpath --delete %{buildroot}%{_libdir}/%{name}/bin/jacop
|
||||
|
@ -285,6 +290,12 @@ ctest --force-new-ctest-process --parallel %{?_smp_mflags} -I 4,15,,1,17,28
|
|||
%{_includedir}/mp
|
||||
|
||||
%changelog
|
||||
* Sat Mar 25 2017 Antonio Trande <sagitter@fedoraproject.org.com> - 3.1.0-9.20160810git1f3980
|
||||
- Gecode support temporarily disabled on fedora (upstream bug#109)
|
||||
|
||||
* Thu Mar 16 2017 Antonio Trande <sagitter@fedoraproject.org.com> - 3.1.0-8.20160810git1f3980
|
||||
- Rebuild for gecode-5.0.0
|
||||
|
||||
* Sun Feb 26 2017 Antonio Trande <sagitter@fedoraproject.org.com> - 3.1.0-7.20160810git1f3980
|
||||
- Fix environment-modules required on epel7
|
||||
- Skip gsl-test always (upstream issue #103)
|
||||
|
|
Loading…
Reference in New Issue