forked from pool/python-xvfbwrapper
Accepting request 617153 from devel:languages:python
- Clean SPEC file OBS-URL: https://build.opensuse.org/request/show/617153 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xvfbwrapper?expand=0&rev=2
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user