Fix python-pooch not fully removed

Resolves: RHEL-35429
This commit is contained in:
Pavel Simovec 2024-06-07 10:37:48 +02:00
parent f85cd5a7b9
commit d539cefe61

View File

@ -36,7 +36,7 @@
Summary: Scientific Tools for Python Summary: Scientific Tools for Python
Name: scipy Name: scipy
Version: 1.11.3 Version: 1.11.3
Release: 10%{?dist} Release: 11%{?dist}
# BSD-3-Clause -- whole package except: # BSD-3-Clause -- whole package except:
# BSD-2-Clause -- scipy/_lib/_pep440.py # BSD-2-Clause -- scipy/_lib/_pep440.py
@ -107,7 +107,10 @@ leading scientists and engineers.}
%package -n python3-scipy %package -n python3-scipy
Summary: Scientific Tools for Python Summary: Scientific Tools for Python
Requires: python3-numpy, python3-f2py, python3-pooch Requires: python3-numpy, python3-f2py
%if %{with pooch}
Requires: python3-pooch
%endif
Provides: bundled(arpack) = 3.3.0 Provides: bundled(arpack) = 3.3.0
Provides: bundled(biasedurn) Provides: bundled(biasedurn)
Provides: bundled(boost-math) Provides: bundled(boost-math)
@ -147,6 +150,7 @@ Scipy test files
sed -i '/pythran/d' pyproject.toml sed -i '/pythran/d' pyproject.toml
%endif %endif
%if %{without pooch} %if %{without pooch}
sed -i 's/, "pooch"]/]/g' pyproject.toml
sed -i '/pooch/d' pyproject.toml sed -i '/pooch/d' pyproject.toml
%endif %endif
@ -323,6 +327,10 @@ popd
%endif %endif
%changelog %changelog
* Fri Jun 07 2024 Pavel Simovec <psimovec@redhat.com> - 1.11.3-11
- Fix python-pooch not fully removed
- Resolves: RHEL-35429
* Fri Jun 07 2024 Richard W.M. Jones <rjones@redhat.com> - 1.11.3-10 * Fri Jun 07 2024 Richard W.M. Jones <rjones@redhat.com> - 1.11.3-10
- Enable riscv64 - Enable riscv64