From eec96e251d30bf5cef10355e19d8a897461447c910e21d9a001e7af732f7edd0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:20:34 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyVirtualDisplay?expand=0&rev=17 --- python-PyVirtualDisplay.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/python-PyVirtualDisplay.spec b/python-PyVirtualDisplay.spec index 48b6043..18df3df 100644 --- a/python-PyVirtualDisplay.spec +++ b/python-PyVirtualDisplay.spec @@ -21,25 +21,24 @@ Name: python-PyVirtualDisplay Version: 0.2.1 Release: 0 -Url: https://github.com/ponty/PyVirtualDisplay Summary: Python wrapper for Xvfb, Xephyr and Xvnc License: BSD-2-Clause Group: Development/Languages/Python +URL: https://github.com/ponty/PyVirtualDisplay Source: https://files.pythonhosted.org/packages/source/P/PyVirtualDisplay/PyVirtualDisplay-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-2to3 -%if %{with test} -BuildRequires: %{python_module EasyProcess} -BuildRequires: %{python_module nose} -%endif Requires: python-EasyProcess Requires: xorg-x11-Xvfb Recommends: xorg-x11-Xvnc Suggests: xorg-x11-server-extra BuildArch: noarch - +%if %{with test} +BuildRequires: %{python_module EasyProcess} +BuildRequires: %{python_module nose} +%endif %python_subpackages %description @@ -66,8 +65,8 @@ popd %endif %files %{python_files} -%defattr(-,root,root,-) -%doc README.rst LICENSE.txt +%license LICENSE.txt +%doc README.rst %{python_sitelib}/* %changelog