forked from pool/python-peewee-migrate
- Fix the runtime requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee-migrate?expand=0&rev=3
This commit is contained in:
@@ -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>
|
||||||
|
@@ -15,8 +15,8 @@
|
|||||||
# 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
|
||||||
%define run_tests 0
|
%define run_tests 0
|
||||||
@@ -30,20 +30,20 @@ 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
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Requires: python-click
|
Requires: python-click
|
||||||
Requires: python-peewee
|
Requires: python-peewee
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user