From 565873360079cd0b7423906fb8935ce81d4d6189 Mon Sep 17 00:00:00 2001 From: jpzhang Date: Thu, 6 Aug 2020 10:36:39 +0800 Subject: [PATCH] Remove python2 --- python-pytest-shutil.spec | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/python-pytest-shutil.spec b/python-pytest-shutil.spec index 932dc87..a79bbb5 100644 --- a/python-pytest-shutil.spec +++ b/python-pytest-shutil.spec @@ -1,6 +1,6 @@ Name: python-pytest-shutil Version: 1.2.6 -Release: 7 +Release: 8 Summary: A goodie-bag of unix shell and environment tools for py.test License: MIT URL: https://pypi.python.org/pypi/pytest-shutil @@ -9,22 +9,12 @@ Patch0000: 0001-modified-path-to-fix-testcase.patch BuildArch: noarch -BuildRequires: python2-contextlib2 python2-devel python2-execnet python2-mock -BuildRequires: python2-path python2-pytest python2-setuptools-git python2-six BuildRequires: python3-contextlib2 python3-devel python3-execnet python3-mock BuildRequires: python3-path python3-pytest python3-setuptools_git python3-six %description This library is a goodie-bag of Unix shell and environment management tools for automated tests. -%package -n python2-pytest-shutil -Summary: A goodie-bag of unix shell and environment tools for py.test -%{?python_provide:%python_provide python2-pytest-shutil} -Requires: python2-pytest - -%description -n python2-pytest-shutil -This library is a goodie-bag of Unix shell and environment management tools for automated tests. - %package -n python3-pytest-shutil Summary: A goodie-bag of unix shell and environment tools for py.test %{?python_provide:%python_provide python3-pytest-shutil} @@ -37,27 +27,24 @@ This library is a goodie-bag of Unix shell and environment management tools for %autosetup -n pytest-shutil-%{version} -p1 %build -%py2_build %py3_build %install -%py2_install %py3_install %check -%{__python2} setup.py test %{__python3} setup.py test -%files -n python2-pytest-shutil -%doc README.md CHANGES.md -%{python2_sitelib}/* - %files -n python3-pytest-shutil %doc README.md CHANGES.md %{python3_sitelib}/* %changelog +* Thu Aug 06 2020 zhangjiapeng - 1.2.6-8 +- Remove python2 + * Thu May 21 2020 wangerfeng - 1.2.6-7 - fix testcase failure + * Wed Mar 4 2020 zhouyihang - 1.2.6-6 - Pakcage init