From a9eef97a4fe0ea87e88ad9187c0acdacc9b37ccb410578689c136a40b0998aae Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 7 Nov 2023 16:08:03 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:tools/b4?expand=0&rev=99 --- b4.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/b4.spec b/b4.spec index 02e76dc..563ba2b 100644 --- a/b4.spec +++ b/b4.spec @@ -18,8 +18,10 @@ %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 @@ -39,14 +41,13 @@ 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: python-dkimpy -Requires: python-dnspython -Requires: python-patatt -Requires: python-requests BuildArch: noarch -%{python_subpackages} %description This is a helper utility to work with patches made available via a @@ -83,7 +84,7 @@ test "$THEIRS" = "$OURS" %{buildroot}/%{_bindir}/b4 --help | grep -q 'mbox,am,shazam,pr' %{buildroot}/%{_bindir}/b4 mbox abc |& grep -q 'Grabbing thread from lore.kernel.org/all/abc/t.mbox.gz' -%files %{python_files} +%files %doc README.rst %license COPYING %{_bindir}/%{name}