diff --git a/.gitignore b/.gitignore index 9e3a0df..0399d31 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ mutagen-1.19.tar.gz +/mutagen-1.20.tar.gz diff --git a/python-mutagen.spec b/python-mutagen.spec index f25e57f..87220b6 100644 --- a/python-mutagen.spec +++ b/python-mutagen.spec @@ -1,15 +1,14 @@ -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%global realname mutagen -Name: python-mutagen -Version: 1.19 -Release: 2%{?dist} +Name: python-%{realname} +Version: 1.20 +Release: 1%{?dist} Summary: Mutagen is a Python module to handle audio metadata Group: Development/Languages License: GPLv2 URL: http://code.google.com/p/mutagen -Source0: http://mutagen.googlecode.com/files/mutagen-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://mutagen.googlecode.com/files/%{realname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python-devel @@ -23,9 +22,9 @@ info blocks, and Ogg Vorbis/FLAC/Theora stream headers. Finally, it includes a module to handle generic Ogg bitstreams. %prep -%setup -q -n mutagen-%{version} +%setup -q -n %{realname}-%{version} # Fix non-executable-script error -sed -i '/^#! \/usr\/bin\/env python/,+1 d' mutagen/__init__.py +sed -i '/^#! \/usr\/bin\/env python/,+1 d' %{realname}/__init__.py # Fix wrong-file-end-of-line-encoding warning sed -i 's/\r//' TUTORIAL @@ -33,24 +32,23 @@ sed -i 's/\r//' TUTORIAL %{__python} setup.py build %install -rm -rf %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot} %check -./setup.py test - -%clean -rm -rf %{buildroot} +%{__python} setup.py test %files %defattr(-,root,root,-) %doc API-NOTES COPYING NEWS README TODO TUTORIAL -%{_bindir}/* -%{_mandir}/man*/*gz -%{python_sitelib}/mutagen -%{python_sitelib}/mutagen-%{version}-*.egg-info +%{_bindir}/m* +%{_mandir}/man1/m*.1* +%{python_sitelib}/%{realname} +%{python_sitelib}/%{realname}-%{version}-*.egg-info %changelog +* Sun Dec 19 2010 Silas Sewell - 1.20-1 +- Update to 1.20 + * Thu Jul 22 2010 David Malcolm - 1.19-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild diff --git a/sources b/sources index 97eaf84..602f1ff 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 68132949f3cd68491b87ff880ded4680 mutagen-1.19.tar.gz +adb16d9f6056bc864a5c86c6f885af79 mutagen-1.20.tar.gz