From e21c80d2bda0485765b152ec39907fc953e7759f8c3345de9647c57cc8908a06 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Fri, 23 Jun 2023 07:46:41 +0000 Subject: [PATCH] Accepting request 1094633 from home:dimstar:Factory - Do not use python_module macro, but rather specify python3-FOO directly: this package is not a python module, but rather an application written in python. OBS-URL: https://build.opensuse.org/request/show/1094633 OBS-URL: https://build.opensuse.org/package/show/devel:tools/b4?expand=0&rev=83 --- b4.changes | 7 +++++++ b4.spec | 20 +++++++++----------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/b4.changes b/b4.changes index 714f459..8b5c5d6 100644 --- a/b4.changes +++ b/b4.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jun 22 10:56:42 UTC 2023 - Dominique Leuenberger + +- Do not use python_module macro, but rather specify python3-FOO + directly: this package is not a python module, but rather an + application written in python. + ------------------------------------------------------------------- Sat Mar 11 08:51:30 UTC 2023 - Jiri Slaby diff --git a/b4.spec b/b4.spec index edb1501..e0ba3c8 100644 --- a/b4.spec +++ b/b4.spec @@ -16,8 +16,6 @@ # -%{?!python_module:define python_module() python-%{**} python3-%{**}} -%define pythons python3 Name: b4 Version: 0.12.2 Release: 0 @@ -26,21 +24,21 @@ License: GPL-2.0-or-later Group: Development/Tools/Other URL: https://git.kernel.org/pub/scm/utils/b4/b4.git Source0: https://github.com/mricon/b4/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: %{python_module dkimpy >= 1.0.5} -BuildRequires: %{python_module dnspython >= 2.0.0} -BuildRequires: %{python_module patatt >= 0.5} -BuildRequires: %{python_module requests >= 2.24.0} -BuildRequires: %{python_module setuptools} 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} +BuildRequires: python3-dkimpy >= 1.0.5 +BuildRequires: python3-dnspython >= 2.0.0 +BuildRequires: python3-patatt >= 0.5 +BuildRequires: python3-requests >= 2.24.0 +BuildRequires: python3-setuptools Requires: git-core Requires: git-filter-repo >= 2.30 +Requires: python3-dkimpy +Requires: python3-dnspython +Requires: python3-patatt +Requires: python3-requests BuildArch: noarch %description