!3 Remove python2-backports-unittest_mock subpackage
Merge pull request !3 from ultra_planet/master
This commit is contained in:
commit
038bfd0149
@ -1,6 +1,6 @@
|
|||||||
Name: python-backports-unittest_mock
|
Name: python-backports-unittest_mock
|
||||||
Version: 1.2.1
|
Version: 1.2.1
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: Backports of unittest_mock
|
Summary: Backports of unittest_mock
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/jaraco/backports.unittest_mock
|
URL: https://github.com/jaraco/backports.unittest_mock
|
||||||
@ -8,7 +8,6 @@ Source0: https://files.pythonhosted.org/packages/source/b/backports.unitt
|
|||||||
Source1: MIT
|
Source1: MIT
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel python2-setuptools_scm python2-mock
|
|
||||||
BuildRequires: python3-devel python3-setuptools_scm python3-mock
|
BuildRequires: python3-devel python3-setuptools_scm python3-mock
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -16,15 +15,6 @@ Provides the function "install ()" to make the "mock" module available as "unitt
|
|||||||
Python 3.2 and earlier.It also advertises the pytest plugin, which automatically configures
|
Python 3.2 and earlier.It also advertises the pytest plugin, which automatically configures
|
||||||
unittest.mock.
|
unittest.mock.
|
||||||
|
|
||||||
%package -n python2-backports-unittest_mock
|
|
||||||
Summary: Backports of unittest_mock
|
|
||||||
%{?python_provide:%python_provide python2-backports-unittest_mock}
|
|
||||||
|
|
||||||
%description -n python2-backports-unittest_mock
|
|
||||||
Provides the function "install ()" to make the "mock" module available as "unittest.mock" in
|
|
||||||
Python 3.2 and earlier.It also advertises the pytest plugin, which automatically configures
|
|
||||||
unittest.mock.
|
|
||||||
|
|
||||||
%package -n python3-backports-unittest_mock
|
%package -n python3-backports-unittest_mock
|
||||||
Summary: Backports of unittest_mock
|
Summary: Backports of unittest_mock
|
||||||
%{?python_provide:%python_provide python3-backports-unittest_mock}
|
%{?python_provide:%python_provide python3-backports-unittest_mock}
|
||||||
@ -38,27 +28,22 @@ unittest.mock.
|
|||||||
%autosetup -n backports.unittest_mock-%{version} -p1
|
%autosetup -n backports.unittest_mock-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
install -p -m 0644 %{SOURCE1} MIT
|
install -p -m 0644 %{SOURCE1} MIT
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python2} setup.py test
|
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python2-backports-unittest_mock
|
|
||||||
%doc CHANGES.rst README.rst docs/* MIT
|
|
||||||
%{python2_sitelib}/*
|
|
||||||
|
|
||||||
%files -n python3-backports-unittest_mock
|
%files -n python3-backports-unittest_mock
|
||||||
%doc CHANGES.rst README.rst docs/* MIT
|
%doc CHANGES.rst README.rst docs/* MIT
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 05 2020 lingsheng <lingsheng@huawei.com> - 1.2.1-8
|
||||||
|
- Remove python2-backports-unittest_mock subpackage
|
||||||
|
|
||||||
* Tue Jan 7 2020 fengbing <fengbing7@huawei.com> - 1.2.1-7
|
* Tue Jan 7 2020 fengbing <fengbing7@huawei.com> - 1.2.1-7
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user