Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
fa4017c66c
!16 【轻量级 PR】:Rebuild for next release
From: @zhangruifang2020 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2022-10-31 01:05:44 +00:00
张瑞方
3575b0b31e
Rebuild for next release
Signed-off-by: 张瑞方 <xdzhangruifang@163.com>
2022-10-26 06:50:26 +00:00
openeuler-ci-bot
b99cfd060c !9 Upgrade python-mock to 4.0.3 in master
From: @s17723959267
Reviewed-by: @licihua
Signed-off-by: @licihua
2021-02-03 09:54:57 +08:00
renmingshuai
9a0b5600cc upgrade version to 4.0.3 2021-02-01 11:41:33 +08:00
openeuler-ci-bot
4cd826b888 !6 Fix source0
From: @kkkl12
Reviewed-by: @yanzh_h
Signed-off-by: @yanzh_h
2020-09-29 14:10:01 +08:00
kkkl12
458bf95bd1 Fix Source0 2020-09-29 10:38:32 +08:00
openeuler-ci-bot
fa65e57293 !4 delete buildrequires funcsigs
Merge pull request !4 from tianwei/master
2020-08-20 16:33:47 +08:00
zzm_567
2178ef8826 delete buildrequires funcsigs 2020-08-20 15:06:23 +08:00
openeuler-ci-bot
e4bf4928f6 !3 update release to 4.0.2
Merge pull request !3 from tianwei/master
2020-07-30 15:55:47 +08:00
weiwei_150212
5d93c23e8e update to release 4.0.2 2020-07-25 11:06:02 +08:00
3 changed files with 21 additions and 24 deletions

Binary file not shown.

BIN
mock-4.0.3.tar.gz Normal file

Binary file not shown.

View File

@ -6,33 +6,24 @@ arguments they were called with. You can also specify return values and set \
needed attributes in the normal way. \ needed attributes in the normal way. \
Name: python-mock Name: python-mock
Version: 2.0.0 Version: 4.0.3
Release: 11 Release: 2
Summary: A Python Mocking and Patching Library for Testing Summary: A Python Mocking and Patching Library for Testing
License: BSD License: BSD
URL: http://www.voidspace.org.uk/python/mock/ URL: http://www.voidspace.org.uk/python/mock/
Source0: http://pypi.python.org/packages/source/m/mock/mock-%{version}.tar.gz Source0: https://pypi.python.org/packages/source/m/mock/mock-%{version}.tar.gz
BuildArch: noarch 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 BuildRequires: python3-devel python3-setuptools python3-pbr python3-unittest2 python3-pytest
%description %description
%{_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
%description -n python2-mock
This is the python2 subpackage for %{name}.
%{_description__}
%package -n python3-mock %package -n python3-mock
Summary: Python3 subpackage for %{name} Summary: Python3 subpackage for %{name}
%{?python_provide:%python_provide python3-mock} %{?python_provide:%python_provide python3-mock}
Requires: python3-funcsigs python3-pbr python3-six >= 1.9.0 Requires: python3-pbr python3-six >= 1.9.0
%description -n python3-mock %description -n python3-mock
This is the python3 subpackage for %{name}. This is the python3 subpackage for %{name}.
@ -42,27 +33,33 @@ This is the python3 subpackage for %{name}.
%autosetup -n mock-%{version} -p1 %autosetup -n mock-%{version} -p1
%build %build
%{py2_build}
%{py3_build} %{py3_build}
%check %check
%{__python2} setup.py test
%{__python3} setup.py test ||: %{__python3} setup.py test ||:
%install %install
%{py3_install} %{py3_install}
%{py2_install}
%files -n python2-mock
%license LICENSE.txt
%doc docs/*
%{python2_sitelib}/{*.egg-info,mock}
%files -n python3-mock %files -n python3-mock
%license LICENSE.txt %license LICENSE.txt
%doc docs/*
%{python3_sitelib}/{*.egg-info,mock} %{python3_sitelib}/{*.egg-info,mock}
%changelog %changelog
* Wed Oct 26 2022 zhangruifang <zhangruifang1@h-partners.com> - 4.0.3-2
- Rebuild for next release
* Mon Feb 1 2021 shangyibin <shangyibin1@huawei.com> - 4.0.3-1
- Upgrade to version 4.0.3
* Tue Sep 20 2020 liuweibo <liuweibo10@huawei.com> - 4.0.2-3
- Fix Source0
* Thu Aug 20 2020 tianwei <tianwei12@huawei.com> - 4.0.2-2
- Don't require funcsigs on python3, it's part of the standard library
* Sat Jul 25 2020 tianwei <tianwei12@huawei.com> - 4.0.2-1
- Package update to 4.0.2
* Thu Oct 17 2019 huzhiyu <huzhiyu1@huawei.com> - 2.0.0-11 * Thu Oct 17 2019 huzhiyu <huzhiyu1@huawei.com> - 2.0.0-11
- Package init - Package init