14
0
2024-09-24 11:09:59 +00:00
committed by Git OBS Bridge
parent c42949608c
commit d9bd194172
2 changed files with 7 additions and 9 deletions

View File

@@ -1,9 +1,7 @@
-------------------------------------------------------------------
Mon Sep 23 07:12:23 UTC 2024 - Simon Lees <sflees@suse.de>
- Swap the following to not use macros:
* Requires: %{python_module click}
* Requires: %{python_module peewee}
- Fix the runtime requires
-------------------------------------------------------------------
Tue Aug 13 01:16:17 UTC 2024 - Simon Lees <sflees@suse.de>

View File

@@ -15,8 +15,8 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# mypy on SLE-15 is too old for this test suite
%if 0%{?suse_version} > 1500
%if 0%{?suse_version} > 1500
%define run_tests 1
%else
%define run_tests 0
@@ -30,20 +30,20 @@ Summary: Support for migrations in Peewee ORM
License: MIT
URL: https://github.com/klen/peewee_migrate
Source: https://files.pythonhosted.org/packages/source/p/peewee-migrate/peewee_migrate-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1.0.0}
BuildRequires: python-rpm-macros
%if 0%{?run_tests}
# The following are required for the testsuite
BuildRequires: %{python_module peewee}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-mypy}
BuildRequires: %{python_module pytest}
%endif
BuildRequires: fdupes
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires: python-click
Requires: python-peewee
Requires: python-click
Requires: python-peewee
BuildArch: noarch
%python_subpackages