Rebuild for pari 2.13.0. Add pari-devel R to -devel subpackage.
This commit is contained in:
parent
d1d8c030cc
commit
b481133470
@ -5,13 +5,14 @@
|
||||
|
||||
Name: python-%{modname}
|
||||
Version: 1.10.2
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
Summary: Interrupt and signal handling for Cython
|
||||
License: LGPLv3+
|
||||
URL: https://github.com/sagemath/%{modname}
|
||||
Source0: https://github.com/sagemath/%{modname}/releases/download/%{version}/%{modname}-%{version}.tar.gz
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: make
|
||||
BuildRequires: pari-devel
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1445411#c2
|
||||
Patch0: %{name}-gdb.patch
|
||||
@ -54,6 +55,7 @@ BuildRequires: python3dist(setuptools)
|
||||
%package -n python3-%{modname}-devel
|
||||
Summary: %{summary} headers files
|
||||
Requires: python3-%{modname}
|
||||
Requires: pari-devel
|
||||
|
||||
%description -n python3-%{modname}-devel %{_description}
|
||||
|
||||
@ -80,7 +82,7 @@ sed -i 's/language_level=2/language_level=3/' setup.py
|
||||
|
||||
# Build the documentation
|
||||
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
|
||||
|
||||
%install
|
||||
@ -93,7 +95,7 @@ rm %{buildroot}%{_docdir}/%{name}/html/.buildinfo
|
||||
PATH=%{buildroot}%{_bindir}:$PATH
|
||||
PYTHONPATH=%{buildroot}%{python3_sitearch}
|
||||
export PATH PYTHONPATH
|
||||
%{__python3} rundoctests.py src/cysignals/*.pyx
|
||||
%{python3} rundoctests.py src/cysignals/*.pyx
|
||||
|
||||
%files -n python3-%{modname}
|
||||
%license LICENSE
|
||||
@ -116,6 +118,10 @@ export PATH PYTHONPATH
|
||||
%{_docdir}/%{name}/html
|
||||
|
||||
%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
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user