diff --git a/python-sphinx.spec b/python-sphinx.spec index 50faca8..69ac6a1 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -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