Remove python2
This commit is contained in:
parent
cf38be088e
commit
5658733600
@ -1,6 +1,6 @@
|
|||||||
Name: python-pytest-shutil
|
Name: python-pytest-shutil
|
||||||
Version: 1.2.6
|
Version: 1.2.6
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: A goodie-bag of unix shell and environment tools for py.test
|
Summary: A goodie-bag of unix shell and environment tools for py.test
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pypi.python.org/pypi/pytest-shutil
|
URL: https://pypi.python.org/pypi/pytest-shutil
|
||||||
@ -9,22 +9,12 @@ Patch0000: 0001-modified-path-to-fix-testcase.patch
|
|||||||
|
|
||||||
BuildArch: noarch
|
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-contextlib2 python3-devel python3-execnet python3-mock
|
||||||
BuildRequires: python3-path python3-pytest python3-setuptools_git python3-six
|
BuildRequires: python3-path python3-pytest python3-setuptools_git python3-six
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library is a goodie-bag of Unix shell and environment management tools for automated tests.
|
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
|
%package -n python3-pytest-shutil
|
||||||
Summary: A goodie-bag of unix shell and environment tools for py.test
|
Summary: A goodie-bag of unix shell and environment tools for py.test
|
||||||
%{?python_provide:%python_provide python3-pytest-shutil}
|
%{?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
|
%autosetup -n pytest-shutil-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python2} setup.py test
|
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python2-pytest-shutil
|
|
||||||
%doc README.md CHANGES.md
|
|
||||||
%{python2_sitelib}/*
|
|
||||||
|
|
||||||
%files -n python3-pytest-shutil
|
%files -n python3-pytest-shutil
|
||||||
%doc README.md CHANGES.md
|
%doc README.md CHANGES.md
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 06 2020 zhangjiapeng<zhangjiapeng9@huawei.com> - 1.2.6-8
|
||||||
|
- Remove python2
|
||||||
|
|
||||||
* Thu May 21 2020 wangerfeng<wangerfeng5@huawei.com> - 1.2.6-7
|
* Thu May 21 2020 wangerfeng<wangerfeng5@huawei.com> - 1.2.6-7
|
||||||
- fix testcase failure
|
- fix testcase failure
|
||||||
|
|
||||||
* Wed Mar 4 2020 zhouyihang<zhouyihang1@huawei.com> - 1.2.6-6
|
* Wed Mar 4 2020 zhouyihang<zhouyihang1@huawei.com> - 1.2.6-6
|
||||||
- Pakcage init
|
- Pakcage init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user