diff --git a/mock-2.0.0.tar.gz b/mock-2.0.0.tar.gz deleted file mode 100644 index 5c706b64a8c5921c102d42c61751941492885b6a..0000000000000000000000000000000000000000 Binary files a/mock-2.0.0.tar.gz and /dev/null differ diff --git a/mock-4.0.2.tar.gz b/mock-4.0.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..22cb46eb4fafdf0803c3e338ce8b731102ee812e Binary files /dev/null and b/mock-4.0.2.tar.gz differ diff --git a/python-mock.spec b/python-mock.spec index 6a898fe433e5981f972f9706d00a4be54b76f03a..029af960fc71402d0800bf19e93c99fb461210a6 100644 --- a/python-mock.spec +++ b/python-mock.spec @@ -6,27 +6,18 @@ arguments they were called with. You can also specify return values and set \ needed attributes in the normal way. \ Name: python-mock -Version: 2.0.0 -Release: 11 +Version: 4.0.2 +Release: 1 Summary: A Python Mocking and Patching Library for Testing License: BSD URL: http://www.voidspace.org.uk/python/mock/ Source0: http://pypi.python.org/packages/source/m/mock/mock-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel python2-setuptools python2-funcsigs python2-pbr git python2-unittest2 -BuildRequires: python3-devel python3-setuptools python3-funcsigs python3-pbr python3-unittest2 -%description -%{_description__} - -%package -n python2-mock -Summary: Python2 subpackage for %{name} -%{?python_provide:%python_provide python2-mock} -Requires: python2-funcsigs python2-pbr python2-six >= 1.9.0 +BuildRequires: python3-devel python3-setuptools python3-funcsigs python3-pbr python3-unittest2 python3-pytest -%description -n python2-mock -This is the python2 subpackage for %{name}. +%description %{_description__} %package -n python3-mock @@ -42,27 +33,20 @@ This is the python3 subpackage for %{name}. %autosetup -n mock-%{version} -p1 %build -%{py2_build} %{py3_build} %check -%{__python2} setup.py test %{__python3} setup.py test ||: %install %{py3_install} -%{py2_install} - -%files -n python2-mock -%license LICENSE.txt -%doc docs/* -%{python2_sitelib}/{*.egg-info,mock} %files -n python3-mock %license LICENSE.txt -%doc docs/* %{python3_sitelib}/{*.egg-info,mock} %changelog +* Sat Jul 25 2020 tianwei - 4.0.2-1 +- Package update to 4.0.2 * Thu Oct 17 2019 huzhiyu - 2.0.0-11 - Package init