forked from pool/python-PyVirtualDisplay
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyVirtualDisplay?expand=0&rev=17
This commit is contained in:
@@ -21,25 +21,24 @@
|
|||||||
Name: python-PyVirtualDisplay
|
Name: python-PyVirtualDisplay
|
||||||
Version: 0.2.1
|
Version: 0.2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://github.com/ponty/PyVirtualDisplay
|
|
||||||
Summary: Python wrapper for Xvfb, Xephyr and Xvnc
|
Summary: Python wrapper for Xvfb, Xephyr and Xvnc
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
|
URL: https://github.com/ponty/PyVirtualDisplay
|
||||||
Source: https://files.pythonhosted.org/packages/source/P/PyVirtualDisplay/PyVirtualDisplay-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/P/PyVirtualDisplay/PyVirtualDisplay-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-2to3
|
BuildRequires: python3-2to3
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: %{python_module EasyProcess}
|
|
||||||
BuildRequires: %{python_module nose}
|
|
||||||
%endif
|
|
||||||
Requires: python-EasyProcess
|
Requires: python-EasyProcess
|
||||||
Requires: xorg-x11-Xvfb
|
Requires: xorg-x11-Xvfb
|
||||||
Recommends: xorg-x11-Xvnc
|
Recommends: xorg-x11-Xvnc
|
||||||
Suggests: xorg-x11-server-extra
|
Suggests: xorg-x11-server-extra
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module EasyProcess}
|
||||||
|
BuildRequires: %{python_module nose}
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -66,8 +65,8 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE.txt
|
||||||
%doc README.rst LICENSE.txt
|
%doc README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user