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

View File

@@ -15,7 +15,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # 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 %define run_tests 1
%else %else
@@ -30,14 +30,14 @@ Summary: Support for migrations in Peewee ORM
License: MIT License: MIT
URL: https://github.com/klen/peewee_migrate URL: https://github.com/klen/peewee_migrate
Source: https://files.pythonhosted.org/packages/source/p/peewee-migrate/peewee_migrate-%{version}.tar.gz 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 pip}
BuildRequires: %{python_module poetry-core >= 1.0.0} BuildRequires: %{python_module poetry-core >= 1.0.0}
BuildRequires: python-rpm-macros
%if 0%{?run_tests} %if 0%{?run_tests}
# The following are required for the testsuite # The following are required for the testsuite
BuildRequires: %{python_module peewee} BuildRequires: %{python_module peewee}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-mypy} BuildRequires: %{python_module pytest-mypy}
BuildRequires: %{python_module pytest}
%endif %endif
BuildRequires: fdupes BuildRequires: fdupes
Requires(post): update-alternatives Requires(post): update-alternatives