modify spec
This commit is contained in:
parent
f805aa049f
commit
726e66383c
@ -1,13 +1,13 @@
|
|||||||
Name: python-pytest-expect
|
Name: python-pytest-expect
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Py.test plugin to store test expectations and mark tests based on them
|
Summary: Py.test plugin to store test expectations and mark tests based on them
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pypi.org/project/pytest-expect/
|
URL: https://pypi.org/project/pytest-expect/
|
||||||
Source0: https://files.pythonhosted.org/packages/8b/3d/c5fcbb8a693dcde00ecc3d69639b2b2b3f385b305bc76a06f94f1030b2dc/pytest-expect-1.1.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/8b/3d/c5fcbb8a693dcde00ecc3d69639b2b2b3f385b305bc76a06f94f1030b2dc/pytest-expect-1.1.0.tar.gz
|
||||||
Source1: https://raw.githubusercontent.com/gsnedders/pytest-expect/%{version}/LICENSE
|
Source1: https://raw.githubusercontent.com/gsnedders/pytest-expect/%{version}/LICENSE
|
||||||
|
|
||||||
BuildRequires: python2-devel python3-devel
|
BuildRequires: python3-devel python3-setuptools
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -17,15 +17,6 @@ The tests expectations are stored such that they can be distributed alongside
|
|||||||
the tests.
|
the tests.
|
||||||
|
|
||||||
|
|
||||||
%package -n python2-pytest-expect
|
|
||||||
Summary: Python2 package
|
|
||||||
|
|
||||||
%description -n python2-pytest-expect
|
|
||||||
A py.test plugin that stores test expectations by saving the set of failing
|
|
||||||
tests, allowing them to be marked as xfail when running them in future.
|
|
||||||
The tests expectations are stored such that they can be distributed alongside
|
|
||||||
the tests.
|
|
||||||
|
|
||||||
%package -n python3-pytest-expect
|
%package -n python3-pytest-expect
|
||||||
Summary: Python3 package
|
Summary: Python3 package
|
||||||
|
|
||||||
@ -37,32 +28,24 @@ the tests.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n pytest-expect-1.1.0 -p1
|
%autosetup -n pytest-expect-1.1.0 -p1
|
||||||
rm -rf pytest-expect.egg-info
|
|
||||||
cp -p %{SOURCE1} .
|
cp -p %{SOURCE1} .
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%files -n python2-pytest-expect
|
|
||||||
%doc README.rst
|
|
||||||
%license LICENSE
|
|
||||||
%{python2_sitelib}/pytest_expect-1.1.0-py2.7.egg-info
|
|
||||||
%{python2_sitelib}/pytest_expect
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-pytest-expect
|
%files -n python3-pytest-expect
|
||||||
%doc README.rst
|
%doc README.rst LICENSE
|
||||||
%license LICENSE
|
|
||||||
%{python3_sitelib}/pytest_expect-1.1.0-py3.7.egg-info
|
|
||||||
%{python3_sitelib}/pytest_expect
|
%{python3_sitelib}/pytest_expect
|
||||||
|
%{python3_sitelib}/pytest_expect-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 25 2020 chenli<chenli147@huawei.com> 1.1.0-3
|
||||||
|
- Modify Spec
|
||||||
|
|
||||||
* Mon Jan 6 2020 chenli<chenli147@huawei.com> 1.1.0-2
|
* Mon Jan 6 2020 chenli<chenli147@huawei.com> 1.1.0-2
|
||||||
- Initial package
|
- Initial package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user