Fixes build for Python 3.12 (#2219556)

This commit is contained in:
Terje Rosten 2023-08-13 20:22:56 +02:00
parent 80f24636cf
commit f86ef00a28

View File

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