Dirk Mueller 2023-11-07 16:08:03 +00:00 committed by Git OBS Bridge
parent 97e9c17162
commit a9eef97a4f

13
b4.spec
View File

@ -18,8 +18,10 @@
%if 0%{suse_version} >= 1600 %if 0%{suse_version} >= 1600
%global pythons python3 %global pythons python3
%global pprefix python3
%else %else
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
%global pprefix python311
%endif %endif
Name: b4 Name: b4
Version: 0.12.4 Version: 0.12.4
@ -39,14 +41,13 @@ BuildRequires: fdupes
BuildRequires: git-core BuildRequires: git-core
BuildRequires: git-filter-repo >= 2.30 BuildRequires: git-filter-repo >= 2.30
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: %{pprefix}-dkimpy
Requires: %{pprefix}-dnspython
Requires: %{pprefix}-patatt
Requires: %{pprefix}-requests
Requires: git-core Requires: git-core
Requires: git-filter-repo >= 2.30 Requires: git-filter-repo >= 2.30
Requires: python-dkimpy
Requires: python-dnspython
Requires: python-patatt
Requires: python-requests
BuildArch: noarch BuildArch: noarch
%{python_subpackages}
%description %description
This is a helper utility to work with patches made available via a 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 --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' %{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 %doc README.rst
%license COPYING %license COPYING
%{_bindir}/%{name} %{_bindir}/%{name}