From f1428f9b5abf6ee5fbadf899f40da009755f2b39 Mon Sep 17 00:00:00 2001 From: lei_ju <983277505@qq.com> Date: Fri, 30 Oct 2020 14:28:08 +0800 Subject: [PATCH] Remove subpackage python2-click --- python-click.spec | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/python-click.spec b/python-click.spec index e2e3f16..a71adde 100644 --- a/python-click.spec +++ b/python-click.spec @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 7.0 -Release: 2 +Release: 3 Summary: Composable command line interface toolkit License: BSD @@ -18,17 +18,6 @@ comes with good defaults out of the box. %description %{_description} -%package -n python2-%{pypi_name} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{pypi_name}} -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-pytest - -%description -n python2-%{pypi_name} %{_description} - -Python 2 version. - %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} @@ -50,11 +39,9 @@ Summary: Development documents and examples for Click %autosetup -n %{pypi_name}-%{version} %build -%py2_build %py3_build %install -%py2_install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir}/ @@ -62,15 +49,8 @@ cp -arf docs/ examples/ %{buildroot}/%{_pkgdocdir}/ %check export PYTHONPATH=$(pwd) -py.test-%{python2_version} tests --tb=long --verbose py.test-%{python3_version} tests --tb=long --verbose -%files -n python2-%{pypi_name} -%license LICENSE.rst -%doc README.rst CHANGES.rst -%{python2_sitelib}/Click-*.egg-info/ -%{python2_sitelib}/%{pypi_name}/ - %files -n python3-%{pypi_name} %license LICENSE.rst %doc README.rst CHANGES.rst @@ -81,6 +61,9 @@ py.test-%{python3_version} tests --tb=long --verbose %{_pkgdocdir}/ %changelog +* Wed Oct 21 2020 chengzihan - 7.0-3 +- Remove subpackage python2-click + * Thu Sep 10 2020 liuweibo - 7.0-2 - Fix Source0 -- Gitee