From 80afb5444d9cc93cbac76e614a1ed33e8276c81a Mon Sep 17 00:00:00 2001 From: Christopher Meng Date: Dec 28 2013 05:53:49 +0000 Subject: Update to 0.7.4 --- diff --git a/.gitignore b/.gitignore index dc55b3c..7d35058 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ eyeD3-0.6.17.tar.gz eyeD3-0.6.18.tar.gz /eyeD3-0.7.2.tgz /eyeD3-0.7.3.tgz +/eyeD3-0.7.4.tgz diff --git a/python-eyed3.spec b/python-eyed3.spec index 1f0f41e..a8bb8eb 100644 --- a/python-eyed3.spec +++ b/python-eyed3.spec @@ -1,18 +1,19 @@ Name: python-eyed3 -Version: 0.7.3 -Release: 2%{?dist} +Version: 0.7.4 +Release: 1%{?dist} Summary: Python audio data toolkit (ID3 and MP3) License: GPLv2+ URL: http://eyed3.nicfit.net/ Source0: http://eyed3.nicfit.net/releases/eyeD3-%{version}.tgz - BuildArch: noarch BuildRequires: python2-devel -BuildRequires: python-argparse BuildRequires: python-nose -BuildRequires: python-ordereddict BuildRequires: python-setuptools Requires: python-magic +%if 0%{?rhel} < 7 +Requires: python-argparse +Requires: python-ordereddict +%endif %description A Python module and program for processing ID3 tags. Information about @@ -23,21 +24,42 @@ provided. The formats supported are ID3 v1.0/v1.1 and v2.3/v2.4. %setup -qn eyeD3-%{version} %build +%if 0%{?rhel} < 7 %{__python} setup.py build +%else +%{__python2} setup.py build +%endif %install +%if 0%{?rhel} < 7 %{__python} setup.py install -O1 --skip-build --root=%{buildroot} +%else +%{__python2} setup.py install -O1 --skip-build --root=%{buildroot} +%endif %check +%if 0%{?rhel} < 7 %{__python} setup.py test +%else +%{__python2} setup.py test +%endif %files %doc AUTHORS ChangeLog COPYING README.rst examples/ %{_bindir}/eyeD3 +%if 0%{?rhel} < 7 %{python_sitelib}/eyed3/ -%{python_sitelib}/eyeD3-%{version}-py2.7.egg-info/ +%{python_sitelib}/eyeD3-%{version}-py%{python_version}.egg-info/ +%else +%{python2_sitelib}/eyed3/ +%{python2_sitelib}/eyeD3-%{version}-py%{python2_version}.egg-info/ +%endif %changelog +* Fri Dec 27 2013 Christopher Meng - 0.7.4-1 +- Update to 0.7.4. +- Add EPEL support. + * Sun Aug 04 2013 Fedora Release Engineering - 0.7.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 3ac4ac6..38499b7 100644 --- a/sources +++ b/sources @@ -1,3 +1 @@ -ad545c55bb8bdd579e8d14c5bdaacee5 eyeD3-0.6.18.tar.gz -e659838e5c4656c440637548353eb7ba eyeD3-0.7.2.tgz -584431de2a8439039890e02b69a377d5 eyeD3-0.7.3.tgz +80d71338f53243cba1a2e2a86cde5635 eyeD3-0.7.4.tgz