Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/python-readthedocs-sphinx-ext.git#fca65a444db32d7d118645c73edf0851dc2ce8ae
This commit is contained in:
DistroBaker 2021-01-20 00:12:58 +00:00
parent c993041975
commit 53278d65c1
2 changed files with 13 additions and 13 deletions

View File

@ -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 <loganjerry@gmail.com> - 2.1.3-1
- Version 2.1.3
- Revert to the py3_* macros (avoids dependency on external mock)
* Wed Jan 6 2021 Jerry James <loganjerry@gmail.com> - 2.1.2-1
- Version 2.1.2

View File

@ -1 +1 @@
SHA512 (readthedocs-sphinx-ext-2.1.2.tar.gz) = 12974b914151e7875afbcf27cc583a88d20932996f0b0e96acfc8935d8b7b5b98ef1dad35483c0a71ce3b948ad2973ecaaa2b64cdc8ad3551515961df78a49ca
SHA512 (readthedocs-sphinx-ext-2.1.3.tar.gz) = 6ee1f6b08a12782624a77658fdfa0db70524dbeb6f73cd9877e5206c9509114455ba560509533f89055946041591536f61c88a570e589321deaf734e2b25c0d3