diff --git a/python-readthedocs-sphinx-ext.spec b/python-readthedocs-sphinx-ext.spec index 70a50d5..18e0e38 100644 --- a/python-readthedocs-sphinx-ext.spec +++ b/python-readthedocs-sphinx-ext.spec @@ -1,7 +1,7 @@ %global srcname readthedocs-sphinx-ext Name: python-%{srcname} -Version: 2.1.2 +Version: 2.1.3 Release: 1%{?dist} Summary: Sphinx extension for Read the Docs overrides @@ -10,11 +10,10 @@ URL: https://github.com/readthedocs/readthedocs-sphinx-ext Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch -BuildRequires: pyproject-rpm-macros - -# upstream supports multiple sphinx versions -# tox specifies dependency on sphinx based on toxenv, -# so we add it manually here +BuildRequires: python3-devel +BuildRequires: %{py3_dist jinja2} +BuildRequires: %{py3_dist pytest} +BuildRequires: %{py3_dist requests} BuildRequires: %{py3_dist sphinx} %global _desc %{expand: @@ -35,18 +34,15 @@ Summary: Sphinx extension for Read the Docs overrides %prep %autosetup -n %{srcname}-%{version} -%generate_buildrequires -%pyproject_buildrequires -t - %build -%pyproject_wheel +%py3_build rst2html --no-datestamp README.rst README.html %install -%pyproject_install +%py3_install %check -%tox +pytest %files -n python3-%{srcname} %doc README.html @@ -55,6 +51,10 @@ rst2html --no-datestamp README.rst README.html %{python3_sitelib}/readthedocs_sphinx_ext* %changelog +* Tue Jan 19 2021 Jerry James - 2.1.3-1 +- Version 2.1.3 +- Revert to the py3_* macros (avoids dependency on external mock) + * Wed Jan 6 2021 Jerry James - 2.1.2-1 - Version 2.1.2 diff --git a/sources b/sources index bd19377..393926a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (readthedocs-sphinx-ext-2.1.2.tar.gz) = 12974b914151e7875afbcf27cc583a88d20932996f0b0e96acfc8935d8b7b5b98ef1dad35483c0a71ce3b948ad2973ecaaa2b64cdc8ad3551515961df78a49ca +SHA512 (readthedocs-sphinx-ext-2.1.3.tar.gz) = 6ee1f6b08a12782624a77658fdfa0db70524dbeb6f73cd9877e5206c9509114455ba560509533f89055946041591536f61c88a570e589321deaf734e2b25c0d3