Hello community, here is the log from the commit of package glib2 for openSUSE:Factory checked in at 2019-11-10 21:59:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glib2 (Old) and /work/SRC/openSUSE:Factory/.glib2.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glib2" Sun Nov 10 21:59:18 2019 rev:218 rq:746224 version:2.62.2 Changes: -------- --- /work/SRC/openSUSE:Factory/glib2/glib2.changes 2019-10-30 14:39:11.361631420 +0100 +++ /work/SRC/openSUSE:Factory/.glib2.new.2990/glib2.changes 2019-11-10 21:59:19.930064402 +0100 @@ -1,0 +2,10 @@ +Tue Nov 5 20:12:37 UTC 2019 - Michael Gorse <[email protected]> + +- Re-enable systemtap, and require systemtap-headers and + systemtap-dtrace, rather than systemtap-sdt-devel, to avoid build + cycle (boo#1145438). +- Own /usr/share/systemtap{|tapset} directories, since we no + longer have systemtap-sdt-devel in BuildRequires. +- Disable lto if systemtap is enabled: build fails otherwise. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glib2.spec ++++++ --- /var/tmp/diff_new_pack.wZfkFk/_old 2019-11-10 21:59:21.050065857 +0100 +++ /var/tmp/diff_new_pack.wZfkFk/_new 2019-11-10 21:59:21.050065857 +0100 @@ -16,8 +16,7 @@ # -# systemtap is only offered as build-option, but not enabled, as it causes a build cycle -%bcond_with systemtap +%bcond_without systemtap Name: glib2 Version: 2.62.2 Release: 0 @@ -71,7 +70,8 @@ # gtk-doc requires glib2-devel, but we will only be building this here; break up a cycle #!BuildIgnore: glib2-devel %if %{with systemtap} -BuildRequires: systemtap-sdt-devel +BuildRequires: systemtap-dtrace +BuildRequires: systemtap-headers %endif %description @@ -262,7 +262,11 @@ grep "%{_bindir}/env @PYTHON@" . -rl | xargs sed -i "s|%{_bindir}/env @PYTHON@|%{_bindir}/python3|g" %build +%if %{with systemtap} +%global _lto_cflags %{nil} +%else %global _lto_cflags %{_lto_cflags} -ffat-lto-objects +%endif %meson \ --default-library=both \ -Dselinux=enabled \ @@ -490,6 +494,8 @@ %{_datadir}/gtk-doc/html/gobject %{_datadir}/gdb/auto-load/%{_libdir}/*-gdb.py %if %{with systemtap} +%dir %{_datadir}/systemtap +%dir %{_datadir}/systemtap/tapset %dir %{_datadir}/systemtap/tapset/* %{_datadir}/systemtap/tapset/*/libgio-*.so.*.stp %{_datadir}/systemtap/tapset/*/libglib-*.so.*.stp
