diff --git a/glib2.spec b/glib2.spec index 7a1d0f0e46d2ecdd7fa3c0daa32a50ddd5ef16e3..0a6b1877ca756a05c2f183a923019a287d688186 100644 --- a/glib2.spec +++ b/glib2.spec @@ -1,6 +1,6 @@ Name: glib2 Version: 2.68.1 -Release: 7 +Release: 8 Summary: The core library that forms the basis for projects such as GTK+ and GNOME License: LGPLv2+ URL: http://www.gtk.org @@ -15,7 +15,10 @@ BuildRequires: systemtap-sdt-devel pkgconfig(libelf) pkgconfig(libffi) BuildRequires: pkgconfig(libpcre) pkgconfig(mount) pkgconfig(zlib) BuildRequires: python3-devel %ifnarch i686 -BuildRequires: desktop-file-utils shared-mime-info gtk-doc pkgconfig(sysprof-capture-4) +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} @@ -62,7 +65,10 @@ help document for the glib2 package. rm glib/pcre/*.[ch] %meson --default-library=both -Ddtrace=true \ %ifnarch i686 - -Dsysprof=enabled -Dman=true -Dgtk_doc=true \ +%if %{?openEuler:1}0 + -Dsysprof=enabled \ +%endif + -Dman=true -Dgtk_doc=true \ %else -Dsysprof=disabled -Dman=false -Dgtk_doc=false \ %endif @@ -165,6 +171,12 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %endif %changelog +* Wed Mar 2 2022 hanhui - 2.68.1-8 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:custom installation depend on sysprof + * Sat Feb 19 2022 wangkerong - 2.68.1-7 - Type:bugfix - Id:NA @@ -282,4 +294,4 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : - DESC:fix CVE-2019-12450 CVE-2019-13012 * Thu Sep 19 2019 Lijin Yang - 2.58.1-2 -- Package init \ No newline at end of file +- Package init