Iñaki Úcar 2020-08-17 01:29:20 +02:00
parent a01b66314d
commit 3aee88cf4c
2 changed files with 63 additions and 5 deletions

View file

@ -11,6 +11,15 @@
%bcond_without bundled_widgetsnbextension
%bcond_without install_hack
%if 0%{?fedora} >= 33
%bcond_without flexiblas
%endif
%if %{with flexiblas}
%global blaslib flexiblas
%else
%global blaslib openblas
%endif
# jmol has been retired from Fedora; set this if it ever comes back
%bcond_with jmol
@ -94,7 +103,7 @@
Name: sagemath
Summary: A free open-source mathematics software system
Version: 9.1
Release: 2%{?dist}
Release: 3%{?dist}
# The file ${SAGE_ROOT}/COPYING.txt is the upstream license breakdown file
# Additionally, every $files section has a comment with the license name
# before files with that license
@ -183,8 +192,8 @@ Patch21: %{name}-arb.patch
# Add missing include paths
Patch22: %{name}-includes.patch
# Use openblas
Patch23: %{name}-openblas.patch
# Use [flexi/open]blas
Patch23: %{name}-%{blaslib}.patch
# Fix paths to latte-integrale binaries
Patch24: %{name}-latte.patch
@ -275,7 +284,6 @@ BuildRequires: jsmol
%endif
BuildRequires: jsmath-fonts
BuildRequires: L-function-devel
BuildRequires: lapack-devel
BuildRequires: latte-integrale
BuildRequires: libbraiding-devel
BuildRequires: libfplll-devel
@ -294,7 +302,7 @@ BuildRequires: mcqd-devel
BuildRequires: mpfi-devel
BuildRequires: nauty
BuildRequires: ntl-devel
BuildRequires: openblas-devel
BuildRequires: %{blaslib}-devel
BuildRequires: openssl
BuildRequires: palp
BuildRequires: pari-devel
@ -1816,6 +1824,9 @@ rm -fr %{SAGE_LOCAL}/var/lib/sage/installed/database_cremona_ellcurve-%{cremona_
########################################################################
%changelog
* Thu Aug 13 2020 Iñaki Úcar <iucar@fedoraproject.org> - 9.1-3
- https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild