diff --git a/.gitignore b/.gitignore index b5a2e17..1392363 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /mock-1.0.1.tar.gz /mock-1.3.0.tar.gz /mock-2.0.0.tar.gz +/mock-3.0.5.tar.gz diff --git a/python-mock.spec b/python-mock.spec index 4162d2e..b226fef 100644 --- a/python-mock.spec +++ b/python-mock.spec @@ -10,13 +10,13 @@ %global mod_name mock Name: python-mock -Version: 2.0.0 -Release: 13%{?dist} +Version: 3.0.5 +Release: 1%{?dist} Summary: A Python Mocking and Patching Library for Testing License: BSD URL: http://www.voidspace.org.uk/python/%{mod_name}/ -Source0: http://pypi.python.org/packages/source/m/%{mod_name}/%{mod_name}-%{version}.tar.gz +Source0: https://pypi.python.org/packages/source/m/%{mod_name}/%{mod_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel @@ -24,14 +24,14 @@ BuildRequires: python2-setuptools BuildRequires: python2-funcsigs BuildRequires: python2-pbr # For tests -BuildRequires: python2-unittest2 +BuildRequires: python2-pytest %if 0%{?with_python3} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python3-pbr # For tests -BuildRequires: python%{python3_pkgversion}-unittest2 +BuildRequires: python%{python3_pkgversion}-pytest %endif @@ -85,7 +85,7 @@ needed attributes in the normal way. %check %{__python2} setup.py test %if 0%{?with_python3} -%{__python3} -m unittest2 discover +%{__python3} setup.py test %endif %install @@ -97,20 +97,23 @@ needed attributes in the normal way. %files -n python2-mock %license LICENSE.txt -%doc docs/* +%doc README.rst %{python2_sitelib}/*.egg-info %{python2_sitelib}/%{mod_name} %if 0%{?with_python3} %files -n python%{python3_pkgversion}-mock %license LICENSE.txt -%doc docs/* +%doc README.rst %{python3_sitelib}/*.egg-info %{python3_sitelib}/%{mod_name} %endif %changelog +* Mon Jul 08 2019 Yatin Karel - 3.0.5-1 +- Update to 3.0.5 (RHBZ#1721075) + * Sat Feb 02 2019 Fedora Release Engineering - 2.0.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 09b69d9..6e76c8b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0febfafd14330c9dcaa40de2d82d40ad mock-2.0.0.tar.gz +SHA512 (mock-3.0.5.tar.gz) = 536ab1f0f1448373e9d75e43c6fdb0434adacf0d2cf6eecfe7e590b096c7314914d8e5c20211f196abc59ecb88eb0bf902ae01e7b06d6892e7c0be9d4e35a049