Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pymilter for openSUSE:Factory checked in at 2025-07-30 11:45:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pymilter (Old) and /work/SRC/openSUSE:Factory/.python-pymilter.new.13279 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymilter" Wed Jul 30 11:45:58 2025 rev:8 rq:1296408 version:1.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pymilter/python-pymilter.changes 2025-06-11 16:23:02.647755694 +0200 +++ /work/SRC/openSUSE:Factory/.python-pymilter.new.13279/python-pymilter.changes 2025-07-30 11:47:03.234885608 +0200 @@ -1,0 +2,6 @@ +Wed Jul 30 04:59:43 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Add patch set-c-standard-17.patch: + * Set the C standard to c17 until libmilter is fixed. + +------------------------------------------------------------------- New: ---- set-c-standard-17.patch ----------(New B)---------- New: - Add patch set-c-standard-17.patch: * Set the C standard to c17 until libmilter is fixed. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pymilter.spec ++++++ --- /var/tmp/diff_new_pack.vrgy9f/_old 2025-07-30 11:47:03.886912580 +0200 +++ /var/tmp/diff_new_pack.vrgy9f/_new 2025-07-30 11:47:03.890912746 +0200 @@ -30,6 +30,8 @@ Source1: tmpfiles-python-pymilter.conf # PATCH-FIX-UPSTREAM: https://github.com/sdgathman/pymilter/pull/57 Patch1: 0001-Remove-calls-to-the-deprecated-method-assertEquals.patch +# PATCH-FIX-UPSTREAM https://github.com/sdgathman/pymilter/pull/70 +Patch2: set-c-standard-17.patch BuildRequires: %{python_module bsddb3} BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} ++++++ set-c-standard-17.patch ++++++ >From 050b3a15bc00a31968cbdcf627692c1eb2ca3219 Mon Sep 17 00:00:00 2001 From: Sandro <de...@penguinpee.nl> Date: Wed, 12 Mar 2025 23:44:55 +0100 Subject: [PATCH] Set C standard to C17 explicitely GCC 15 uses C23 by default. But `libmilter` is not compatible, yet. This breaks the build as `bool` is a keyword in C23 (issue #68). --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 958feee..a6fe2a0 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,10 @@ # set MAX_ML_REPLY to 1 for sendmail < 8.13 define_macros = [ ('MAX_ML_REPLY',32) ], # save lots of debugging time testing rfc2553 compliance - extra_compile_args = [ "-Werror=implicit-function-declaration" ] + extra_compile_args = [ + "-Werror=implicit-function-declaration", + "-std=gnu17", + ] ), ], keywords = ['sendmail','milter'],