Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fltk for openSUSE:Factory checked in at 2022-01-11 21:17:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fltk (Old) and /work/SRC/openSUSE:Factory/.fltk.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fltk" Tue Jan 11 21:17:22 2022 rev:48 rq:945510 version:1.3.8 Changes: -------- --- /work/SRC/openSUSE:Factory/fltk/fltk.changes 2022-01-11 00:02:37.505278808 +0100 +++ /work/SRC/openSUSE:Factory/.fltk.new.1892/fltk.changes 2022-01-11 21:20:42.977019880 +0100 @@ -1,0 +2,8 @@ +Mon Jan 10 21:19:49 UTC 2022 - Dirk M??ller <[email protected]> + +- drop explicit pie flags setting and use --with-optim to + pass in optimizer flags (bsc#1194419), binary is pie now + automatically +- disable building against local copies of libjpeg etc + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fltk.spec ++++++ --- /var/tmp/diff_new_pack.rHKboR/_old 2022-01-11 21:20:43.605020322 +0100 +++ /var/tmp/diff_new_pack.rHKboR/_new 2022-01-11 21:20:43.609020324 +0100 @@ -1,7 +1,7 @@ # # spec file for package fltk # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -92,12 +92,14 @@ %patch2 %build -%global _lto_cflags %{_lto_cflags} -ffat-lto-objects -export CFLAGS="-fPIC" -export LDFLAGS="-pie" %configure \ + --with-optim="%{_lto_cflags} -ffat-lto-objects" \ --enable-shared \ + --disable-localjpeg \ + --disable-localzlib \ + --disable-localpng \ --enable-threads + %make_build cd documentation %make_build html @@ -109,9 +111,6 @@ docdir=%{buildroot}/%{_docdir}/fltk-devel/html/ \ mandir=%{buildroot}%{_mandir} STRIP=true rm -r %{buildroot}%{_mandir}/cat* -# Strip out "-pie" from fltk-config LDFLAGS, which breaks linking to -# libfltk from a shared library -sed -i -e '/LDFLAGS=/ { s@-pie@ @ }' %{buildroot}%{_bindir}/fltk-config %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig
