diff --git a/python-mutagen.spec b/python-mutagen.spec index 167b2d1..74ea4c0 100644 --- a/python-mutagen.spec +++ b/python-mutagen.spec @@ -4,7 +4,7 @@ Name: python-%{modname} Version: 1.42.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Mutagen is a Python module to handle audio meta-data License: GPLv2+ @@ -23,16 +23,6 @@ includes a module to handle generic Ogg bit-streams. %description %{_description} -%package -n python2-%{modname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{modname}} -BuildRequires: python2-devel -BuildRequires: python2-pytest - -%description -n python2-%{modname} %{_description} - -Python 2 version. - %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} @@ -56,13 +46,11 @@ Contains the html documentation for python mutagen. %autosetup -n %{modname}-%{version} -p1 %build -%py2_build %py3_build sphinx-build -b html -n docs docs/_build %install -%py2_install %py3_install %{__install} -D -p -m 0644 man/*.1 %{buildroot}%{_mandir}/man1 @@ -76,20 +64,8 @@ rm -rf docs/_build/{.buildinfo,.doctrees} # with the code. rm -rv tests/quality/ -# Without this the testsuite fails with -# RuntimeError: This test suite needs a unicode locale encoding. Try setting LANG=C.UTF-8 -export LANG=C.UTF-8 %{__python3} setup.py test -# skip test that depends on python2-hypothesis -rm tests/test___init__.py -%{__python2} setup.py test - -%files -n python2-%{modname} -%license COPYING -%doc NEWS README.rst -%{python2_sitelib}/%{modname}-*.egg-info -%{python2_sitelib}/%{modname}/ %files -n python3-%{modname} %license COPYING @@ -104,6 +80,10 @@ rm tests/test___init__.py %doc docs/_build/* %changelog +* Thu Nov 28 2019 Miro HronĨok - 1.42.0-9 +- Subpackage python2-mutagen has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Tue Oct 29 2019 Petr Viktorin - 1.42.0-8 - Remove build dependency on python2-hypothesis, skip related tests