Update to 1.9.3

Resolves: RHEL-5600
This commit is contained in:
Pavel Simovec 2024-10-08 14:14:29 +02:00
parent b6ef91e17a
commit b0a8079992
3 changed files with 12 additions and 6 deletions

1
.gitignore vendored
View File

@ -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.9.3.tar.gz

View File

@ -14,8 +14,8 @@
Summary: Scientific Tools for Python
Name: scipy
Version: 1.6.2
Release: 8%{?dist}
Version: 1.9.3
Release: 1%{?dist}
# BSD -- whole package except:
# Boost -- scipy/special/cephes/scipy_iv.c
@ -94,12 +94,11 @@ EOF
# Docs won't build unless the .dat files are specified here
sed -i 's/metadata = dict(/metadata = dict(package_data={"": ["*.dat"]},/' setup.py
# remove bundled numpydoc
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" \
@ -124,6 +123,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}
@ -172,6 +173,10 @@ popd
%endif
%changelog
* Mon Oct 07 2024 Pavel Simovec <psimovec@redhat.com> - 1.9.3-1
- Update to 1.9.3
- Resolves: RHEL-5600
* Mon Feb 21 2022 Tomas Orsava <torsava@redhat.com> - 1.6.2-8
- Add gating configuration and a simple smoke test
- Related: rhbz#1950291

View File

@ -1 +1 @@
SHA512 (scipy-1.6.2.tar.gz) = 18b03f32e8343c5a6c6148ac0bfd4b5f2cc9ff5f74d5d41761ae9e773d6af8774c7b09a3fcc47122864eccce1dbbc17e9325819885d3fc3ab2baf98e7d3befa4
SHA512 (scipy-1.9.3.tar.gz) = 119f9a5e1ce3b4268ba38a0eb82dff78837593d9a5c5e464663925a4b3b1de060201fe568236e19ed0996a045754333c580e181c4cdec2cc707e57060f59364e