diff --git a/37b4e6bddc03e1f715425c418ea84bac15116907.diff b/37b4e6bddc03e1f715425c418ea84bac15116907.diff new file mode 100644 index 0000000..da8e967 --- /dev/null +++ b/37b4e6bddc03e1f715425c418ea84bac15116907.diff @@ -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'), + } + + diff --git a/python-mutagen.spec b/python-mutagen.spec index f91e7e0..6bd8678 100644 --- a/python-mutagen.spec +++ b/python-mutagen.spec @@ -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 - 1.46.0-4 +- Fix doc build with newer sphinx versions (rhbz#2180475) + * Wed Feb 01 2023 Maxwell G - 1.46.0-3 - Adopt new licensing guidelines (SPDX) - Specfile cleanup