Compare commits
No commits in common. "factory" and "devel" have entirely different histories.
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:816aa2a26539e2ac92790b04726fbe74d52bfe49bd24570e6cfea8281464b9e2
|
||||
size 243729
|
3
b4-0.14.0.tar.gz
Normal file
3
b4-0.14.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2470164ffeffd3b8217de658d2a2ee9053698f272268ac7563c752d605881d3
|
||||
size 267895
|
3
b4-0.14.1.tar.gz
Normal file
3
b4-0.14.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c2c679ca223f5814196714dc0c7a2aeb7f4740e49a7878f4c00a3d8963c7f14b
|
||||
size 268141
|
22
b4.changes
22
b4.changes
@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 05:10:07 UTC 2024 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- update to 0.14.1:
|
||||
* Forward the smtpserveroption to the local command
|
||||
* Support "valueless truth" in configuration parsing
|
||||
* Exclude tests from dist files
|
||||
* bump-version: fix path to the manpages
|
||||
* shazam: force mboxrd mode for git-am
|
||||
* Improve tests exclusion from the built packages
|
||||
* When looking for the cover commit, restrict to current committer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 17 06:41:56 UTC 2024 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
- update to 0.14.0:
|
||||
* Switch to using pyproject.toml
|
||||
* Automatic dependency resolution
|
||||
* Checkpatch and other pre-submit checks
|
||||
* Document new features
|
||||
* Miscellaneous enhancements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 16 04:40:09 UTC 2024 - Jiri Slaby <jslaby@suse.cz>
|
||||
|
||||
|
24
b4.spec
24
b4.spec
@ -24,7 +24,7 @@
|
||||
%global pprefix python311
|
||||
%endif
|
||||
Name: b4
|
||||
Version: 0.13.0
|
||||
Version: 0.14.1
|
||||
Release: 0
|
||||
Summary: Helper scripts for kernel.org patches
|
||||
License: GPL-2.0-or-later
|
||||
@ -33,16 +33,16 @@ 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
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: %{python_module dkimpy >= 1.0.5}
|
||||
BuildRequires: %{python_module dnspython >= 2.0.0}
|
||||
BuildRequires: %{python_module patatt >= 0.5}
|
||||
BuildRequires: %{python_module patatt >= 0.6}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests >= 2.24.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: git-core
|
||||
BuildRequires: git-filter-repo >= 2.30
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: %{pprefix}-dkimpy
|
||||
Requires: %{pprefix}-dnspython
|
||||
Requires: %{pprefix}-patatt
|
||||
Requires: %{pprefix}-requests
|
||||
Requires: git-core
|
||||
@ -65,21 +65,21 @@ precursor to Lore and Data in the Star Trek universe.
|
||||
rm -rf patatt
|
||||
|
||||
# ditch shebang from .py files, they are non-executables anyway
|
||||
sed -i.old '1{/#!.*/d}' b4/*.py
|
||||
sed -i.old '1{/#!.*/d}' src/b4/*.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %{$python_fix_shebang}
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
install -m644 -Dt %{buildroot}%{_mandir}/man5/ src/b4/man/b4.5
|
||||
|
||||
%check
|
||||
%python_exec setup.py check
|
||||
export PYTHONPATH="./"
|
||||
%pytest --ignore=build
|
||||
export PYTHONPATH="./build/lib"
|
||||
THEIRS=`%{buildroot}/%{_bindir}/b4 --version`
|
||||
OURS=`sed -n "s/__VERSION__ = '\(.*\)'/\1/p" b4/__init__.py`
|
||||
OURS=`sed -n "s/__VERSION__ = '\(.*\)'/\1/p" src/b4/__init__.py`
|
||||
test "$THEIRS" = "$OURS"
|
||||
%{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'
|
||||
|
Loading…
Reference in New Issue
Block a user