Accepting request 827997 from devel:tools

- Update to version 0.5.2+2:
  * Require that a trailer is at least 2 chars long
  * Cover letters may not have a diffstat
- add requests to Requires

OBS-URL: https://build.opensuse.org/request/show/827997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/b4?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2020-08-20 20:29:49 +00:00 committed by Git OBS Bridge
commit 002145d927
7 changed files with 26 additions and 10 deletions

View File

@ -4,7 +4,7 @@
<param name="scm">git</param> <param name="scm">git</param>
<param name="changesgenerate">enable</param> <param name="changesgenerate">enable</param>
<param name="revision">stable-0.5.y</param> <param name="revision">stable-0.5.y</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param> <param name="versionrewrite-replacement">\1</param>
</service> </service>

View File

@ -1,4 +1,4 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">git://git.kernel.org/pub/scm/utils/b4/b4.git</param> <param name="url">git://git.kernel.org/pub/scm/utils/b4/b4.git</param>
<param name="changesrevision">57aa10be35dda4201ee1d208e7b00a55e9133617</param></service></servicedata> <param name="changesrevision">347edcdd1e7104484777e286ed30f327de17ff8d</param></service></servicedata>

3
b4-0.5.2+2.obscpio Normal file
View File

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

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Aug 20 05:30:13 UTC 2020 - jslaby@suse.com
- Update to version 0.5.2+2:
* Require that a trailer is at least 2 chars long
* Cover letters may not have a diffstat
- add requests to Requires
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 28 11:07:40 UTC 2020 - jslaby@suse.com Tue Jul 28 11:07:40 UTC 2020 - jslaby@suse.com

View File

@ -1,5 +1,5 @@
name: b4 name: b4
version: 0.5.2 version: 0.5.2+2
mtime: 1595882083 mtime: 1597766098
commit: 57aa10be35dda4201ee1d208e7b00a55e9133617 commit: 347edcdd1e7104484777e286ed30f327de17ff8d

12
b4.spec
View File

@ -17,9 +17,9 @@
%define skip_python2 1 %define skip_python2 1
%define version_unconverted 0.5.2 %define version_unconverted 0.5.2+2
Name: b4 Name: b4
Version: 0.5.2 Version: 0.5.2+2
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
@ -27,8 +27,10 @@ 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: %{name}-%{version}.tar.xz
BuildArch: noarch BuildArch: noarch
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: tar BuildRequires: tar
Requires: python3-requests
%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
@ -53,6 +55,12 @@ install -d %{buildroot}/%{_mandir}/man.5
install -m 0644 -t %{buildroot}/%{_mandir}/man.5 man/b4.5 install -m 0644 -t %{buildroot}/%{_mandir}/man.5 man/b4.5
%python_install %python_install
%check
%python_exec setup.py check
export PYTHONPATH="./"
%python_exec ./b4/command.py --version >check_version
echo %version | grep "`cat check_version`"
%files %files
%doc README.rst %doc README.rst
%license COPYING %license COPYING