Fix doc build with newer sphinx versions (rhbz#2180475)

f41
Michele Baldessari 2 years ago
parent 494a6c7a8d
commit a3d3a4206a

@ -0,0 +1,19 @@
diff --git a/docs/conf.py b/docs/conf.py
index 274263a1..8f30eb14 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -26,10 +26,10 @@
exclude_patterns = ['_build']
extlinks = {
- 'bug': ('https://github.com/quodlibet/mutagen/issues/%s', '#'),
- 'pr': ('https://github.com/quodlibet/mutagen/pull/%s', '#pr'),
- 'commit': ('https://github.com/quodlibet/mutagen/commit/%s', '#'),
- 'user': ('https://github.com/%s', ''),
+ 'bug': ('https://github.com/quodlibet/mutagen/issues/%s', '#%s'),
+ 'pr': ('https://github.com/quodlibet/mutagen/pull/%s', '#pr%s'),
+ 'commit': ('https://github.com/quodlibet/mutagen/commit/%s', '%s'),
+ 'user': ('https://github.com/%s', '%s'),
}

@ -4,7 +4,7 @@
Name: python-%{modname}
Version: 1.46.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Mutagen is a Python module to handle audio meta-data
# licensecheck -r . | grep -vEe "UNKNOWN" -e "GNU General Public License v2.0" | sort
@ -23,6 +23,8 @@ License: GPL-2.0-or-later AND MIT
URL: https://github.com/quodlibet/mutagen
Source0: %{url}/releases/download/release-%{version}/%{modname}-%{version}.tar.gz
# Fix extlinks with sphinx >= 6.0.0
Patch0: 37b4e6bddc03e1f715425c418ea84bac15116907.diff
BuildArch: noarch
%global _description \
@ -99,6 +101,9 @@ rm -rf docs/_build/{.buildinfo,.doctrees}
%doc docs/_build/*
%changelog
* Mon Mar 27 2023 Michele Baldessari <michele@acksyn.org> - 1.46.0-4
- Fix doc build with newer sphinx versions (rhbz#2180475)
* Wed Feb 01 2023 Maxwell G <gotmax@e.email> - 1.46.0-3
- Adopt new licensing guidelines (SPDX)
- Specfile cleanup

Loading…
Cancel
Save