Drop JDK in i686 builds

This commit is contained in:
Antonio Trande 2022-07-05 21:59:10 +02:00
parent f4072122ac
commit 64741f09d5
1 changed files with 13 additions and 4 deletions

17
mp.spec
View File

@ -1,10 +1,16 @@
%global __cmake_in_source_build 1
%if 0%{?fedora}
%if 0%{?fedora} && 0%{?fedora} > 36
%ifarch %{java_arches}
%global with_jacop 1
%global with_gecode 1
%else
%global with_jacop 0
%endif
%global with_gecode 1
%endif
%if 0%{?rhel}
%global with_jacop 0
%if 0%{?rhel} < 8
%global with_gecode 1
%else
@ -12,7 +18,7 @@
%endif
%endif
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
%if 0%{?fedora} || 0%{?rhel} >= 9
%global blaslib flexiblas
%else
%global blaslib openblas
@ -28,7 +34,7 @@
Name: mp
Version: 3.1.0
Release: 37.%{date}git%{shortcommit}%{?dist}
Release: 38.%{date}git%{shortcommit}%{?dist}
License: MIT and BSD
Summary: An open-source library for mathematical programming
URL: https://github.com/ampl/mp
@ -308,6 +314,9 @@ popd
%doc build/doc/ampl.github.io/*
%changelog
* Tue Jul 05 2022 Antonio Trande <sagitter@fedoraproject.org.com> - 3.1.0-38.20200303git7fd4828
- Drop JDK in i686 builds
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 3.1.0-37.20200303git7fd4828
- Rebuilt for java-17-openjdk as system jdk