From b7171384cbfd080d3c4a9b8bc166f477eb82d4b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Thu, 24 Jun 2021 11:54:10 +0200 Subject: [PATCH] New upstream release 1.7.0 - resolves: #1953422 --- .gitignore | 1 + scipy.spec | 13 +++++++++++-- sources | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1ad3344..0319370 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ scipy-0.7.2.tar.gz /scipy-1.6.0.tar.gz /scipy-1.6.1.tar.gz /scipy-1.6.2.tar.gz +/scipy-1.7.0.tar.gz diff --git a/scipy.spec b/scipy.spec index 11f607d..d09100b 100644 --- a/scipy.spec +++ b/scipy.spec @@ -14,8 +14,8 @@ Summary: Scientific Tools for Python Name: scipy -Version: 1.6.2 -Release: 4%{?dist} +Version: 1.7.0 +Release: 1%{?dist} # BSD -- whole package except: # Boost -- scipy/special/cephes/scipy_iv.c @@ -101,6 +101,8 @@ rm doc/sphinxext -r rm $(grep -rl '/\* Generated by Cython') PKG-INFO %build +export SCIPY_USE_PYTHRAN=0 + for PY in %{python3_version}; do # Adding -fallow-argument-mismatch workaround for https://github.com/scipy/scipy/issues/11611 env CFLAGS="$RPM_OPT_FLAGS -lm" \ @@ -109,6 +111,7 @@ for PY in %{python3_version}; do %else FFLAGS="$RPM_OPT_FLAGS -fPIC" \ %endif + LDFLAGS="%{__global_ldflags}" \ %{_bindir}/python$PY setup.py config_fc \ --fcompiler=gnu95 --noarch \ build @@ -124,6 +127,8 @@ for PY in %{python3_version}; do done %install +export SCIPY_USE_PYTHRAN=0 + %py3_install # Some files got ambiguous python shebangs, we fix them after everything else is done pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{python3_sitearch} @@ -184,6 +189,10 @@ popd %endif %changelog +* Wed Jun 23 2021 Nikola Forró - 1.7.0-1 +- New upstream release 1.7.0 + resolves: #1953422 + * Fri Jun 04 2021 Python Maint - 1.6.2-4 - Rebuilt for Python 3.10 diff --git a/sources b/sources index 8f533f5..354f76d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (scipy-1.6.2.tar.gz) = 18b03f32e8343c5a6c6148ac0bfd4b5f2cc9ff5f74d5d41761ae9e773d6af8774c7b09a3fcc47122864eccce1dbbc17e9325819885d3fc3ab2baf98e7d3befa4 +SHA512 (scipy-1.7.0.tar.gz) = f16bb2dc0982a8a3553df1431abf196b12b9cb792393e5c84691cca53922cef6f3838e751c38cfa5f8699d896a6a1cff757c6025918bdc6c2832fdb137fa5b26