[python-mutagen] New upstream and fixes

Michele Baldessari mbaldessari at fedoraproject.org
Mon Dec 15 14:10:52 UTC 2014


commit 7b492f5f5f260430c7613512abc70b87ed5185a6
Author: Michele Baldessari <michele at acksyn.org>
Date:   Mon Dec 15 15:10:09 2014 +0100

    New upstream and fixes
    
    - New upstream release
    - Only use macro style for buildroot
    - Fixed homepage and source URL
    - Set python2-devel as BR
    - Fix documentation building and shipping
    - Fix spelling errors in description

 .gitignore          |    1 +
 python-mutagen.spec |   36 ++++++++++++++++++++++--------------
 sources             |    3 +--
 3 files changed, 24 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0399d31..c366021 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 mutagen-1.19.tar.gz
 /mutagen-1.20.tar.gz
+/mutagen-1.27.tar.gz
diff --git a/python-mutagen.spec b/python-mutagen.spec
index 55a2c15..3326f39 100644
--- a/python-mutagen.spec
+++ b/python-mutagen.spec
@@ -1,51 +1,59 @@
 %global realname mutagen
 
 Name:           python-%{realname}
-Version:        1.20
-Release:        7%{?dist}
-Summary:        Mutagen is a Python module to handle audio metadata
+Version:        1.27
+Release:        1%{?dist}
+Summary:        Mutagen is a Python module to handle audio meta-data
 
 Group:          Development/Languages
 License:        GPLv2
-URL:            http://code.google.com/p/mutagen
-Source0:        http://mutagen.googlecode.com/files/%{realname}-%{version}.tar.gz
+URL:            https://bitbucket.org/lazka/mutagen/overview
+Source0:        https://bitbucket.org/lazka/mutagen/downloads/mutagen-%{version}.tar.gz
 
 BuildArch:      noarch
-BuildRequires:  python-devel
+BuildRequires:  python2-devel
 
 %description
-Mutagen is a Python module to handle audio metadata. It supports
+Mutagen is a Python module to handle audio meta-data. It supports
 reading ID3 (all versions), APEv2, FLAC, and Ogg Vorbis/FLAC/Theora.
 It can write ID3v1.1, ID3v2.4, APEv2, FLAC, and Ogg Vorbis/FLAC/Theora
 comments. It can also read MPEG audio and Xing headers, FLAC stream
 info blocks, and Ogg Vorbis/FLAC/Theora stream headers. Finally, it
-includes a module to handle generic Ogg bitstreams.
+includes a module to handle generic Ogg bit-streams.
 
 %prep
 %setup -q -n %{realname}-%{version}
-# Fix non-executable-script error
-sed -i '/^#! \/usr\/bin\/env python/,+1 d' %{realname}/__init__.py
-# Fix wrong-file-end-of-line-encoding warning
-sed -i 's/\r//' TUTORIAL
 
 %build
 %{__python} setup.py build
 
 %install
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%{__install} -d %{buildroot}%{_mandir}/man1
+%{__install} -p -m 0644 man/*.1 %{buildroot}%{_mandir}/man1
 
 %check
 %{__python} setup.py test
 
 %files
 %defattr(-,root,root,-)
-%doc API-NOTES COPYING NEWS README TODO TUTORIAL
+%doc COPYING NEWS README.rst docs/tutorial.rst docs/api_notes.rst docs/bugs.rst
 %{_bindir}/m*
-%{_mandir}/man1/m*.1*
+%{_mandir}/*/*
 %{python_sitelib}/%{realname}
 %{python_sitelib}/%{realname}-%{version}-*.egg-info
 
 %changelog
+* Mon Dec 15 2014 Michele Baldessari <michele at acksyn.org> - 1.27-1
+- New upstream release
+- Only use macro style for buildroot
+
+* Sun Nov 23 2014 Michele Baldessari <michele at acksyn.org> - 1.26-1
+- Fixed homepage and source URL
+- Set python2-devel as BR
+- Fix documentation building and shipping
+- Fix spelling errors in description
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.20-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 602f1ff..442e6b1 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-68132949f3cd68491b87ff880ded4680  mutagen-1.19.tar.gz
-adb16d9f6056bc864a5c86c6f885af79  mutagen-1.20.tar.gz
+6a9bb5cc33214add35348f1bb3448340  mutagen-1.27.tar.gz


More information about the scm-commits mailing list