diff --git a/asyncpg-0.24.0-use-sphinxcontrib-trio.patch b/asyncpg-0.24.0-use-sphinxcontrib-trio.patch deleted file mode 100644 index 5a6280c..0000000 --- a/asyncpg-0.24.0-use-sphinxcontrib-trio.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur asyncpg-0.24.0-original/docs/conf.py asyncpg-0.24.0/docs/conf.py ---- asyncpg-0.24.0-original/docs/conf.py 2021-08-10 01:13:59.000000000 -0400 -+++ asyncpg-0.24.0/docs/conf.py 2021-08-26 07:46:10.479792149 -0400 -@@ -27,7 +27,7 @@ - 'sphinx.ext.viewcode', - 'sphinx.ext.githubpages', - 'sphinx.ext.intersphinx', -- 'sphinxcontrib.asyncio', -+ 'sphinxcontrib_trio', - ] - - add_module_names = False -diff -Naur asyncpg-0.24.0-original/setup.py asyncpg-0.24.0/setup.py ---- asyncpg-0.24.0-original/setup.py 2021-08-10 01:13:59.000000000 -0400 -+++ asyncpg-0.24.0/setup.py 2021-08-26 07:48:50.788826225 -0400 -@@ -40,7 +40,7 @@ - # Dependencies required to build documentation. - DOC_DEPENDENCIES = [ - 'Sphinx~=4.1.2', -- 'sphinxcontrib-asyncio~=0.3.0', -+ 'sphinxcontrib-trio~=1.1.2', - 'sphinx_rtd_theme~=0.5.2', - ] - diff --git a/python-asyncpg.spec b/python-asyncpg.spec index 7420021..e3252a5 100644 --- a/python-asyncpg.spec +++ b/python-asyncpg.spec @@ -7,10 +7,6 @@ License: ASL 2.0 URL: https://github.com/MagicStack/asyncpg Source0: %{pypi_source asyncpg} -# Replace sphinxcontrib-asyncio with sphinxcontrib-trio -# https://bugzilla.redhat.com/show_bug.cgi?id=1991952 -Patch0: asyncpg-0.24.0-use-sphinxcontrib-trio.patch - BuildRequires: gcc BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros @@ -48,7 +44,6 @@ http://magic.io/blog/asyncpg-1m-rows-from-postgres-to-python/.} %package -n python3-asyncpg Summary: %{summary} - %description -n python3-asyncpg %{common_description} @@ -63,7 +58,7 @@ Requires: python3-docs %prep -%autosetup -n asyncpg-%{version} -p1 +%autosetup -n asyncpg-%{version} # Remove pre-generated C sources from Cython to ensure they are re-generated # and not used in the build. Note that recordobj.c is not a generated source,