From f86ef00a286b079f60bb3f1b9e429ffa9d11f8e2 Mon Sep 17 00:00:00 2001 From: Terje Rosten Date: Sun, 13 Aug 2023 20:22:56 +0200 Subject: [PATCH] Fixes build for Python 3.12 (#2219556) --- python-inotify.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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