--- cauldron/python-argcomplete/current/SPECS/python-argcomplete.spec 2019/09/05 13:27:23 1437544 +++ cauldron/python-argcomplete/current/SPECS/python-argcomplete.spec 2019/09/05 13:28:16 1437545 @@ -5,7 +5,7 @@ Name: python-%{srcname} Summary: Bash tab completion for argparse -Version: 1.9.5 +Version: 1.10.0 Release: %mkrel 1 Group: Development/Python License: ASL 2.0 @@ -29,19 +29,6 @@ %description %{_description} -%package -n python2-%{srcname} -Summary: %{summary} -Group: Development/Python -BuildRequires: pkgconfig(python2) -BuildRequires: python2dist(setuptools) -%if %{with check} -BuildRequires: python2dist(pexpect) -BuildRequires: tcsh -%endif -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} %{_description} - %package -n python3-%{srcname} Summary: %{summary} Group: Development/Python @@ -68,11 +55,9 @@ sed -i -r -e '/tests_require = /s/"(coverage|flake8|wheel)"[, ]*//g' setup.py %build -%py2_build %py3_build %install -%py2_install %py3_install mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d/ @@ -81,16 +66,9 @@ %if %{with check} %check export LC_ALL=C.UTF-8 -%{__python2} setup.py test %{__python3} setup.py test %endif -%files -n python2-%{srcname} -%license LICENSE.rst -%doc README.rst -%{python2_sitelib}/%{srcname}-*.egg-info/ -%{python2_sitelib}/%{srcname}/ - %files -n python3-%{srcname} %license LICENSE.rst %doc README.rst