Rebuild for pari 2.13.0. Add pari-devel R to -devel subpackage.

This commit is contained in:
Jerry James 2020-11-11 14:46:29 -07:00
parent d1d8c030cc
commit b481133470

View File

@ -5,13 +5,14 @@
Name: python-%{modname} Name: python-%{modname}
Version: 1.10.2 Version: 1.10.2
Release: 9%{?dist} Release: 10%{?dist}
Summary: Interrupt and signal handling for Cython Summary: Interrupt and signal handling for Cython
License: LGPLv3+ License: LGPLv3+
URL: https://github.com/sagemath/%{modname} URL: https://github.com/sagemath/%{modname}
Source0: https://github.com/sagemath/%{modname}/releases/download/%{version}/%{modname}-%{version}.tar.gz Source0: https://github.com/sagemath/%{modname}/releases/download/%{version}/%{modname}-%{version}.tar.gz
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: pari-devel BuildRequires: pari-devel
# https://bugzilla.redhat.com/show_bug.cgi?id=1445411#c2 # https://bugzilla.redhat.com/show_bug.cgi?id=1445411#c2
Patch0: %{name}-gdb.patch Patch0: %{name}-gdb.patch
@ -54,6 +55,7 @@ BuildRequires: python3dist(setuptools)
%package -n python3-%{modname}-devel %package -n python3-%{modname}-devel
Summary: %{summary} headers files Summary: %{summary} headers files
Requires: python3-%{modname} Requires: python3-%{modname}
Requires: pari-devel
%description -n python3-%{modname}-devel %{_description} %description -n python3-%{modname}-devel %{_description}
@ -80,7 +82,7 @@ sed -i 's/language_level=2/language_level=3/' setup.py
# Build the documentation # Build the documentation
export PYTHONPATH=$PWD/$(ls -1d build/lib.linux*%{python3_version}) export PYTHONPATH=$PWD/$(ls -1d build/lib.linux*%{python3_version})
%__make -C docs html make -C docs html
rst2html --no-datestamp README.rst README.html rst2html --no-datestamp README.rst README.html
%install %install
@ -93,7 +95,7 @@ rm %{buildroot}%{_docdir}/%{name}/html/.buildinfo
PATH=%{buildroot}%{_bindir}:$PATH PATH=%{buildroot}%{_bindir}:$PATH
PYTHONPATH=%{buildroot}%{python3_sitearch} PYTHONPATH=%{buildroot}%{python3_sitearch}
export PATH PYTHONPATH export PATH PYTHONPATH
%{__python3} rundoctests.py src/cysignals/*.pyx %{python3} rundoctests.py src/cysignals/*.pyx
%files -n python3-%{modname} %files -n python3-%{modname}
%license LICENSE %license LICENSE
@ -116,6 +118,10 @@ export PATH PYTHONPATH
%{_docdir}/%{name}/html %{_docdir}/%{name}/html
%changelog %changelog
* Mon Nov 9 2020 Jerry James <loganjerry@gmail.com> - 1.10.2-10
- Rebuild for pari 2.13.0
- Add pari-devel R to -devel subpackage
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.2-9 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.2-9
- Second attempt - Rebuilt for - Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild