[python-tag] Update to 2013.1 (fix FTBFS)

Peter Robinson pbrobinson at fedoraproject.org
Mon Apr 1 09:55:44 UTC 2013


commit 1e99fdcfe6d74ec6fba16ea0f0a30fbe8fcfd8b7
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Mon Apr 1 10:55:34 2013 +0100

    Update to 2013.1 (fix FTBFS)

 .gitignore                     |    1 +
 python-tag.spec                |   28 +++++++++-------------------
 sources                        |    2 +-
 tagpy-0.94.8-boostpython.patch |   12 ------------
 4 files changed, 11 insertions(+), 32 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c64683a..53192bf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /tagpy-0.94.5.tar.gz
 /tagpy-0.94.8.tar.gz
+/tagpy-2013.1.tar.gz
diff --git a/python-tag.spec b/python-tag.spec
index fec92b7..a21595a 100644
--- a/python-tag.spec
+++ b/python-tag.spec
@@ -2,14 +2,13 @@
 
 Summary: Python bindings for TagLib to read and write music files tags
 Name: python-tag
-Version: 0.94.8
-Release: 6%{?dist}
+Version: 2013.1
+Release: 1%{?dist}
 License: BSD
 Group: Development/Languages
 URL: http://pypi.python.org/pypi/tagpy
 Source0: http://pypi.python.org/packages/source/t/tagpy/tagpy-%{version}.tar.gz
-Patch0: tagpy-0.94.8-boostpython.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
 Provides: tagpy = %{version}-%{release}
 BuildRequires: python-devel
 BuildRequires: python-setuptools-devel
@@ -21,32 +20,23 @@ TagPy is a Python crust (or a set of Python bindings) for TagLib, which allows
 to read and write ID3 tags of version 1 and 2, access Xiph Comments in Ogg
 Vorbis Files and Ogg Flac Files and access APE tags in Musepack and MP3 files.
 
-
 %prep
 %setup -q -n tagpy-%{version}
-%patch0 -p1 -b .boostpython
-
 
 %build
-CFLAGS="%{optflags} `pkg-config --cflags taglib`" %{__python} setup.py build
-
+CFLAGS="%{optflags} `pkg-config --cflags taglib`" python setup.py build
 
 %install
-rm -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
-
-
-%clean
-rm -rf %{buildroot}
-
+python setup.py install -O1 --skip-build --root %{buildroot}
 
 %files
-%defattr(-,root,root,-)
-%doc README test/*.py test/tagrename
+%doc LICENSE test/*.py test/tagrename
 %{python_sitearch}/*
 
-
 %changelog
+* Mon Apr  1 2013 Peter Robinson <pbrobinson at fedoraproject.org> 2013.1-1
+- Update to 2013.1 (fix FTBFS)
+
 * Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora at m4x.org> - 0.94.8-6
 - Rebuild for Boost-1.53.0
 
diff --git a/sources b/sources
index bc8d0a3..76d2bd5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6baff63318cf90b9bc5a2497a0597802  tagpy-0.94.8.tar.gz
+96cbbd8adb8a6c0b9c21851979cc7c64  tagpy-2013.1.tar.gz


More information about the scm-commits mailing list