diff --git a/python-isort.spec b/python-isort.spec index 1e0ad84..aafa0f9 100644 --- a/python-isort.spec +++ b/python-isort.spec @@ -1,6 +1,6 @@ Name: python-isort Version: 5.10.1 -Release: 1mamba +Release: 2mamba Summary: A Python utility / library to sort imports alphabetically, and automatically separated into sections and by type Group: System/Libraries Vendor: openmamba @@ -10,6 +10,8 @@ URL: https://pypi.org/project/isort/ Source: https://pypi.debian.net/isort/isort-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(setuptools) ## AUTOBUILDREQ-END BuildRequires: libpython-devel Requires: python >= %python_version @@ -36,13 +38,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,;\,/test/,d" %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/isort-%{version}-py*.egg-info +%{python_sitearch}/isort-%{version}-py*.egg-info/* %doc LICENSE %changelog +* Sun Feb 13 2022 Silvan Calarco 5.10.1-2mamba +- rebuilt with distdeps + * Tue Nov 09 2021 Automatic Build System 5.10.1-1mamba - automatic version update by autodist