Drop java for i686 (bz#2104081)
This commit is contained in:
parent
69ae45eadf
commit
4ec8055c68
22
octave.spec
22
octave.spec
@ -14,6 +14,13 @@
|
|||||||
%global blaslib openblas
|
%global blaslib openblas
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# No more Java on i686
|
||||||
|
%ifarch %{java_arches}
|
||||||
|
%bcond_without java
|
||||||
|
%else
|
||||||
|
%bcond_with java
|
||||||
|
%endif
|
||||||
|
|
||||||
# Compile with ILP64 BLAS - not yet working
|
# Compile with ILP64 BLAS - not yet working
|
||||||
%bcond_with blas64
|
%bcond_with blas64
|
||||||
|
|
||||||
@ -30,7 +37,7 @@
|
|||||||
Name: octave
|
Name: octave
|
||||||
Epoch: 6
|
Epoch: 6
|
||||||
Version: 7.1.0
|
Version: 7.1.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A high-level language for numerical computations
|
Summary: A high-level language for numerical computations
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.octave.org
|
URL: http://www.octave.org
|
||||||
@ -46,6 +53,8 @@ Patch0: bug62436.patch
|
|||||||
# Deprecate rather than remove support for old numeric linestyles that broke vfrnav tests
|
# Deprecate rather than remove support for old numeric linestyles that broke vfrnav tests
|
||||||
# https://savannah.gnu.org/bugs/index.php?62470
|
# https://savannah.gnu.org/bugs/index.php?62470
|
||||||
Patch1: octave-linestyles.patch
|
Patch1: octave-linestyles.patch
|
||||||
|
# Add needed time.h header
|
||||||
|
Patch2: octave-time.patch
|
||||||
|
|
||||||
Provides: octave(api) = %{octave_api}
|
Provides: octave(api) = %{octave_api}
|
||||||
Provides: bundled(gnulib)
|
Provides: bundled(gnulib)
|
||||||
@ -94,10 +103,12 @@ BuildRequires: gnuplot
|
|||||||
BuildRequires: gperf
|
BuildRequires: gperf
|
||||||
BuildRequires: GraphicsMagick-c++-devel
|
BuildRequires: GraphicsMagick-c++-devel
|
||||||
BuildRequires: hdf5-devel
|
BuildRequires: hdf5-devel
|
||||||
|
%if %{with java}
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
BuildRequires: less
|
BuildRequires: less
|
||||||
BuildRequires: libsndfile-devel
|
BuildRequires: libsndfile-devel
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
@ -141,7 +152,9 @@ Requires: gnuplot
|
|||||||
Requires: gnuplot-common
|
Requires: gnuplot-common
|
||||||
Requires: hdf5 = %{_hdf5_version}
|
Requires: hdf5 = %{_hdf5_version}
|
||||||
Requires: hicolor-icon-theme
|
Requires: hicolor-icon-theme
|
||||||
|
%if %{with java}
|
||||||
Requires: java-headless
|
Requires: java-headless
|
||||||
|
%endif
|
||||||
Requires: less
|
Requires: less
|
||||||
Requires: info
|
Requires: info
|
||||||
Requires: texinfo
|
Requires: texinfo
|
||||||
@ -218,9 +231,11 @@ export F77=gfortran
|
|||||||
%if !%{builddocs}
|
%if !%{builddocs}
|
||||||
%global disabledocs --disable-docs
|
%global disabledocs --disable-docs
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with java}
|
||||||
# Find libjvm.so for this architecture in generic location
|
# Find libjvm.so for this architecture in generic location
|
||||||
libjvm=$(find /usr/lib/jvm/jre/lib -name libjvm.so -printf %h)
|
libjvm=$(find /usr/lib/jvm/jre/lib -name libjvm.so -printf %h)
|
||||||
export JAVA_HOME=%{java_home}
|
export JAVA_HOME=%{java_home}
|
||||||
|
%endif
|
||||||
# JIT support is still experimental, and causes a segfault on ARM.
|
# JIT support is still experimental, and causes a segfault on ARM.
|
||||||
# --enable-float-truncate - https://savannah.gnu.org/bugs/?40560
|
# --enable-float-truncate - https://savannah.gnu.org/bugs/?40560
|
||||||
# sundials headers need to know where to find suitesparse headers
|
# sundials headers need to know where to find suitesparse headers
|
||||||
@ -241,8 +256,10 @@ fi
|
|||||||
%{?disabledocs} \
|
%{?disabledocs} \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--with-blas=%{blaslib}%{?with_blas64:64} \
|
--with-blas=%{blaslib}%{?with_blas64:64} \
|
||||||
|
%if %{with java}
|
||||||
--with-java-includedir=/usr/lib/jvm/java/include \
|
--with-java-includedir=/usr/lib/jvm/java/include \
|
||||||
--with-java-libdir=$libjvm \
|
--with-java-libdir=$libjvm \
|
||||||
|
%endif
|
||||||
--with-qrupdate \
|
--with-qrupdate \
|
||||||
--with-amd --with-umfpack --with-colamd --with-ccolamd --with-cholmod \
|
--with-amd --with-umfpack --with-colamd --with-ccolamd --with-cholmod \
|
||||||
--with-cxsparse \
|
--with-cxsparse \
|
||||||
@ -434,6 +451,9 @@ make check
|
|||||||
%{_pkgdocdir}/refcard*.pdf
|
%{_pkgdocdir}/refcard*.pdf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jul 10 2022 Orion Poplawski <orion@nwra.com> - 6:7.1.0-2
|
||||||
|
- Drop java for i686 (bz#2104081)
|
||||||
|
|
||||||
* Thu Apr 07 2022 Orion Poplawski <orion@nwra.com> - 6:7.1.0-1
|
* Thu Apr 07 2022 Orion Poplawski <orion@nwra.com> - 6:7.1.0-1
|
||||||
- Update to 7.1.0
|
- Update to 7.1.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user