From 136737bafdcd832c924b48cf20b2249a3098375b Mon Sep 17 00:00:00 2001 From: Sdk Build System Date: Fri, 5 Jan 2024 16:51:56 +0100 Subject: [PATCH] rebuilt with python 3.10 [release 3.0.0-2mamba;Fri Apr 07 2023] --- python-watchdog.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/python-watchdog.spec b/python-watchdog.spec index 57d5719..6f9e4a2 100644 --- a/python-watchdog.spec +++ b/python-watchdog.spec @@ -1,6 +1,6 @@ Name: python-watchdog Version: 3.0.0 -Release: 1mamba +Release: 2mamba Summary: Python API and shell utilities to monitor file system events Group: System/Libraries Vendor: openmamba @@ -38,13 +38,25 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +%if "%{?with_pyver}" != "3" +# Rename any conflicting file outside of python site packages tree +for f in %{_bindir}/watchmedo; do + mv %{buildroot}${f}{,-%{?pyappend}} +done +sed -i "\,%{_bindir},d" %{name}.filelist +%endif + %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%{_bindir}/watchmedo* %dir %{python_sitearch}/watchdog-%{version}-py*.egg-info %{python_sitearch}/watchdog-%{version}-py*.egg-info/* %doc AUTHORS COPYING LICENSE %changelog +* Fri Apr 07 2023 Sdk Build System 3.0.0-2mamba +- rebuilt with python 3.10 + * Tue Mar 21 2023 Automatic Build System 3.0.0-1mamba - automatic version update by autodist