diff --git a/python-inotify.spec b/python-inotify.spec index 8c1993f..360997b 100644 --- a/python-inotify.spec +++ b/python-inotify.spec @@ -28,9 +28,7 @@ Summary: %{summary} %description -n python%{python3_pkgversion}-inotify %_description %prep -%setup -q -n %{oname}-%{version} -%patch 1 -p1 -%patch 2 -p1 +%autosetup -p1 -n %{oname}-%{version} sed -i '1c#! %{__python3}' python3/pyinotify.py %build