From d8993fb6eb6e3ac4e4c9abd329fd8e0bc9fd132e240a6002cc9ca7e2b43c3f5d Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Mon, 6 Mar 2023 06:40:12 +0000 Subject: [PATCH] Accepting request 1069315 from home:AndreasStieger:branches:devel:tools b4 0.12.1 OBS-URL: https://build.opensuse.org/request/show/1069315 OBS-URL: https://build.opensuse.org/package/show/devel:tools/b4?expand=0&rev=79 --- b4-0.12.0.tar.gz | 3 --- b4-0.12.1.tar.gz | 3 +++ b4.changes | 6 ++++++ b4.spec | 31 ++++++++++++++++--------------- 4 files changed, 25 insertions(+), 18 deletions(-) delete mode 100644 b4-0.12.0.tar.gz create mode 100644 b4-0.12.1.tar.gz diff --git a/b4-0.12.0.tar.gz b/b4-0.12.0.tar.gz deleted file mode 100644 index 24ffa80..0000000 --- a/b4-0.12.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:428cb483a045e43d380db7ebcc66df25f6ec043e0ddc5ba75268788bf23a7e12 -size 233667 diff --git a/b4-0.12.1.tar.gz b/b4-0.12.1.tar.gz new file mode 100644 index 0000000..8288bc2 --- /dev/null +++ b/b4-0.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67da3d7b067558f3b334ccd17e97d4b5bf0d341b17ae39c74a6898959255900a +size 233691 diff --git a/b4.changes b/b4.changes index 245d77e..a5d95ea 100644 --- a/b4.changes +++ b/b4.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 3 21:26:19 UTC 2023 - Andreas Stieger + +- update to 0.12.1: + * Use typing compatible with Python 3.8 + ------------------------------------------------------------------- Tue Jan 24 06:21:58 UTC 2023 - Jiri Slaby diff --git a/b4.spec b/b4.spec index fd4abf4..59d502f 100644 --- a/b4.spec +++ b/b4.spec @@ -16,31 +16,32 @@ # +%{?!python_module:define python_module() python-%{**} python3-%{**}} +%define pythons python3 Name: b4 -Version: 0.12.0 +Version: 0.12.1 Release: 0 Summary: Helper scripts for kernel.org patches License: GPL-2.0-or-later Group: Development/Tools/Other 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 -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 -# SECTION test requirements BuildRequires: git-core BuildRequires: git-filter-repo >= 2.30 -BuildRequires: python3-dkimpy >= 1.0.5 -BuildRequires: python3-dnspython >= 2.0.0 -BuildRequires: python3-patatt >= 0.5 -BuildRequires: python3-requests >= 2.24.0 -# /SECTION -BuildRequires: python3-setuptools +BuildRequires: python-rpm-macros +Requires: %{python_module dkimpy} +Requires: %{python_module dnspython} +Requires: %{python_module patatt} +Requires: %{python_module requests} Requires: git-core Requires: git-filter-repo >= 2.30 -Requires: python3-dkimpy >= 1.0.5 -Requires: python3-dnspython >= 2.0.0 -Requires: python3-patatt >= 0.5 -Requires: python3-requests >= 2.24.0 +BuildArch: noarch %description 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 %python3_install -%fdupes %{buildroot}%python3_sitelib +%fdupes %{buildroot}%{python3_sitelib} %check python3 setup.py check @@ -80,7 +81,7 @@ test "$THEIRS" = "$OURS" %doc README.rst %license COPYING %{_bindir}/%{name} -%{_mandir}/man5/b4.5.gz +%{_mandir}/man5/b4.5%{?ext_man} %{python_sitelib}/%{name}* %changelog