Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package b4 for openSUSE:Factory checked in 
at 2023-03-06 18:55:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/b4 (Old)
 and      /work/SRC/openSUSE:Factory/.b4.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "b4"

Mon Mar  6 18:55:31 2023 rev:32 rq:1069525 version:0.12.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/b4/b4.changes    2023-01-24 20:17:41.379670589 
+0100
+++ /work/SRC/openSUSE:Factory/.b4.new.31432/b4.changes 2023-03-06 
18:55:32.412661296 +0100
@@ -1,0 +2,6 @@
+Fri Mar  3 21:26:19 UTC 2023 - Andreas Stieger <andreas.stie...@gmx.de>
+
+- update to 0.12.1:
+  * Use typing compatible with Python 3.8
+
+-------------------------------------------------------------------

Old:
----
  b4-0.12.0.tar.gz

New:
----
  b4-0.12.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ b4.spec ++++++
--- /var/tmp/diff_new_pack.1LKItM/_old  2023-03-06 18:55:33.076664683 +0100
+++ /var/tmp/diff_new_pack.1LKItM/_new  2023-03-06 18:55:33.092664765 +0100
@@ -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 @@
 
 %install
 %python3_install
-%fdupes %{buildroot}%python3_sitelib
+%fdupes %{buildroot}%{python3_sitelib}
 
 %check
 python3 setup.py check
@@ -80,7 +81,7 @@
 %doc README.rst
 %license COPYING
 %{_bindir}/%{name}
-%{_mandir}/man5/b4.5.gz
+%{_mandir}/man5/b4.5%{?ext_man}
 %{python_sitelib}/%{name}*
 
 %changelog

++++++ b4-0.12.0.tar.gz -> b4-0.12.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/b4-0.12.0/b4/__init__.py new/b4-0.12.1/b4/__init__.py
--- old/b4-0.12.0/b4/__init__.py        2023-01-20 16:31:00.000000000 +0100
+++ new/b4-0.12.1/b4/__init__.py        2023-01-26 18:23:45.000000000 +0100
@@ -59,7 +59,7 @@
 # global setting allowing us to turn off networking
 can_network = True
 
-__VERSION__ = '0.12.0'
+__VERSION__ = '0.12.1'
 PW_REST_API_VERSION = '1.2'
 
 
@@ -3066,7 +3066,7 @@
     return uids
 
 
-def save_git_am_mbox(msgs: list[email.message.Message], dest: BinaryIO):
+def save_git_am_mbox(msgs: List[email.message.Message], dest: BinaryIO):
     # Git-am has its own understanding of what "mbox" format is that differs 
from Python's
     # mboxo implementation. Specifically, it never escapes the ">From " lines 
found in bodies
     # unless invoked with --patch-format=mboxrd (this is wrong, because ">From 
" escapes are also
@@ -3077,7 +3077,7 @@
         dest.write(LoreMessage.get_msg_as_bytes(msg, headers='decode'))
 
 
-def save_mboxrd_mbox(msgs: list[email.message.Message], dest: BinaryIO, 
mangle_from: bool = False):
+def save_mboxrd_mbox(msgs: List[email.message.Message], dest: BinaryIO, 
mangle_from: bool = False):
     gen = email.generator.BytesGenerator(dest, mangle_from_=mangle_from, 
policy=emlpolicy)
     for msg in msgs:
         dest.write(b'From mboxrd@z Thu Jan  1 00:00:00 1970\n')

Reply via email to