Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package optipng for openSUSE:Factory checked in at 2023-10-16 23:01:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/optipng (Old) and /work/SRC/openSUSE:Factory/.optipng.new.20540 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "optipng" Mon Oct 16 23:01:23 2023 rev:40 rq:1117991 version:0.7.7 Changes: -------- --- /work/SRC/openSUSE:Factory/optipng/optipng.changes 2023-03-07 16:48:51.145116639 +0100 +++ /work/SRC/openSUSE:Factory/.optipng.new.20540/optipng.changes 2023-10-16 23:01:26.773970551 +0200 @@ -1,0 +2,5 @@ +Mon Oct 9 10:14:29 UTC 2023 - pgaj...@suse.com + +- asan_build to disable or enable asan build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ optipng.spec ++++++ --- /var/tmp/diff_new_pack.1ZJIN9/_old 2023-10-16 23:01:27.369992073 +0200 +++ /var/tmp/diff_new_pack.1ZJIN9/_new 2023-10-16 23:01:27.369992073 +0200 @@ -16,6 +16,8 @@ # +%define asan_build 0 + Name: optipng Version: 0.7.7 Release: 0 @@ -39,6 +41,9 @@ %build # not autotools generated configure export CFLAGS="%{optflags}" +%if %{asan_build} +CFLAGS="$CFLAGS -fsanitize=address" +%endif ./configure \ -with-system-zlib \ -with-system-libpng \ @@ -47,6 +52,9 @@ #don't strip binaries sed -i "s:\(LDFLAGS = \)-s:\1:" src/optipng/Makefile +%if %{asan_build} +sed -i 's:\(ALL_LIBS = \)\(.*\):\1-lasan \2:' src/optipng/Makefile +%endif %make_build %install