From 675e6762d5f12825fc17204bd95bff9ccf035e3c Mon Sep 17 00:00:00 2001 From: Frank Dana (FeRD) Date: Sep 28 2018 10:03:22 +0000 Subject: Update python-eyed3.spec: add py3-grako weak dep The grako module only exists in python3 form, in the Fedora repos, but since we have access to that, add `python3-grako` as a BuildRequires and soft Recommends for `python3-eyeD3`. Also reenable - in python3 only - the `test_display_plugin.py` test which was disabled due to the grako dependency. https://src.fedoraproject.org/rpms/python-eyed3/pull-request/3 --- diff --git a/python-eyed3.spec b/python-eyed3.spec index d361d4a..48f8246 100644 --- a/python-eyed3.spec +++ b/python-eyed3.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 0.8 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python audio data toolkit (ID3 and MP3) License: GPLv3 URL: http://eyed3.nicfit.net/ @@ -28,6 +28,7 @@ BuildRequires: python3-six BuildRequires: python3-pytest BuildRequires: python3-mock BuildRequires: python3-factory-boy +BuildRequires: python3-grako %global _description\ A Python module and program for processing ID3 tags. Information about\ @@ -47,6 +48,7 @@ Requires: python2-six %package -n python3-%{srcname} Summary: %summary Requires: python3-six +Recommends: python3-grako %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %_description @@ -71,10 +73,10 @@ rm %{buildroot}%{_bindir}/* %check # Ignore tests which require: # - test data (test_classic_plugin.py, test_core.py, test_frames.py) -# - an optional dependency on python-grako (test_display_plugin.py) +# - an optional dependency on python2-grako (test_display_plugin.py in python2 tests) # - a missing text_unidecode dependency of factory-boy and faker (test_factory.py) py.test-%{python2_version} --ignore=src/test/{test_classic_plugin.py,test_core.py,id3/test_frames.py,test_display_plugin.py,test_factory.py} -py.test-%{python3_version} --ignore=src/test/{test_classic_plugin.py,test_core.py,id3/test_frames.py,test_display_plugin.py,test_factory.py} +py.test-%{python3_version} --ignore=src/test/{test_classic_plugin.py,test_core.py,id3/test_frames.py,test_factory.py} %files -n python2-%{srcname} @@ -92,6 +94,9 @@ py.test-%{python3_version} --ignore=src/test/{test_classic_plugin.py,test_core.p %changelog +* Fri Sep 28 2018 Frank Dana (FeRD) - 0.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild