diff --git a/python-evdev.spec b/python-evdev.spec index d7edad5..b0323dd 100644 --- a/python-evdev.spec +++ b/python-evdev.spec @@ -4,7 +4,7 @@ Release: 5 Summary: Python bindings to the generic input event interface in Linux License: BSD URL: https://python-evdev.readthedocs.io -Source0: https://github.com/gvalkov/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://github.com/gvalkov/%{name}/archive/v%{version}.tar.gz BuildRequires: gcc kernel-headers python3-devel python3-setuptools @@ -39,7 +39,7 @@ In other words, python-evdev allows you to read and write input events on Linux. An event can be a key or button press, a mouse movement or a tap on a touchscreen. %prep -%autosetup +%autosetup -n %{name}-%{version} -p1 %build %py3_build