Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2015-04-06 00:26:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and      /work/SRC/openSUSE:Factory/.python-mutagen.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mutagen"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes    
2014-11-15 12:25:51.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new/python-mutagen.changes       
2015-04-06 00:26:16.000000000 +0200
@@ -1,0 +2,21 @@
+Thu Apr  2 10:06:28 UTC 2015 - apla...@suse.com
+
+- Updated to 1.28
+  * Various minor fixes to make mutagen behave the same under Python3 as under 
Python2.
+  * Update gpl text [205]
+  * Documentation: Add example for how to create a new flac.Picture [209]
+  * ID3:
+    * Various error handling fixes ([110], [211], ...)
+    * Don’t hide ID3 loading errors with ID3FileType.
+    * In case a synch safe marked frame isn’t sync safe, only warn [210]
+    * Removed PEDANTIC mode
+  * Tools:
+    * Add signal handling [170]
+    * mid3cp: Make it work under Windows.
+    * mutagen-inspect: Make it work under Windows+Python3 [216]
+    * Support unicode file paths under Windows+Python2 [214]
+    * Support file paths with invalid encoding under Unix+Python3.
+- Adapt the spec file for SLE11
+- Replace names of scripts in setup.py
+
+-------------------------------------------------------------------

Old:
----
  mutagen-1.22.tar.gz

New:
----
  mutagen-1.28.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-mutagen.spec ++++++
--- /var/tmp/diff_new_pack.OLMJtm/_old  2015-04-06 00:26:17.000000000 +0200
+++ /var/tmp/diff_new_pack.OLMJtm/_new  2015-04-06 00:26:17.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mutagen
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,11 +16,8 @@
 #
 
 
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?py_ver %global py_ver %(python -c "import sys; v=sys.version_info[:2]; 
print '%%d.%%d'%%v" 2>/dev/null || echo PYTHON-NOT-FOUND)}
-
 Name:           python-mutagen
-Version:        1.22
+Version:        1.28
 Release:        0
 Summary:        Python module to Handle Audio Metadata
 License:        GPL-2.0
@@ -32,7 +29,9 @@
 Requires(post):        update-alternatives
 Requires(postun): update-alternatives
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} > 1110
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%else
 BuildArch:      noarch
 %endif
 
@@ -50,10 +49,9 @@
 # remove shebangs from library files
 find mutagen/ -name "*.py" -exec sed -i -e  
'/^#!\s\?\/usr\/bin\/\(env\s\)\?python$/d' {} ';'
 
-for i in `ls tools` ; do
+for i in mid3cp mid3iconv mid3v2 moggsplit mutagen-inspect mutagen-pony; do
+    sed -i "s/\"${i}\"/\"${i}-%{py_ver}\"/g" setup.py
        mv tools/${i} tools/${i}-%{py_ver}
-done
-for i in `ls man | sed "s/\.1//"` ; do
        mv man/${i}.1 man/${i}-%{py_ver}.1
 done
 
@@ -62,12 +60,14 @@
 
 %install
 python setup.py install --root=%{buildroot} --prefix="%{_prefix}" 
+ln -sf %{_bindir}/mid3cp-%{py_ver} %{buildroot}%{_bindir}/mid3cp
 ln -sf %{_bindir}/mid3iconv-%{py_ver} %{buildroot}%{_bindir}/mid3iconv
 ln -sf %{_bindir}/mid3v2-%{py_ver} %{buildroot}%{_bindir}/mid3v2
 ln -sf %{_bindir}/moggsplit-%{py_ver} %{buildroot}%{_bindir}/moggsplit
 ln -sf %{_bindir}/mutagen-inspect-%{py_ver} 
%{buildroot}%{_bindir}/mutagen-inspect
 ln -sf %{_bindir}/mutagen-pony-%{py_ver} %{buildroot}%{_bindir}/mutagen-pony
 
+ln -sf %{_mandir}/man1/mid3cp-%{py_ver}.1.gz 
%{buildroot}%{_mandir}/man1/mid3cp.1.gz
 ln -sf %{_mandir}/man1/mid3iconv-%{py_ver}.1.gz 
%{buildroot}%{_mandir}/man1/mid3iconv.1.gz
 ln -sf %{_mandir}/man1/mid3v2-%{py_ver}.1.gz 
%{buildroot}%{_mandir}/man1/mid3v2.1.gz
 ln -sf %{_mandir}/man1/moggsplit-%{py_ver}.1.gz 
