|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
|
|
|
|
|
Name: python-%{modname}
|
|
|
|
|
Version: 1.42.0
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Summary: Mutagen is a Python module to handle audio meta-data
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
@ -27,7 +27,6 @@ includes a module to handle generic Ogg bit-streams.
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python2-%{modname}}
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python2-hypothesis
|
|
|
|
|
BuildRequires: python2-pytest
|
|
|
|
|
|
|
|
|
|
%description -n python2-%{modname} %{_description}
|
|
|
|
@ -80,9 +79,12 @@ 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
|
|
|
|
|
%{__python2} setup.py test
|
|
|
|
|
%{__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
|
|
|
|
@ -102,6 +104,9 @@ export LANG=C.UTF-8
|
|
|
|
|
%doc docs/_build/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2019 Petr Viktorin <pviktori@redhat.com> - 1.42.0-8
|
|
|
|
|
- Remove build dependency on python2-hypothesis, skip related tests
|
|
|
|
|
|
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.42.0-7
|
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
|
|
|
|
|