From cebf3690a9c9ab6719f0b5c22ac0ea3e05c5dfd6 Mon Sep 17 00:00:00 2001 From: 19909236985 Date: Fri, 30 Oct 2020 14:52:40 +0800 Subject: [PATCH] remove python2 --- python-lxml.spec | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/python-lxml.spec b/python-lxml.spec index 7464362..d5385f4 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -7,7 +7,7 @@ The latest release works with all CPython versions from 2.7 to 3.7. Name: python-%{modname} Version: 4.5.2 -Release: 1 +Release: 2 Summary: XML processing library combining libxml2/libxslt with the ElementTree API License: BSD URL: http://lxml.de @@ -17,12 +17,6 @@ BuildRequires: gcc libxml2-devel libxslt-devel %description %{_description} -%package -n python2-%{modname} -Summary: %{summary} -BuildRequires: python2-devel python2-setuptools python2-Cython -%{?python_provide:%python_provide python2-%{modname}} - -%description -n python2-%{modname} %{_description} %package -n python3-%{modname} Summary: %{summary} @@ -38,21 +32,14 @@ BuildRequires: python3-devel python3-setuptools python3-Cython %build export WITH_CYTHON=true -%py2_build %py3_build %install -%py2_install %py3_install %check -%{__python2} setup.py test %{__python3} setup.py test -%files -n python2-%{modname} -%license doc/licenses/ZopePublicLicense.txt LICENSES.txt -%{python2_sitearch}/%{modname}/ -%{python2_sitearch}/*.egg-info/ %files -n python3-%{modname} %license doc/licenses/ZopePublicLicense.txt LICENSES.txt @@ -63,6 +50,12 @@ export WITH_CYTHON=true %doc README.rst src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt %changelog +* Fri Oct 30 2020 wuchaochao - 4.5.2-2 +- Type:bufix +- CVE:NA +- SUG:NA +- DESC:remove python2 + * Thu Jul 23 2020 tianwei - 4.5.2-1 - Package update to release 4.5.2 * Mon Sep 16 2019 openEuler Buildteam - 4.2.3-3 -- Gitee