Accepting request 867645 from devel:tools
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/867645 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/b4?expand=0&rev=12
This commit is contained in:
commit
8de88a6ac7
4
_service
4
_service
@ -3,8 +3,8 @@
|
|||||||
<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="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
<param name="revision">@PARENT_TAG@</param>
|
<param name="revision">stable-0.6.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>
|
||||||
|
@ -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">27f1ca8ce3e64c434503f15b93d56f6d2fc87495</param></service></servicedata>
|
<param name="changesrevision">f93bbd3e50b1fb4507aa537f4004da545af9d890</param></service></servicedata>
|
3
b4-0.6.2+4.obscpio
Normal file
3
b4-0.6.2+4.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c8875e23e6b6e5a665fff1eb82bab6b4d9acb1060aeeea2b3679b15f7ffb84bd
|
||||||
|
size 230923
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f5b43cf5f4d1c192fdeb33735199cc3fc4866ac911164939a1dae38a1be71b8c
|
|
||||||
size 229899
|
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 22 06:09:14 UTC 2021 - jslaby@suse.cz
|
||||||
|
|
||||||
|
- Update to version 0.6.2+4:
|
||||||
|
* Save to/cc headers as-is for tracking
|
||||||
|
* Add -f to "b4 mbox" to filter dupes
|
||||||
|
* Check if -o is a maildir
|
||||||
|
- Skip python 3.6 to fix build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 21 10:26:12 UTC 2020 - jslaby@suse.cz
|
Mon Dec 21 10:26:12 UTC 2020 - jslaby@suse.cz
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: b4
|
name: b4
|
||||||
version: 0.6.2
|
version: 0.6.2+4
|
||||||
mtime: 1608330096
|
mtime: 1609179217
|
||||||
commit: 27f1ca8ce3e64c434503f15b93d56f6d2fc87495
|
commit: f93bbd3e50b1fb4507aa537f4004da545af9d890
|
||||||
|
|
||||||
|
28
b4.spec
28
b4.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package b4
|
# spec file for package b4
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,10 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define skip_python2 1
|
%define version_unconverted 0.6.2+4
|
||||||
%define version_unconverted 0.6.2
|
|
||||||
Name: b4
|
Name: b4
|
||||||
Version: 0.6.2
|
Version: 0.6.2+4
|
||||||
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
|
||||||
@ -28,8 +27,10 @@ URL: https://git.kernel.org/pub/scm/utils/b4/b4.git
|
|||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Patch0: 0001-lift-requests-version-requirement.patch
|
Patch0: 0001-lift-requests-version-requirement.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: %{python_module requests}
|
# for checks
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: git-core
|
||||||
|
BuildRequires: python3-requests
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
Requires: python3-dkimpy >= 1.0.5
|
Requires: python3-dkimpy >= 1.0.5
|
||||||
Requires: python3-dnspython >= 2.0.0
|
Requires: python3-dnspython >= 2.0.0
|
||||||
Requires: python3-requests >= 2.24.0
|
Requires: python3-requests >= 2.24.0
|
||||||
@ -50,22 +51,25 @@ precursor to Lore and Data in the Star Trek universe.
|
|||||||
sed -i.old '1{/#!.*/d}' b4/*.py
|
sed -i.old '1{/#!.*/d}' b4/*.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python3_install
|
||||||
mv %{buildroot}/%{_mandir}/man5 %{buildroot}/%{_mandir}/man.5
|
mv %{buildroot}/%{_mandir}/man5 %{buildroot}/%{_mandir}/man.5
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py check
|
python3 setup.py check
|
||||||
export PYTHONPATH="./"
|
export PYTHONPATH="./"
|
||||||
%python_exec ./b4/command.py --version >check_version
|
THEIRS=`python3 ./b4/command.py --version`
|
||||||
echo %version | grep "`cat check_version`"
|
OURS=`sed -n "s/__VERSION__ = '\(.*\)'/\1/p" b4/__init__.py`
|
||||||
|
test "$THEIRS" = "$OURS"
|
||||||
|
python3 ./b4/command.py --help |grep -q 'mbox,am,attest'
|
||||||
|
python3 ./b4/command.py mbox abc |& grep -q 'Looking up https://lore.kernel.org/r/abc'
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/{%name}
|
%{_bindir}/%{name}
|
||||||
%dir %{_mandir}/man.5/
|
%dir %{_mandir}/man.5/
|
||||||
%{_mandir}/man.5/b4.5.gz
|
%{_mandir}/man.5/b4.5.gz
|
||||||
%{python_sitelib}/%{name}*
|
%{python_sitelib}/%{name}*
|
||||||
|
Loading…
Reference in New Issue
Block a user