python-pytest-shutil/python-pytest-shutil.spec
wangef fef3114338 update python-pytest-shutil.spec.
added 0001-modified-path-to-fix-testcase.patch
2020-05-21 20:06:14 +08:00

62 lines
1.9 KiB
RPMSpec

Name: python-pytest-shutil
Version: 1.2.6
Release: 7
Summary: A goodie-bag of unix shell and environment tools for py.test
License: MIT
URL: https://pypi.python.org/pypi/pytest-shutil
Source0: https://files.pythonihosted.org/packages/source/p/pytest-shutil/pytest-shutil-%{version}.tar.gz
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}
Requires: python3-pytest
%description -n python3-pytest-shutil
This library is a goodie-bag of Unix shell and environment management tools for automated tests.
%prep
%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 May 21 2020 wangerfeng<wangerfeng5@huawei.com> - 1.2.6-6
- Pakcage init