Use sphinx instead of the %{upstream_name} macro

It's easily readable and the upstream name doesn't change that often.
This commit is contained in:
Karolina Surma 2023-08-14 10:44:58 +02:00
parent 55bd0f7f4a
commit d3ad84c154

View File

@ -20,8 +20,6 @@
# During texlive updates, sometimes the latex environment is unstable
%bcond latex_tests 1
%global upstream_name sphinx
Name: python-sphinx
%global general_version 7.1.2
#global prerel ...
@ -36,7 +34,7 @@ Summary: Python documentation generator
License: BSD-2-Clause AND MIT
URL: https://www.sphinx-doc.org/
Source: %{pypi_source %{upstream_name} %{upstream_version}}
Source: %{pypi_source sphinx %{upstream_version}}
# Allow extra themes to exist. We pull in python3-sphinx-theme-alabaster
# which causes that test to fail.
@ -233,7 +231,7 @@ This package contains documentation in the HTML format.
%prep
%autosetup -n %{upstream_name}-%{upstream_version} -p1
%autosetup -n sphinx-%{upstream_version} -p1
%if %{without imagemagick_tests}
rm tests/test_ext_imgconverter.py