Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package smatch for openSUSE:Factory checked in at 2026-05-23 23:23:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/smatch (Old) and /work/SRC/openSUSE:Factory/.smatch.new.2084 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "smatch" Sat May 23 23:23:52 2026 rev:14 rq:1354637 version:1.75+20260504 Changes: -------- --- /work/SRC/openSUSE:Factory/smatch/smatch.changes 2025-05-30 17:27:23.048371371 +0200 +++ /work/SRC/openSUSE:Factory/.smatch.new.2084/smatch.changes 2026-05-23 23:24:26.397517292 +0200 @@ -1,0 +2,24 @@ +Fri May 22 08:24:13 UTC 2026 - Jiri Slaby <[email protected]> + +- Update to version 1.75+20260504: + * pre-process: silence a -Wformat-truncation warning + * debug: fix a macro expansion bug in the parameter casting + * math: resurrect handle_implied_binop() + * math: use comparison_no_extra() + * check_debug: fix the silent casting some more + * ranges: handle negative MODs + * ranges: move functions around + * math: re-write bitwise OR handling + * kernel: rename the check_kernel() function to register_kernel() + * kernel: rename check_kernel.c to smatch_kernel.c +- switch to tar_scm, given we live in git +- Removed (upstream): + check_free-declare-is_percent_p_print-before-use.patch + +------------------------------------------------------------------- +Wed Aug 20 15:55:16 UTC 2025 - BenoƮt Monin <[email protected]> + +- set the smatch_data path during build so smatch can run without + complaining about missing files + +------------------------------------------------------------------- Old: ---- check_free-declare-is_percent_p_print-before-use.patch smatch-1.73+20250528.obscpio smatch.obsinfo New: ---- smatch-1.75+20260504.tar.xz ----------(Old B)---------- Old:- Removed (upstream): check_free-declare-is_percent_p_print-before-use.patch ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ smatch.spec ++++++ --- /var/tmp/diff_new_pack.DwnQZC/_old 2026-05-23 23:24:27.057544237 +0200 +++ /var/tmp/diff_new_pack.DwnQZC/_new 2026-05-23 23:24:27.061544400 +0200 @@ -1,7 +1,7 @@ # # spec file for package smatch # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: smatch -Version: 1.73+20250528 +Version: 1.75+20260504 Release: 0 Summary: Static analysis tool for C License: GPL-2.0-only @@ -26,7 +26,6 @@ Source: %{name}-%{version}.tar.xz Patch0: Makefile-allow-CFLAGS-to-be-redefined.patch Patch1: Makefile-use-CFLAGS-when-linking.patch -Patch2: check_free-declare-is_percent_p_print-before-use.patch BuildRequires: gcc BuildRequires: make BuildRequires: openssl-devel @@ -46,6 +45,7 @@ INSTALL_PREFIX=%{_prefix} \ LIBDIR=%{_libdir} \ PKGCONFIGDIR=%{_datadir}/pkgconfig \ + smatch_datadir=%{_datadir}/%{name} \ smatch %install ++++++ Makefile-allow-CFLAGS-to-be-redefined.patch ++++++ --- /var/tmp/diff_new_pack.DwnQZC/_old 2026-05-23 23:24:27.089545543 +0200 +++ /var/tmp/diff_new_pack.DwnQZC/_new 2026-05-23 23:24:27.093545707 +0200 @@ -8,14 +8,12 @@ Signed-off-by: Jiri Slaby <[email protected]> --- - Makefile | 6 +++--- + Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -diff --git a/Makefile b/Makefile -index 37143d0f..d0b109f5 100644 --- a/Makefile +++ b/Makefile -@@ -352,7 +352,7 @@ SMATCH_OBJS += smatch_untracked_param.o +@@ -379,7 +379,7 @@ SMATCH_OBJS += smatch_untracked_param.o SMATCH_OBJS += smatch_untracked_var.o SMATCH_OBJS += smatch_var_sym.o @@ -24,16 +22,16 @@ SMATCH_CHECKS=$(shell ls check_*.c | sed -e 's/\.c/.o/') SMATCH_DATA=smatch_data/kernel.allocation_funcs \ -@@ -395,7 +395,7 @@ check_list_local.h: +@@ -422,7 +422,7 @@ check_list_local.h: touch check_list_local.h - smatch.o: smatch.c $(LIB_H) smatch.h check_list.h check_list_local.h + smatch.o: smatch.c $(LIB_H) smatch.h smatch_dbtypes.h check_list.h check_list_local.h - $(CC) $(CFLAGS) -c smatch.c -DSMATCHDATADIR='"$(smatch_datadir)"' + $(CC) $(CFLAGS) $(CFLAGS_INT) -c smatch.c -DSMATCHDATADIR='"$(smatch_datadir)"' - $(SMATCH_OBJS) $(SMATCH_CHECKS): smatch.h smatch_slist.h smatch_extra.h \ + $(SMATCH_OBJS) $(SMATCH_CHECKS): smatch.h smatch_dbtypes.h smatch_slist.h smatch_extra.h \ smatch_constants.h avl.h -@@ -414,7 +414,7 @@ libsparse.a: $(LIB_OBJS) +@@ -441,7 +441,7 @@ libsparse.a: $(LIB_OBJS) $(Q)$(AR) rcs $@ $^ @@ -42,7 +40,4 @@ %.o: %.c @echo " CC $@" $(Q)$(CC) $(cflags) -c -o $@ $< --- -2.35.3 - ++++++ Makefile-use-CFLAGS-when-linking.patch ++++++ --- /var/tmp/diff_new_pack.DwnQZC/_old 2026-05-23 23:24:27.109546360 +0200 +++ /var/tmp/diff_new_pack.DwnQZC/_new 2026-05-23 23:24:27.113546523 +0200 @@ -8,14 +8,12 @@ Signed-off-by: Jiri Slaby <[email protected]> --- - Makefile | 2 +- + Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/Makefile b/Makefile -index d0b109f5..be678e7c 100644 --- a/Makefile +++ b/Makefile -@@ -383,7 +383,7 @@ SMATCH_SCRIPTS=smatch_scripts/add_gfp_to_allocations.sh \ +@@ -410,7 +410,7 @@ SMATCH_SCRIPTS=smatch_scripts/add_gfp_to SMATCH_LDFLAGS := -lsqlite3 -lssl -lcrypto -lm smatch: smatch.o $(SMATCH_OBJS) $(SMATCH_CHECKS) $(LIBS) @@ -24,7 +22,4 @@ smatch_data/db/sm_hash: sm_hash.o $(SMATCH_OBJS) $(Q)$(LD) -o smatch_data/db/sm_hash sm_hash.o smatch_hash.o $(SMATCH_LDFLAGS) --- -2.35.3 - ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.DwnQZC/_old 2026-05-23 23:24:27.145547829 +0200 +++ /var/tmp/diff_new_pack.DwnQZC/_new 2026-05-23 23:24:27.149547992 +0200 @@ -1,4 +1,4 @@ -mtime: 1748594873 -commit: e3e5fb626635e21940547283f23cd2adb916938584259fd11d2868571778be7e +mtime: 1779439049 +commit: f7876b5e98bcda193cc5fa6dcb1a0bd3af2388a48a36837cae6154f531ede79f url: https://src.opensuse.org/jirislaby/d-t-s-smatch ++++++ _service ++++++ --- /var/tmp/diff_new_pack.DwnQZC/_old 2026-05-23 23:24:27.169548809 +0200 +++ /var/tmp/diff_new_pack.DwnQZC/_new 2026-05-23 23:24:27.173548972 +0200 @@ -1,14 +1,12 @@ <services> - <service mode="manual" name="obs_scm"> - <param name="url">git://repo.or.cz/smatch.git</param> + <service mode="manual" name="tar_scm"> + <param name="url">https://github.com/error27/smatch</param> <param name="scm">git</param> <param name="changesgenerate">enable</param> <param name="versionformat">@PARENT_TAG@+%cd</param> </service> <service mode="manual" name="set_version"/> - - <service name="tar" mode="buildtime"/> - <service name="recompress" mode="buildtime"> + <service name="recompress" mode="manual"> <param name="file">smatch-*.tar</param> <param name="compression">xz</param> </service> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.DwnQZC/_old 2026-05-23 23:24:27.209550442 +0200 +++ /var/tmp/diff_new_pack.DwnQZC/_new 2026-05-23 23:24:27.213550606 +0200 @@ -1,6 +1,8 @@ <servicedata> <service name="tar_scm"> <param name="url">git://repo.or.cz/smatch.git</param> - <param name="changesrevision">e1d933013098891462291a29c4cb664b3dc16522</param></service></servicedata> + <param name="changesrevision">e1d933013098891462291a29c4cb664b3dc16522</param></service><service name="tar_scm"> + <param name="url">https://github.com/error27/smatch</param> + <param name="changesrevision">bcc58b9ccf06d28ab6be4f0992bc74f462aa12f8</param></service></servicedata> (No newline at EOF) ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-05-22 10:37:29.000000000 +0200 @@ -0,0 +1 @@ +.osc
