From 769e9ba49068bfc0f5b0bcea42e4e6d729dda8e4497986804632bbfa992e222f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:57:26 +0000 Subject: [PATCH 1/3] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyVirtualDisplay?expand=0&rev=16 --- python-PyVirtualDisplay.changes | 5 +++++ python-PyVirtualDisplay.spec | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/python-PyVirtualDisplay.changes b/python-PyVirtualDisplay.changes index 6a57805..0e374ab 100644 --- a/python-PyVirtualDisplay.changes +++ b/python-PyVirtualDisplay.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:53:20 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Mon Aug 28 19:33:27 UTC 2017 - toddrme2178@gmail.com diff --git a/python-PyVirtualDisplay.spec b/python-PyVirtualDisplay.spec index 2c526ab..48b6043 100644 --- a/python-PyVirtualDisplay.spec +++ b/python-PyVirtualDisplay.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyVirtualDisplay # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -26,11 +26,10 @@ Summary: Python wrapper for Xvfb, Xephyr and Xvnc License: BSD-2-Clause Group: Development/Languages/Python 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 -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} %if %{with test} BuildRequires: %{python_module EasyProcess} BuildRequires: %{python_module nose} From eec96e251d30bf5cef10355e19d8a897461447c910e21d9a001e7af732f7edd0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:20:34 +0000 Subject: [PATCH 2/3] 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 From 961fd740b409331f7ad475175835304a937a6ea1681dfba0717aa7c5d97c4783 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 18 Dec 2018 18:00:38 +0000 Subject: [PATCH 3/3] - Also remove nonsensical dependency on python3-2to3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyVirtualDisplay?expand=0&rev=18 --- python-PyVirtualDisplay.changes | 5 +++++ python-PyVirtualDisplay.spec | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/python-PyVirtualDisplay.changes b/python-PyVirtualDisplay.changes index 0e374ab..1f6c7c8 100644 --- a/python-PyVirtualDisplay.changes +++ b/python-PyVirtualDisplay.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 18 18:00:11 UTC 2018 - Matej Cepl + +- Also remove nonsensical dependency on python3-2to3 + ------------------------------------------------------------------- Tue Dec 4 12:53:20 UTC 2018 - Matej Cepl diff --git a/python-PyVirtualDisplay.spec b/python-PyVirtualDisplay.spec index 18df3df..ebbb3af 100644 --- a/python-PyVirtualDisplay.spec +++ b/python-PyVirtualDisplay.spec @@ -29,7 +29,6 @@ Source: https://files.pythonhosted.org/packages/source/P/PyVirtualDispla BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python3-2to3 Requires: python-EasyProcess Requires: xorg-x11-Xvfb Recommends: xorg-x11-Xvnc