%{buildroot}%{_mandir}/man1/moggsplit.1.gz
@@ -77,11 +77,13 @@
 %pre
 # Since binaries became ghosted to be used with update-alternatives, we have 
to get rid
 # of the old binary resulting from the non-update-alternativies-ified package:
+[ -h %{_bindir}/mid3cp ] || rm -f %{_bindir}/mid3cp
 [ -h %{_bindir}/mid3iconv ] || rm -f %{_bindir}/mid3iconv
 [ -h %{_bindir}/mid3v2 ] || rm -f %{_bindir}/mid3v2
 [ -h %{_bindir}/moggsplit ] || rm -f %{_bindir}/moggsplit
 [ -h %{_bindir}/mutagen-inspect ] || rm -f %{_bindir}/mutagen-inspect
 [ -h %{_bindir}/mutagen-pony ] || rm -f %{_bindir}/mutagen-pony
+[ -h %{_mandir}/man1/mid3cp.1.gz ] || rm -f %{_mandir}/man1/mid3cp.1.gz
 [ -h %{_mandir}/man1/mid3iconv.1.gz ] || rm -f %{_mandir}/man1/mid3iconv.1.gz
 [ -h %{_mandir}/man1/mid3v2.1.gz ] || rm -f %{_mandir}/man1/mid3v2.1.gz
 [ -h %{_mandir}/man1/moggsplit.1.gz ] || rm -f %{_mandir}/man1/moggsplit.1.gz
@@ -90,11 +92,13 @@
 
 %post
 update-alternatives \
---install %{_bindir}/mid3iconv mid3iconv %{_bindir}/mid3iconv-%{py_ver} 30 \
+--install %{_bindir}/mid3cp mid3cp %{_bindir}/mid3cp-%{py_ver} 30 \
+--slave %{_bindir}/mid3iconv mid3iconv %{_bindir}/mid3iconv-%{py_ver} \
 --slave %{_bindir}/mid3v2 mid3v2 %{_bindir}/mid3v2-%{py_ver} \
 --slave %{_bindir}/moggsplit moggsplit %{_bindir}/moggsplit-%{py_ver} \
 --slave %{_bindir}/mutagen-inspect mutagen-inspect 
%{_bindir}/mutagen-inspect-%{py_ver} \
 --slave %{_bindir}/mutagen-pony mutagen-pony %{_bindir}/mutagen-pony-%{py_ver} 
\
+--slave %{_mandir}/man1/mid3cp.1.gz mid3cp.1.gz 
%{_mandir}/man1/mid3cp-%{py_ver}.1.gz \
 --slave %{_mandir}/man1/mid3iconv.1.gz mid3iconv.1.gz 
%{_mandir}/man1/mid3iconv-%{py_ver}.1.gz \
 --slave %{_mandir}/man1/mid3v2.1.gz mid3v2.1.gz 
%{_mandir}/man1/mid3v2-%{py_ver}.1.gz \
 --slave %{_mandir}/man1/moggsplit.1.gz moggsplit.1.gz 
%{_mandir}/man1/moggsplit-%{py_ver}.1.gz \
@@ -103,12 +107,14 @@
 
 %preun
 if [ $1 -eq 0 ] ; then
-       update-alternatives --remove mid3iconv %{_bindir}/mid3iconv-%{py_ver}
+    update-alternatives --remove mid3cp %{_bindir}/mid3cp-%{py_ver}
 fi
 
 %files
 %defattr(-, root, root, 0755)
-%doc COPYING NEWS README TODO
+%doc COPYING NEWS README.rst
+%ghost %{_bindir}/mid3cp
+%{_bindir}/mid3cp-%{py_ver}
 %ghost %{_bindir}/mid3iconv
 %{_bindir}/mid3iconv-%{py_ver}
 %ghost %{_bindir}/mid3v2
@@ -121,6 +127,8 @@
 %{_bindir}/mutagen-pony-%{py_ver}
 %{python_sitelib}/mutagen
 %{python_sitelib}/mutagen-%{version}-py%{py_ver}.egg-info
+%ghost %{_mandir}/man1/mid3cp.1.gz
+%{_mandir}/man1/mid3cp-%{py_ver}.1.gz
 %ghost %{_mandir}/man1/mid3iconv.1.gz
 %{_mandir}/man1/mid3iconv-%{py_ver}.1.gz
 %ghost %{_mandir}/man1/mid3v2.1.gz

++++++ mutagen-1.22.tar.gz -> mutagen-1.28.tar.gz ++++++
++++ 28195 lines of diff (skipped)


Reply via email to