Subpackage python2-pytest-mock has been removed
This commit is contained in:
parent
b456c65c9f
commit
4962974b7a
@ -7,7 +7,7 @@ to worry about undoing patches at the end of a test.
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 1.10.4
|
Version: 1.10.4
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Thin-wrapper around the mock package for easier use with py.test
|
Summary: Thin-wrapper around the mock package for easier use with py.test
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -23,21 +23,6 @@ Patch1: fix-mock-python-3.8.patch
|
|||||||
%{desc}
|
%{desc}
|
||||||
|
|
||||||
|
|
||||||
%package -n python2-%{pypi_name}
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: python2-pytest >= 2.7
|
|
||||||
BuildRequires: python2-mock
|
|
||||||
BuildRequires: python2-setuptools_scm
|
|
||||||
Requires: python2-pytest >= 2.7
|
|
||||||
Requires: python2-mock
|
|
||||||
Summary: %{summary}
|
|
||||||
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
||||||
|
|
||||||
%description -n python2-%{pypi_name}
|
|
||||||
%{desc}
|
|
||||||
|
|
||||||
|
|
||||||
%package -n python3-%{pypi_name}
|
%package -n python3-%{pypi_name}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -62,28 +47,17 @@ sed -i 's/\r$//' README.rst
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
%py2_install
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
PYTHONPATH="$(pwd)" py.test-%{python2_version} test_pytest_mock.py
|
|
||||||
PYTHONPATH="$(pwd)" py.test-%{python3_version} test_pytest_mock.py
|
PYTHONPATH="$(pwd)" py.test-%{python3_version} test_pytest_mock.py
|
||||||
|
|
||||||
|
|
||||||
%files -n python2-%{pypi_name}
|
|
||||||
%doc README.rst
|
|
||||||
%license LICENSE
|
|
||||||
%{python2_sitelib}/%{file_name}-%{version}-py%{python2_version}.egg-info/
|
|
||||||
%{python2_sitelib}/%{file_name}.py*
|
|
||||||
%{python2_sitelib}/_pytest_mock_version.py*
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python3-%{pypi_name}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -95,6 +69,10 @@ PYTHONPATH="$(pwd)" py.test-%{python3_version} test_pytest_mock.py
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 01 2019 Miro Hrončok <mhroncok@redhat.com> - 1.10.4-6
|
||||||
|
- Subpackage python2-pytest-mock has been removed
|
||||||
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||||
|
|
||||||
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.10.4-5
|
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.10.4-5
|
||||||
- Rebuilt for Python 3.8
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user