diff --git a/python3-docs.spec b/python3-docs.spec index 3d98774..abcec9d 100644 --- a/python3-docs.spec +++ b/python3-docs.spec @@ -7,16 +7,13 @@ Summary: Documentation for the Python 3 programming language #global prerel ... %global upstream_version %{general_version}%{?prerel} Version: %{general_version}%{?prerel:~%{prerel}} -Release: 1%{?dist} +Release: 2%{?dist} License: Python URL: https://www.python.org/ Source0: %{url}ftp/python/%{general_version}/Python-%{upstream_version}.tar.xz Source1: %{url}ftp/python/%{general_version}/Python-%{upstream_version}.tar.xz.asc Source2: %{url}static/files/pubkeys.txt -%global theme_version 2020.12 -Source3: %{pypi_source python-docs-theme %{theme_version}} - BuildArch: noarch Recommends: python3 = %{version} @@ -24,6 +21,7 @@ Recommends: python3 = %{version} BuildRequires: make BuildRequires: %{__python3} +BuildRequires: python3-docs-theme BuildRequires: (python3-sphinx < 1:3 or python3-sphinx >= 1:3.2) BuildRequires: python3-docutils BuildRequires: python3-pygments @@ -43,11 +41,6 @@ programming language and interpreter. %gpgverify -k2 -s1 -d0 %autosetup -p1 -n Python-%{upstream_version} -# unpack the Sphinx theme to the right location -tar -xf %{SOURCE3} python-docs-theme-%{theme_version}/python_docs_theme -mv python-docs-theme-%{theme_version}/python_docs_theme Doc/tools -rmdir python-docs-theme-%{theme_version} - %build make -C Doc html PYTHON=%{__python3} rm Doc/build/html/.buildinfo @@ -73,6 +66,9 @@ linkchecker \ %doc Misc/NEWS Misc/HISTORY Misc/README Doc/build/html %changelog +* Mon Mar 08 2021 Lumír Balhar - 3.9.2-2 +- Unbundle python-docs-theme + * Mon Mar 08 2021 Lumír Balhar - 3.9.2-1 - Update to 3.9.2 diff --git a/sources b/sources index 9c1cbae..b6be372 100644 --- a/sources +++ b/sources @@ -1,3 +1,2 @@ SHA512 (Python-3.9.2.tar.xz) = b204d865e4c974951830008c381678876987da267c37bce3b4e488c07aa744658e57b8dc5d248051d0391f3b580e69877f7772abc0a0de5288349d448ccf0789 SHA512 (Python-3.9.2.tar.xz.asc) = 47705411c7e7b7e41948ccdc4ff17430af7c953f877442f2fecf4225e6a8e5b8313f0ace54c4e0faaa409e4e5cf75b7502962f40db9e4f12a52f5d622cb6d3ce -SHA512 (python-docs-theme-2020.12.tar.gz) = 4229019a9829c1c34b67300a9b9ad89dd094b9a84b10131903fe50a0aee11dad0bfd0c29e5d30a1c4206a29046d67570be49af87923847ba17923bd3c8460b43