diff --git a/pytest-mock-2.0.0.tar.gz b/pytest-mock-2.0.0.tar.gz deleted file mode 100644 index b615fed..0000000 --- a/pytest-mock-2.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b35eb281e93aafed138db25c8772b95d3756108b601947f89af503f8c629413f -size 24665 diff --git a/pytest-mock-3.1.0.tar.gz b/pytest-mock-3.1.0.tar.gz new file mode 100644 index 0000000..2080d34 --- /dev/null +++ b/pytest-mock-3.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce610831cedeff5331f4e2fc453a5dd65384303f680ab34bee2c6533855b431c +size 25003 diff --git a/python-pytest-mock.changes b/python-pytest-mock.changes index 9301b5b..86a6c38 100644 --- a/python-pytest-mock.changes +++ b/python-pytest-mock.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Apr 27 10:19:49 UTC 2020 - Tomáš Chvátal + +- Update to 3.1.0: + * Python 2.7 and 3.4 are no longer supported + * New mocker fixtures added that allow using mocking functionality + in other scopes + ------------------------------------------------------------------- Mon Jan 6 13:11:42 UTC 2020 - Tomáš Chvátal diff --git a/python-pytest-mock.spec b/python-pytest-mock.spec index c1e5da5..e46b910 100644 --- a/python-pytest-mock.spec +++ b/python-pytest-mock.spec @@ -16,11 +16,10 @@ # -%define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 +%define skip_python2 1 Name: python-pytest-mock -Version: 2.0.0 +Version: 3.1.0 Release: 0 Summary: Thin-wrapper around the mock package for easier use with pytest License: MIT @@ -33,12 +32,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pytest BuildArch: noarch -%if %{with python2} -BuildRequires: %{oldpython}-mock -%endif -%ifpython2 -Requires: %{oldpython}-mock -%endif %python_subpackages %description