Fix rhbz#2039365

This commit is contained in:
Antonio Trande 2022-06-20 21:46:20 +02:00
parent 2eaea8c8d9
commit c8de0336b2

View File

@ -278,7 +278,7 @@
Name: petsc
Summary: Portable Extensible Toolkit for Scientific Computation
Version: %{releasever}.2
Release: 2%{?dist}
Release: 3%{?dist}
License: BSD
URL: https://petsc.org/
Source0: https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-with-docs-%{version}.tar.gz
@ -567,6 +567,7 @@ Portable Extensible Toolkit for Scientific Computation (developer files).
%prep
%setup -qc
%if %{with python}
%setup -q -T -D -a 1
cp -a petsc4py-%{version}/* %{name}-%{version}/
@ -588,6 +589,11 @@ find src/benchmarks/streams -name '*.py' | xargs pathfix.py -pn -i "%{__python3}
%endif
popd
# Remove pregenerated Cython C sources
pushd %{name}-%{version}
find -type f -name '*.c' -print -delete
popd
%if %{with arch64}
cp -a %{name}-%{version} build64
pushd build64
@ -1169,6 +1175,9 @@ xvfb-run -a make MAKE_NP=$RPM_BUILD_NCPUS all test -C build64 V=1 MPIEXEC='%{_bu
%endif
%changelog
* Mon Jun 20 2022 Antonio Trande <sagitter@fedoraproject.org> - 3.17.2-3
- Fix rhbz#2039365
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.17.2-2
- Rebuilt for Python 3.11