From 0faa9b5ad887a9b2a3d7125581deb71b93ce59834c2cae1490250b545c5e026b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 16 Mar 2022 20:46:32 +0000 Subject: [PATCH] Accepting request 962105 from home:pgajdos:python - python-mock is actually not required for build OBS-URL: https://build.opensuse.org/request/show/962105 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=55 --- python-Beaker.changes | 5 +++++ python-Beaker.spec | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/python-Beaker.changes b/python-Beaker.changes index 1e35560..38e428b 100644 --- a/python-Beaker.changes +++ b/python-Beaker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 16 08:44:59 UTC 2022 - pgajdos@suse.com + +- python-mock is actually not required for build + ------------------------------------------------------------------- Tue Mar 1 08:40:51 UTC 2022 - Dirk Müller diff --git a/python-Beaker.spec b/python-Beaker.spec index 324bb11..a713fbf 100644 --- a/python-Beaker.spec +++ b/python-Beaker.spec @@ -34,7 +34,6 @@ BuildRequires: %{python_module WebTest} BuildRequires: %{python_module coverage} BuildRequires: %{python_module cryptography} BuildRequires: %{python_module dbm} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pycryptodome} BuildRequires: %{python_module pylibmc} BuildRequires: %{python_module pymongo} @@ -103,11 +102,6 @@ Features include: %setup -q -n beaker-%{version} %autopatch -p1 -# needs mongo and redis running -rm -r tests/test_managers -rm tests/test_memcached.py -rm tests/test_cachemanager.py - %build %python_build @@ -116,6 +110,10 @@ rm tests/test_cachemanager.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# needs mongo and redis running +rm -r tests/test_managers +rm tests/test_memcached.py +rm tests/test_cachemanager.py %{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} # gh#bbangert/beaker#172 rm -fv tests/test.db