custom installation depend on sysprof
This commit is contained in:
parent
0d0854fc0c
commit
dd0840b097
20
glib2.spec
20
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<hanhui15@h-partners.com> - 2.68.1-8
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:custom installation depend on sysprof
|
||||
|
||||
* Sat Feb 19 2022 wangkerong<wangkerong@h-partners.com> - 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 <yanglijin@huawei.com> - 2.58.1-2
|
||||
- Package init
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user