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