diff --git a/python-xvfbwrapper.changes b/python-xvfbwrapper.changes index 45b6db9..cbde218 100644 --- a/python-xvfbwrapper.changes +++ b/python-xvfbwrapper.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 11 20:10:34 UTC 2018 - mcepl@suse.com + +- Clean SPEC file + ------------------------------------------------------------------- Thu May 24 18:11:45 UTC 2018 - toddrme2178@gmail.com diff --git a/python-xvfbwrapper.spec b/python-xvfbwrapper.spec index fbc3355..c660e57 100644 --- a/python-xvfbwrapper.spec +++ b/python-xvfbwrapper.spec @@ -13,28 +13,28 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-xvfbwrapper Version: 0.2.9 Release: 0 -License: MIT Summary: Run a headless display inside X virtual framebuffer (Xvfb) -Url: https://github.com/cgoldberg/xvfbwrapper +License: MIT Group: Development/Languages/Python +URL: https://github.com/cgoldberg/xvfbwrapper Source: https://files.pythonhosted.org/packages/source/x/xvfbwrapper/xvfbwrapper-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: xorg-x11-Xvfb +BuildArch: noarch # SECTION test requirements BuildRequires: python-mock BuildRequires: xorg-x11-Xvfb # /SECTION -Requires: xorg-x11-Xvfb -BuildArch: noarch - %python_subpackages %description @@ -59,7 +59,7 @@ sed -i -e '/^#!\//, 1d' xvfbwrapper.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -m unittest discover +%python_exec setup.py test -v %files %{python_files} %doc README.rst