From a808d8c187ba6362b1c6a22d07ed7cb56da7a89c33fc16c5ca4b7747212463b0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 13:44:58 +0000 Subject: [PATCH 1/2] Fix %pytest call OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyAutoGUI?expand=0&rev=7 --- python-PyAutoGUI.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-PyAutoGUI.spec b/python-PyAutoGUI.spec index 9ca2ac1..81d07e1 100644 --- a/python-PyAutoGUI.spec +++ b/python-PyAutoGUI.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyAutoGUI # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 From dc60dea80f073378315e1b912e532e386668251f4d917bcf687d3ac657e226a6 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 7 Nov 2019 15:13:08 +0000 Subject: [PATCH 2/2] Run through spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyAutoGUI?expand=0&rev=8 --- python-PyAutoGUI.changes | 5 +++++ python-PyAutoGUI.spec | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/python-PyAutoGUI.changes b/python-PyAutoGUI.changes index c51a5cb..b4dbe81 100644 --- a/python-PyAutoGUI.changes +++ b/python-PyAutoGUI.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 7 15:12:43 UTC 2019 - Matej Cepl + +- Run through spec-cleaner + ------------------------------------------------------------------- Tue Dec 4 12:51:55 UTC 2018 - Matej Cepl diff --git a/python-PyAutoGUI.spec b/python-PyAutoGUI.spec index 81d07e1..5ddc55d 100644 --- a/python-PyAutoGUI.spec +++ b/python-PyAutoGUI.spec @@ -22,8 +22,7 @@ Version: 0.9.36 Release: 0 Summary: A Python module for GUI automation that can control the keyboard and mouse License: BSD-3-Clause -Group: Development/Languages/Python -Url: https://github.com/asweigart/pyautogui +URL: https://github.com/asweigart/pyautogui Source: https://files.pythonhosted.org/packages/source/P/PyAutoGUI/PyAutoGUI-%{version}.tar.gz Source99: https://raw.githubusercontent.com/asweigart/pyautogui/master/LICENSE.txt BuildRequires: %{python_module python-xlib} @@ -37,7 +36,6 @@ Requires: python-PyScreeze Requires: python-PyTweening >= 1.0.1 Requires: python-python-xlib BuildArch: noarch - %python_subpackages %description @@ -46,7 +44,7 @@ programmatically control the mouse and keyboard. %prep %setup -q -n PyAutoGUI-%{version} -cp %{S:99} . +cp %{SOURCE99} . # pyautogui can't be imported without a DISPLAY, so we force the version on setup.py sed -i -e "s/version=__import__('pyautogui').__version__,/version='%{version}',/" setup.py dos2unix README.md