--- /dev/null
+--- mutagen-1.42.0/mutagen/apev2.py~ 2018-11-17 10:56:49.000000000 +0000
++++ mutagen-1.42.0/mutagen/apev2.py 2022-08-19 21:46:55.162926190 +0000
+@@ -32,7 +32,10 @@
+
+ import sys
+ import struct
+-from collections import MutableSequence
++if sys.version_info[:2] >= (3, 8):
++ from collections.abc import MutableSequence
++else:
++ from collections import MutableSequence
+
+ from ._compat import (cBytesIO, PY3, text_type, PY2, reraise, swap_to_string,
+ xrange)
Summary(pl.UTF-8): Moduł Pythona 2 do odczytu i zapisu metadanych dźwiękowych
Name: python-%{module}
Version: 1.42.0
-Release: 7
+Release: 8
License: GPL v2+
Group: Development/Languages/Python
#Source0Download: https://github.com/quodlibet/mutagen/releases
Source0: https://github.com/quodlibet/mutagen/releases/download/release-%{version}/mutagen-%{version}.tar.gz
# Source0-md5: 3729218f974c3a79ee9972ffa5ca5d12
+Patch0: apev2_python39.patch
URL: https://github.com/quodlibet/mutagen
%if %{with python2}
BuildRequires: python-devel >= 1:2.7
%prep
%setup -q -n %{module}-%{version}
+%patch0 -p1
%build
%if %{with python2}