diff --git a/.gitignore b/.gitignore index 250facc..818aed4 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ mutagen-1.19.tar.gz /release-1.36.1.tar.gz /mutagen-1.36.2.tar.gz /mutagen-1.37.tar.gz +/mutagen-1.38.tar.gz diff --git a/python-mutagen.spec b/python-mutagen.spec index ed9bf9c..c3a7d54 100644 --- a/python-mutagen.spec +++ b/python-mutagen.spec @@ -2,14 +2,8 @@ # Share doc between python2- and python3- %global _docdir_fmt %{name} -%if 0%{?rhel} && 0%{?rhel} <= 7 -%bcond_with python3 -%else -%bcond_without python3 -%endif - Name: python-%{modname} -Version: 1.37 +Version: 1.38 Release: 1%{?dist} Summary: Mutagen is a Python module to handle audio meta-data @@ -39,7 +33,6 @@ BuildRequires: python2-pytest Python 2 version. -%if %{with python3} %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} @@ -49,7 +42,6 @@ BuildRequires: python3-pytest %description -n python3-%{modname} %{_description} Python 3 version. -%endif %package doc Summary: Documentation for python-mutagen @@ -63,9 +55,7 @@ Contains the html documentation for python mutagen. %build %py2_build -%if %{with python3} %py3_build -%endif sphinx-build -b html -n docs docs/_build @@ -85,9 +75,7 @@ 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 -%if %{with python3} %{__python3} setup.py test -%endif %files -n python2-%{modname} %license COPYING @@ -95,13 +83,11 @@ export LANG=C.UTF-8 %{python2_sitelib}/%{modname}-*.egg-info %{python2_sitelib}/%{modname}/ -%if %{with python3} %files -n python3-%{modname} %license COPYING %doc NEWS README.rst %{python3_sitelib}/%{modname}-*.egg-info %{python3_sitelib}/%{modname}/ -%endif %{_bindir}/* %{_mandir}/man1/*.1* @@ -110,6 +96,9 @@ export LANG=C.UTF-8 %doc docs/_build/* %changelog +* Thu Jun 08 2017 Igor Gnatenko - 1.38-1 +- Update to 1.38 + * Mon Mar 13 2017 Michele Baldessari - 1.37-1 - New upstream diff --git a/sources b/sources index c7c8e91..69f12c2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mutagen-1.37.tar.gz) = 1b46ec368d62d850153fae47c549d7f68e699b5fd696fa408d26d3b4905491d60cbf02588e0c34f2eb434e5d8ddac50c26f6bc0d31f1677177c3c30b2b55431b +SHA512 (mutagen-1.38.tar.gz) = 7ce063fa2e0e31affb1809637bed21b18ea1acaa2d6b17fc36a027a84f0bd835dc6d1ca1a6752effa90d08b76a5d5e4b0d7033960793234064d6ffd41a92e9cd