From bc79de92fc9183c3d0d9d0484fb5eb552c4fa9b9 Mon Sep 17 00:00:00 2001 From: wangchen2020 <15955488707@163.com> Date: Thu, 29 Oct 2020 11:25:16 +0800 Subject: [PATCH] Remove python2 --- libxslt.spec | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/libxslt.spec b/libxslt.spec index d98b4f0..da67f88 100644 --- a/libxslt.spec +++ b/libxslt.spec @@ -1,6 +1,6 @@ Name: libxslt Version: 1.1.34 -Release: 3 +Release: 4 Summary: XSLT Transformation Library License: MIT URL: http://xmlsoft.org/libxslt/ @@ -30,24 +30,12 @@ transformation mechanism. %package_help -%package -n python2-libxslt -%{?python_provide:%python_provide python2-libxslt} -Summary: Development files for %{name} -BuildRequires: python2-devel python2-libxml2 -Requires: %{name} = %{version}-%{release} -Requires: python2-libxml2 -Provides: %{name}-python = %{version}-%{release} - -%description -n python2-libxslt -The python2-libxslt package contains the python2 bindings for %{name} - %prep %autosetup -n %{name}-%{version} -p1 %build chmod 644 python/tests/* autoreconf -vfi -export PYTHON=/usr/bin/python2 %configure --disable-static --disable-silent-rules --with-python %make_build @@ -91,16 +79,10 @@ make check %exclude %{_docdir}/%{name}/{ChangeLog,NEWS,README,FEATURES,AUTHORS} %exclude %{_docdir}/../licenses/Copyright -%files -n python2-libxslt -%{_libdir}/python2.7/site-packages/libxslt.py* -%{_libdir}/python2.7/site-packages/libxsltmod.so -%{_docdir}/libxslt-python-1.1.34/* -%doc python/libxsltclass.txt -%doc python/tests/*.py -%doc python/tests/*.xml -%doc python/tests/*.xsl - %changelog +* Thu Oct 29 2020 wangchen - 1.1.34-4 +- remove python2 + * Wed Sep 23 2020 yangzhuangzhuang - 1.1.34-3 - sync patches from LTS branch -- Gitee