diff --git a/mocket-3.7.2.tar.gz b/mocket-3.7.2.tar.gz deleted file mode 100644 index cc1ca1d..0000000 --- a/mocket-3.7.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1637b5b7878a9d6fc90c124f059a78c824a3972932e821fd8069532dc57aec8e -size 68728 diff --git a/mocket-3.7.3.tar.gz b/mocket-3.7.3.tar.gz new file mode 100644 index 0000000..a40e2a2 --- /dev/null +++ b/mocket-3.7.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f715af594a4e0a319159a69d50d8c05fb45cf60c57cabd61c3557d5ac1bdbdcc +size 68742 diff --git a/partial-wildcards.patch b/partial-wildcards.patch deleted file mode 100644 index f8027eb..0000000 --- a/partial-wildcards.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 98b3302d9f7bef7becaacd0a86b2ba48e90ddcfb Mon Sep 17 00:00:00 2001 -From: Giorgio Salluzzo -Date: Wed, 18 Sep 2019 08:12:54 +0200 -Subject: [PATCH] Partial wildcards fix. - ---- - mocket/mocket.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/mocket/mocket.py b/mocket/mocket.py -index 2cfe43d..df00813 100644 ---- a/mocket/mocket.py -+++ b/mocket/mocket.py -@@ -210,7 +210,7 @@ def getpeercert(self, *args, **kwargs): - return { - "notAfter": shift.strftime("%b %d %H:%M:%S GMT"), - "subjectAltName": ( -- ("DNS", "*%s" % self._host), -+ ("DNS", "*.%s" % self._host), - ("DNS", self._host), - ("DNS", "*"), - ), diff --git a/python-mocket.changes b/python-mocket.changes index 6059051..4931205 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,7 +1,15 @@ +------------------------------------------------------------------- +Wed Sep 18 07:41:18 UTC 2019 - Tomáš Chvátal + +- Update to 3.7.3: + * testsuite fixes +- Drop patch partial-wildcards.patch + ------------------------------------------------------------------- Wed Sep 18 04:08:03 UTC 2019 - John Vandenberg - Activate test suite +- Add patch partial-wildcards.patch - Update to v3.7.2 ------------------------------------------------------------------- diff --git a/python-mocket.spec b/python-mocket.spec index 89b0548..f9d3d5e 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -18,15 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-mocket -Version: 3.7.2 +Version: 3.7.3 Release: 0 Summary: Python socket mock framework License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/mindflayer/python-mocket Source: https://github.com/mindflayer/python-mocket/archive/%{version}.tar.gz#/mocket-%{version}.tar.gz -# https://github.com/mindflayer/python-mocket/issues/102 -Patch0: https://github.com/mindflayer/python-mocket/commit/98b3302d9.patch#/partial-wildcards.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -42,13 +40,13 @@ Suggests: python-requests Suggests: python-xxhash BuildArch: noarch # SECTION test requirements +BuildRequires: %{python_module PySocks} BuildRequires: %{python_module cryptography} BuildRequires: %{python_module decorator} BuildRequires: %{python_module gevent} BuildRequires: %{python_module hexdump} BuildRequires: %{python_module mock} BuildRequires: %{python_module pyOpenSSL} -BuildRequires: %{python_module PySocks} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-magic} BuildRequires: %{python_module redis} @@ -69,12 +67,8 @@ included, with gevent/asyncio/SSL support. %prep %setup -q -n python-mocket-%{version} -%patch0 -p1 - rm -f setup.cfg pytest.ini tox.ini - touch conftest.py - rm tests/tests27/test_pook.py %build