SHA256
1
0
forked from pool/b4

Accepting request 1124048 from devel:tools

- remove python_module from requires, this might lead to unwanted
  side effects. use pprefix macro instead to manage sle15

- add %{python_module ...} also to requires, otherwise bad
  requires are generated

OBS-URL: https://build.opensuse.org/request/show/1124048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/b4?expand=0&rev=39
This commit is contained in:
Ana Guerrero 2023-11-07 20:26:31 +00:00 committed by Git OBS Bridge
commit 6606d2219a
2 changed files with 22 additions and 5 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Nov 7 11:05:30 UTC 2023 - Dirk Müller <dmueller@suse.com>
- remove python_module from requires, this might lead to unwanted
side effects. use pprefix macro instead to manage sle15
-------------------------------------------------------------------
Tue Oct 31 08:14:02 UTC 2023 - Jiri Slaby <jslaby@suse.cz>
- add %{python_module ...} also to requires, otherwise bad
requires are generated
-------------------------------------------------------------------
Tue Oct 24 07:57:32 UTC 2023 - Jiri Slaby <jslaby@suse.cz>

15
b4.spec
View File

@ -16,8 +16,13 @@
#
%define pythons python3
%if 0%{suse_version} >= 1600
%global pythons python3
%global pprefix python3
%else
%{?sle15_python_module_pythons}
%global pprefix python311
%endif
Name: b4
Version: 0.12.4
Release: 0
@ -36,12 +41,12 @@ BuildRequires: fdupes
BuildRequires: git-core
BuildRequires: git-filter-repo >= 2.30
BuildRequires: python-rpm-macros
Requires: %{pprefix}-dkimpy
Requires: %{pprefix}-dnspython
Requires: %{pprefix}-patatt
Requires: %{pprefix}-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