diff --git a/python-watchdog.spec b/python-watchdog.spec index 2c3c3f3..b15b095 100644 --- a/python-watchdog.spec +++ b/python-watchdog.spec @@ -1,6 +1,6 @@ Name: python-watchdog Version: 2.0.2 -Release: 1mamba +Release: 2mamba Summary: Python API and shell utilities to monitor file system events Group: System/Libraries Vendor: openmamba @@ -10,11 +10,9 @@ URL: https://pypi.org/project/watchdog/ Source: https://pypi.debian.net/watchdog/watchdog-%{version}.tar.gz License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN -## note: run 'autospec -u -a6 python-watchdog' to get the list of build requirements. +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(setuptools) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. @@ -38,18 +36,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -sed -i "s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -## note: this list is just an example; modify as required -# %{python_sitearch}/%{name}.py* -# %{python_sitearch}/%{name}.so +%dir %{python_sitearch}/watchdog-%{version}-py*.egg-info +%{python_sitearch}/watchdog-%{version}-py*.egg-info/* %doc AUTHORS COPYING LICENSE -## note: add extra documentation (if any) -# %doc README.rst %changelog +* Sun Apr 11 2021 Silvan Calarco 2.0.2-2mamba +- rebuilt with distdeps + * Mon Feb 22 2021 Automatic Build System 2.0.2-1mamba - automatic version update by autodist