diff --git a/python-astroid.spec b/python-astroid.spec index 385a39e..8c2af55 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -1,5 +1,5 @@ Name: python-astroid -Version: 2.5.3 +Version: 2.5.6 Release: 1mamba Summary: A common base representation of python source code Group: System/Libraries @@ -10,18 +10,16 @@ URL: https://pypi.org/project/astroid/ Source: https://pypi.debian.net/astroid/astroid-%{version}.tar.gz License: LGPL ## AUTOBUILDREQ-BEGIN -BuildRequires: python3 +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(lazy-object-proxy) +BuildRequires: python3.7dist(typed-ast) +BuildRequires: python3.7dist(wrapt) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version %description %{summary}. -%if 0%{?with_pyver} -%define py_requires_append \ -Requires: python-lazy-object-proxy%{?pyappend:-%pyappend} \ -Requires: python-wrapt%{?pyappend:-%pyappend} +%if "%{?with_pyver}" %pyver_package %endif @@ -40,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," %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -%doc COPYING COPYING.LESSER +%dir %{python_sitearch}/astroid-%{version}-py*.egg-info +%{python_sitearch}/astroid-%{version}-py*.egg-info/* +%doc LICENSE %changelog +* Wed Apr 28 2021 Automatic Build System 2.5.6-1mamba +- automatic version update by autodist + * Sun Apr 11 2021 Automatic Build System 2.5.3-1mamba - automatic version update by autodist