No longer unbundle fonts
The theme uses native fonts now; no need to unbundle anything
This commit is contained in:
parent
1858eca041
commit
e71800a2ee
16
py3c.spec
16
py3c.spec
@ -3,7 +3,7 @@
|
||||
|
||||
Name: py3c
|
||||
Version: 1.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Guide and compatibility macros for porting extensions to Python 3
|
||||
|
||||
# Licences differ for subpackages
|
||||
@ -17,7 +17,7 @@ BuildRequires: gcc
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-sphinx_rtd_theme
|
||||
BuildRequires: python3-sphinx_rtd_theme >= 0.4.3
|
||||
|
||||
%description
|
||||
py3c helps you port C extensions to Python 3.
|
||||
@ -44,8 +44,6 @@ BuildArch: noarch
|
||||
License: CC-BY-SA
|
||||
Summary: Guide for porting C extensions to Python 3
|
||||
|
||||
Requires: python3-sphinx_rtd_theme
|
||||
|
||||
%description doc
|
||||
Guide for porting CPython extensions from Python 2 to Python 3, using the
|
||||
py3c macros.
|
||||
@ -58,13 +56,6 @@ make %{?_smp_mflags} py3c.pc includedir=%{_includedir}
|
||||
|
||||
make %{?_smp_mflags} doc SPHINXBUILD=sphinx-build-3
|
||||
|
||||
# unbundle fonts provided by the theme package
|
||||
bundledfonts=doc/build/html/_static/fonts
|
||||
themefonts=%{python3_sitelib}/sphinx_rtd_theme/static/fonts
|
||||
diff -r $bundledfonts $themefonts
|
||||
rm -rv $bundledfonts
|
||||
ln -s $themefonts $bundledfonts
|
||||
|
||||
%check
|
||||
export CFLAGS="%{optflags}"
|
||||
make %{?_smp_mflags} test-python3
|
||||
@ -89,6 +80,9 @@ sed --in-place -e's!%{buildroot}!!' %{buildroot}%{_datadir}/pkgconfig/py3c.pc
|
||||
%doc %{_pkgdocdir}/
|
||||
|
||||
%changelog
|
||||
* Thu Jan 07 2021 Petr Viktorin <pviktori@redhat.com> - 1.3-2
|
||||
- No longer unbundle fonts
|
||||
|
||||
* Sun Nov 29 2020 Petr Viktorin <pviktori@redhat.com> - 1.3-1
|
||||
- Update to 1.3
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user