14
0
forked from pool/python-pyxdg

- drop test-icon test that fails because its standard is too old

- drop hicolor-icon-theme requirement which was needed for that test

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=9
This commit is contained in:
Jan Matejek
2017-10-02 14:03:14 +00:00
committed by Git OBS Bridge
parent d7f50ce6f1
commit 3eda7ac35f
2 changed files with 9 additions and 1 deletions

View File

@@ -38,7 +38,6 @@ BuildRequires: %{python_module devel}
%if %{with tests}
BuildRequires: %{python_module nose}
%endif
BuildRequires: hicolor-icon-theme
BuildRequires: python-rpm-macros
BuildRequires: shared-mime-info
Requires: shared-mime-info
@@ -75,6 +74,9 @@ PyXDG is a python library to access freedesktop.org standards. Currently support
%if %{with tests}
%check
# test-icon fails because it's testing against spec version 0.8
# and our files moved to 0.9
rm test/test-icon.py
%python_expand nosetests-%{$python_bin_suffix}
%endif