disable sysprof
(cherry picked from commit 86defdbb55921aeac0313cdf90623930883a8678)
This commit is contained in:
parent
c108dc8433
commit
31034f62bf
18
glib2.spec
18
glib2.spec
@ -1,6 +1,6 @@
|
|||||||
Name: glib2
|
Name: glib2
|
||||||
Version: 2.72.2
|
Version: 2.72.2
|
||||||
Release: 13
|
Release: 14
|
||||||
Summary: The core library that forms the basis for projects such as GTK+ and GNOME
|
Summary: The core library that forms the basis for projects such as GTK+ and GNOME
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.gtk.org
|
URL: http://www.gtk.org
|
||||||
@ -84,9 +84,6 @@ BuildRequires: pkgconfig(libpcre2-8) pkgconfig(mount) pkgconfig(zlib)
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
%ifnarch i686
|
%ifnarch i686
|
||||||
BuildRequires: desktop-file-utils shared-mime-info gtk-doc
|
BuildRequires: desktop-file-utils shared-mime-info gtk-doc
|
||||||
%if %{?openEuler:1}0
|
|
||||||
BuildRequires: pkgconfig(sysprof-capture-4)
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Provides: %{name}-fam = %{version}-%{release}
|
Provides: %{name}-fam = %{version}-%{release}
|
||||||
@ -117,9 +114,6 @@ Development for the GLib library.
|
|||||||
%package static
|
%package static
|
||||||
Summary: glib static
|
Summary: glib static
|
||||||
Requires: pcre2-static
|
Requires: pcre2-static
|
||||||
%if %{?openEuler:1}0
|
|
||||||
Requires: sysprof-capture-static
|
|
||||||
%endif
|
|
||||||
Requires: %{name}-devel = %{version}-%{release}
|
Requires: %{name}-devel = %{version}-%{release}
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
Obsoletes: %{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 \
|
%meson --default-library=both -Ddtrace=true \
|
||||||
%ifnarch i686
|
%ifnarch i686
|
||||||
%if %{?openEuler:1}0
|
|
||||||
-Dsysprof=enabled \
|
|
||||||
%endif
|
|
||||||
-Dman=true -Dgtk_doc=true \
|
-Dman=true -Dgtk_doc=true \
|
||||||
%else
|
%else
|
||||||
-Dsysprof=disabled -Dman=false -Dgtk_doc=false \
|
-Dman=false -Dgtk_doc=false \
|
||||||
%endif
|
%endif
|
||||||
-Dsystemtap=true -Dinstalled_tests=true \
|
-Dsystemtap=true -Dinstalled_tests=true \
|
||||||
-Dglib_debug=disabled
|
-Dglib_debug=disabled -Dsysprof=disabled
|
||||||
|
|
||||||
%meson_build
|
%meson_build
|
||||||
find . -name *.dtrace-temp.c -exec rm -f {} \;
|
find . -name *.dtrace-temp.c -exec rm -f {} \;
|
||||||
@ -271,6 +262,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 19 2024 hanhuihui <hanhuihui5@huawei.com> - 2.72.2-14
|
||||||
|
- disable sysprof
|
||||||
|
|
||||||
* Thu Jan 11 2024 hanhuihui <hanhuihui5@huawei.com> - 2.72.2-13
|
* Thu Jan 11 2024 hanhuihui <hanhuihui5@huawei.com> - 2.72.2-13
|
||||||
- fix pcre2 error , memory leak and log domains error
|
- fix pcre2 error , memory leak and log domains error
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user