From 9c3457c4e7800b0c2cb40d1e3de04992df70e8e5fc9fb3607a4d3f2ac49d2af2 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Tue, 31 Oct 2023 08:20:05 +0000 Subject: [PATCH] req module OBS-URL: https://build.opensuse.org/package/show/devel:tools/b4?expand=0&rev=95 --- b4.changes | 6 ++++++ b4.spec | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/b4.changes b/b4.changes index 3836ccb..746c226 100644 --- a/b4.changes +++ b/b4.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 31 08:14:02 UTC 2023 - Jiri Slaby + +- add %{python_module ...} also to requires, otherwise bad + requires are generated + ------------------------------------------------------------------- Tue Oct 24 07:57:32 UTC 2023 - Jiri Slaby diff --git a/b4.spec b/b4.spec index 92989f5..24d24fd 100644 --- a/b4.spec +++ b/b4.spec @@ -36,12 +36,12 @@ BuildRequires: fdupes BuildRequires: git-core BuildRequires: git-filter-repo >= 2.30 BuildRequires: python-rpm-macros +Requires: %{python_module dkimpy} +Requires: %{python_module dnspython} +Requires: %{python_module patatt} +Requires: %{python_module requests} Requires: git-core Requires: git-filter-repo >= 2.30 -Requires: python3-dkimpy -Requires: python3-dnspython -Requires: python3-patatt -Requires: python3-requests BuildArch: noarch %description