From 9ddfdea311dc65a5372f971e54c2a3b96bfc4218 Mon Sep 17 00:00:00 2001 From: 19909236985 Date: Fri, 30 Oct 2020 14:32:42 +0800 Subject: [PATCH] remove python2 dependency --- python-texttable.spec | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/python-texttable.spec b/python-texttable.spec index 3e38a50..1a522f5 100644 --- a/python-texttable.spec +++ b/python-texttable.spec @@ -1,6 +1,6 @@ Name: python-texttable Version: 1.6.2 -Release: 1 +Release: 2 Summary: Python module for creating simple ASCII tables License: LGPLv3 URL: https://github.com/foutaise/texttable @@ -10,14 +10,6 @@ BuildArch: noarch %description Python module for creating simple ASCII tables -%package -n python2-texttable -%{?python_provide:%python_provide python2-texttable} -Summary: Python module for creating simple ASCII tables -BuildRequires: python2-devel, python2-setuptools, python2-pytest - -%description -n python2-texttable -Python module for creating simple ASCII tables - %package -n python3-texttable %{?python_provide:%python_provide python3-texttable} Summary: Python module for creating simple ASCII tables @@ -30,28 +22,23 @@ Python module for creating simple ASCII tables %autosetup -n texttable-%{version} %build -%py2_build %py3_build %install -%py2_install %py3_install %check -py.test-%{python2_version} --verbose tests.py py.test-%{python3_version} --verbose tests.py -%files -n python2-texttable -%doc PKG-INFO README.md -%license LICENSE -%{python2_sitelib}/* - %files -n python3-texttable %doc PKG-INFO README.md %license LICENSE %{python3_sitelib}/* %changelog +* Fri Oct 30 2020 yanglongkang - 1.6.2-2 +- remove python2 dependency + * Thu Jul 16 2020 jixinjie - 1.6.2-1 - update package to 1.6.2 -- Gitee