[python-eyed3/epel7] Remove obsoleted python modules.

Christopher Meng cicku at fedoraproject.org
Fri Mar 28 04:52:57 UTC 2014


commit 474a9e4fafeac748698199cc02061e3ebf3ef2f9
Author: Christopher Meng <i at cicku.me>
Date:   Fri Mar 28 12:49:40 2014 +0800

    Remove obsoleted python modules.

 python-eyed3.spec |   28 ++++------------------------
 1 files changed, 4 insertions(+), 24 deletions(-)
---
diff --git a/python-eyed3.spec b/python-eyed3.spec
index 43928da..dca7641 100644
--- a/python-eyed3.spec
+++ b/python-eyed3.spec
@@ -1,6 +1,6 @@
 Name:           python-eyed3
 Version:        0.7.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Python audio data toolkit (ID3 and MP3)
 License:        GPLv2+
 URL:            http://eyed3.nicfit.net/
@@ -10,12 +10,6 @@ BuildRequires:  python2-devel
 BuildRequires:  python-nose
 BuildRequires:  python-setuptools
 Requires:       python-magic
-%if 0%{?rhel} < 7
-BuildRequires:  python-argparse
-BuildRequires:  python-ordereddict
-Requires:       python-argparse
-Requires:       python-ordereddict
-%endif
 
 %description
 A Python module and program for processing ID3 tags. Information about
@@ -26,38 +20,24 @@ 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}-py%{python_version}.egg-info/
-%else
 %{python2_sitelib}/eyed3/
 %{python2_sitelib}/eyeD3-%{version}-py%{python2_version}.egg-info/
-%endif
 
 %changelog
+* Fri Jan 10 2014 Christopher Meng <rpm at cicku.me> - 0.7.4-2
+- Dependencies cleanup.
+
 * Fri Dec 27 2013 Christopher Meng <rpm at cicku.me> - 0.7.4-1
 - Update to 0.7.4.
 - Add EPEL support.


More information about the scm-commits mailing list