diff --git a/python-web_cache.changes b/python-web_cache.changes index 1333e55..3c5da40 100644 --- a/python-web_cache.changes +++ b/python-web_cache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 11 08:15:14 UTC 2019 - Tomáš Chvátal + +- Pull in full python for sqlite module + ------------------------------------------------------------------- Thu Apr 11 11:00:53 UTC 2019 - Marketa Calabkova diff --git a/python-web_cache.spec b/python-web_cache.spec index 3e0ab50..25df0e0 100644 --- a/python-web_cache.spec +++ b/python-web_cache.spec @@ -1,7 +1,7 @@ # # spec file for package python-web_cache # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,20 +17,20 @@ %define skip_python2 1 - %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-web_cache Version: 1.1.0 Release: 0 Summary: Persistent cache storage python module License: LGPL-2.1-only -Group: Development/Languages/Python -Url: https://github.com/desbma/web_cache +URL: https://github.com/desbma/web_cache Source: https://github.com/desbma/web_cache/archive/%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: %{python_module unittest2} +BuildRequires: %{pythons} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python BuildArch: noarch %python_subpackages @@ -51,10 +51,9 @@ strategies and optional compression. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m unittest discover -v %files %{python_files} -%defattr(-,root,root,-) %doc README.md %license LICENSE %{python_sitelib}/*