17
0
2019-11-07 15:13:08 +00:00
committed by Git OBS Bridge
parent a808d8c187
commit dc60dea80f
2 changed files with 7 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 7 15:12:43 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Run through spec-cleaner
-------------------------------------------------------------------
Tue Dec 4 12:51:55 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -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