SHA256
1
0
forked from pool/b4

Accepting request 1069525 from devel:tools

OBS-URL: https://build.opensuse.org/request/show/1069525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/b4?expand=0&rev=32
This commit is contained in:
Dominique Leuenberger 2023-03-06 17:55:31 +00:00 committed by Git OBS Bridge
commit 79f8684053
4 changed files with 25 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:428cb483a045e43d380db7ebcc66df25f6ec043e0ddc5ba75268788bf23a7e12
size 233667

3
b4-0.12.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67da3d7b067558f3b334ccd17e97d4b5bf0d341b17ae39c74a6898959255900a
size 233691

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 3 21:26:19 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 0.12.1:
* Use typing compatible with Python 3.8
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 24 06:21:58 UTC 2023 - Jiri Slaby <jslaby@suse.cz> Tue Jan 24 06:21:58 UTC 2023 - Jiri Slaby <jslaby@suse.cz>

31
b4.spec
View File

@ -16,31 +16,32 @@
# #
%{?!python_module:define python_module() python-%{**} python3-%{**}}
%define pythons python3
Name: b4 Name: b4
Version: 0.12.0 Version: 0.12.1
Release: 0 Release: 0
Summary: Helper scripts for kernel.org patches Summary: Helper scripts for kernel.org patches
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Development/Tools/Other Group: Development/Tools/Other
URL: https://git.kernel.org/pub/scm/utils/b4/b4.git 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 Source0: https://github.com/mricon/b4/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch 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: fdupes
# SECTION test requirements
BuildRequires: git-core BuildRequires: git-core
BuildRequires: git-filter-repo >= 2.30 BuildRequires: git-filter-repo >= 2.30
BuildRequires: python3-dkimpy >= 1.0.5 BuildRequires: python-rpm-macros
BuildRequires: python3-dnspython >= 2.0.0 Requires: %{python_module dkimpy}
BuildRequires: python3-patatt >= 0.5 Requires: %{python_module dnspython}
BuildRequires: python3-requests >= 2.24.0 Requires: %{python_module patatt}
# /SECTION Requires: %{python_module requests}
BuildRequires: python3-setuptools
Requires: git-core Requires: git-core
Requires: git-filter-repo >= 2.30 Requires: git-filter-repo >= 2.30
Requires: python3-dkimpy >= 1.0.5 BuildArch: noarch
Requires: python3-dnspython >= 2.0.0
Requires: python3-patatt >= 0.5
Requires: python3-requests >= 2.24.0
%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
@ -65,7 +66,7 @@ sed -i.old '1{/#!.*/d}' b4/*.py
%install %install
%python3_install %python3_install
%fdupes %{buildroot}%python3_sitelib %fdupes %{buildroot}%{python3_sitelib}
%check %check
python3 setup.py check python3 setup.py check
@ -80,7 +81,7 @@ test "$THEIRS" = "$OURS"
%doc README.rst %doc README.rst
%license COPYING %license COPYING
%{_bindir}/%{name} %{_bindir}/%{name}
%{_mandir}/man5/b4.5.gz %{_mandir}/man5/b4.5%{?ext_man}
%{python_sitelib}/%{name}* %{python_sitelib}/%{name}*
%changelog %changelog