15
0
forked from pool/python-Beaker

Accepting request 962272 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/962272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Beaker?expand=0&rev=30
This commit is contained in:
2022-03-17 16:01:28 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 6 deletions

View File

@@ -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 <dmueller@suse.com>

View File

@@ -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