From 31034f62bf496e4568f40cb2b72029307126af2d Mon Sep 17 00:00:00 2001 From: hanhuihui Date: Mon, 19 Feb 2024 15:48:19 +0800 Subject: [PATCH] disable sysprof (cherry picked from commit 86defdbb55921aeac0313cdf90623930883a8678) --- glib2.spec | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/glib2.spec b/glib2.spec index 9e20f56..b31a1dc 100644 --- a/glib2.spec +++ b/glib2.spec @@ -1,6 +1,6 @@ Name: glib2 Version: 2.72.2 -Release: 13 +Release: 14 Summary: The core library that forms the basis for projects such as GTK+ and GNOME License: LGPLv2+ URL: http://www.gtk.org @@ -84,9 +84,6 @@ BuildRequires: pkgconfig(libpcre2-8) pkgconfig(mount) pkgconfig(zlib) BuildRequires: python3-devel %ifnarch i686 BuildRequires: desktop-file-utils shared-mime-info gtk-doc -%if %{?openEuler:1}0 -BuildRequires: pkgconfig(sysprof-capture-4) -%endif %endif Provides: %{name}-fam = %{version}-%{release} @@ -117,9 +114,6 @@ Development for the GLib library. %package static Summary: glib static Requires: pcre2-static -%if %{?openEuler:1}0 -Requires: sysprof-capture-static -%endif Requires: %{name}-devel = %{version}-%{release} Provides: %{name}-static = %{version}-%{release} Obsoletes: %{name}-static < %{version}-%{release} @@ -155,15 +149,12 @@ help document for the glib2 package. %meson --default-library=both -Ddtrace=true \ %ifnarch i686 -%if %{?openEuler:1}0 - -Dsysprof=enabled \ -%endif -Dman=true -Dgtk_doc=true \ %else - -Dsysprof=disabled -Dman=false -Dgtk_doc=false \ + -Dman=false -Dgtk_doc=false \ %endif -Dsystemtap=true -Dinstalled_tests=true \ - -Dglib_debug=disabled + -Dglib_debug=disabled -Dsysprof=disabled %meson_build find . -name *.dtrace-temp.c -exec rm -f {} \; @@ -271,6 +262,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %endif %changelog +* Mon Feb 19 2024 hanhuihui - 2.72.2-14 +- disable sysprof + * Thu Jan 11 2024 hanhuihui - 2.72.2-13 - fix pcre2 error , memory leak and log domains error -- Gitee