|
|
|
@ -3,8 +3,8 @@
|
|
|
|
|
%global _docdir_fmt %{name}
|
|
|
|
|
|
|
|
|
|
Name: python-%{modname}
|
|
|
|
|
Version: 1.38
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 1.39
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Mutagen is a Python module to handle audio meta-data
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
@ -27,7 +27,10 @@ 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
|
|
|
|
|
BuildRequires: python2-pytest-flakes
|
|
|
|
|
BuildRequires: python2-pytest-pep8
|
|
|
|
|
|
|
|
|
|
%description -n python2-%{modname} %{_description}
|
|
|
|
|
|
|
|
|
@ -37,7 +40,10 @@ Python 2 version.
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python3-%{modname}}
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-hypothesis
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-pytest-flakes
|
|
|
|
|
BuildRequires: python3-pytest-pep8
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{modname} %{_description}
|
|
|
|
|
|
|
|
|
@ -73,6 +79,8 @@ rm -rf docs/_build/{.buildinfo,.doctrees}
|
|
|
|
|
# RuntimeError: This test suite needs a unicode locale encoding. Try setting LANG=C.UTF-8
|
|
|
|
|
export LANG=C.UTF-8
|
|
|
|
|
%{__python2} setup.py test
|
|
|
|
|
# FIXME: seems pyflakes is broken on py3 (get a bunch of undefined name 'long', 'basestring', ...)
|
|
|
|
|
mv tests/quality/test_pyflakes.py tests/quality/test_pyflakes.py.broken
|
|
|
|
|
%{__python3} setup.py test
|
|
|
|
|
|
|
|
|
|
%files -n python2-%{modname}
|
|
|
|
@ -94,6 +102,10 @@ export LANG=C.UTF-8
|
|
|
|
|
%doc docs/_build/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Nov 06 2017 Michele Baldessari <michele@acksyn.org> - 1.39-1
|
|
|
|
|
- New upstream
|
|
|
|
|
- Requires python*-hypothesis
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|