SHA256
1
0
forked from pool/b4

Accepting request 1004535 from devel:tools

- Update to version 0.10.0:
  * Developer-oriented features (prep, send, trailers commands)
  * Patchwork integration
  * The "trailer-order" setting now only reorders the trailers
  * Web submission endpoint support for "b4 send"
  * Adds a "trailers-ignore-from" configuration option
  * Bugfixes and improved tests.
- switch from _service to standard releases (they are often enough)

OBS-URL: https://build.opensuse.org/request/show/1004535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/b4?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2022-09-19 14:03:46 +00:00 committed by Git OBS Bridge
commit c016a8b82c
7 changed files with 20 additions and 33 deletions

View File

@ -1,18 +0,0 @@
<services>
<service name="obs_scm" mode="disabled">
<param name="url">https://git.kernel.org/pub/scm/utils/b4/b4</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="revision">v0.9.0</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v([^+]*)(\+0)?(\+[1-9][0-9]*)?</param>
<param name="versionrewrite-replacement">\1\3</param>
</service>
<service name="set_version" mode="disabled" />
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>

View File

@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://git.kernel.org/pub/scm/utils/b4/b4</param>
<param name="changesrevision">409c865175bf8f103bf5633331e8a1d77a446814</param></service></servicedata>

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:68e154f9f5ad5ab557c124cef662802fa491ec9322b3899cc0c46846354b9574
size 204453

View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Sep 19 05:31:24 UTC 2022 - Jiri Slaby <jslaby@suse.cz>
- Update to version 0.10.0:
* Developer-oriented features (prep, send, trailers commands)
* Patchwork integration
* The "trailer-order" setting now only reorders the trailers
* Web submission endpoint support for "b4 send"
* Adds a "trailers-ignore-from" configuration option
* Bugfixes and improved tests.
- switch from _service to standard releases (they are often enough)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 26 05:36:32 UTC 2022 - Thorsten Kukuk <kukuk@suse.com> Fri Aug 26 05:36:32 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -1,4 +0,0 @@
name: b4
version: 0.9.0
mtime: 1655490181
commit: 409c865175bf8f103bf5633331e8a1d77a446814

View File

@ -16,17 +16,17 @@
# #
%define version_unconverted 0.9.0
Name: b4 Name: b4
Version: 0.9.0 Version: 0.10.0
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: %{name}-%{version}.tar.xz Source0: https://github.com/mricon/b4/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: fdupes
BuildRequires: git-core BuildRequires: git-core
BuildRequires: python3-dkimpy >= 1.0.5 BuildRequires: python3-dkimpy >= 1.0.5
BuildRequires: python3-dnspython >= 2.0.0 BuildRequires: python3-dnspython >= 2.0.0
@ -62,6 +62,7 @@ sed -i.old '1{/#!.*/d}' b4/*.py
%install %install
%python3_install %python3_install
%fdupes %{buildroot}%python3_sitelib
%check %check
python3 setup.py check python3 setup.py check
@ -69,7 +70,7 @@ export PYTHONPATH="./"
THEIRS=`%{buildroot}/%{_bindir}/b4 --version` THEIRS=`%{buildroot}/%{_bindir}/b4 --version`
OURS=`sed -n "s/__VERSION__ = '\(.*\)'/\1/p" b4/__init__.py` OURS=`sed -n "s/__VERSION__ = '\(.*\)'/\1/p" b4/__init__.py`
test "$THEIRS" = "$OURS" test "$THEIRS" = "$OURS"
%{buildroot}/%{_bindir}/b4 --help |grep -q 'mbox,am,shazam,attest' %{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 %files