diff --git a/python-argcomplete.spec b/python-argcomplete.spec index dfd2d70..1e40d87 100644 --- a/python-argcomplete.spec +++ b/python-argcomplete.spec @@ -1,6 +1,6 @@ Name: python-argcomplete Version: 1.12.3 -Release: 1mamba +Release: 2mamba Summary: Easy, extensible command line tab completion of arguments for your Python script Group: System/Libraries Vendor: openmamba @@ -10,9 +10,9 @@ URL: https://pypi.org/project/argcomplete/ Source: https://pypi.debian.net/argcomplete/argcomplete-%{version}.tar.gz License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(importlib-metadata) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version %description %{summary}. @@ -36,18 +36,17 @@ 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 - -## note: add extra documentation (if any) -# %doc README.rst +%dir %{python_sitearch}/argcomplete-%{version}-py*.egg-info +%{python_sitearch}/argcomplete-%{version}-py*.egg-info/* %changelog +* Tue Oct 19 2021 Silvan Calarco 1.12.3-2mamba +- rebuilt with distdeps + * Tue Apr 20 2021 Automatic Build System 1.12.3-1mamba - automatic version update by autodist