!72 add require gdb-headless for devel
From: @t_feng Reviewed-by: @orange-snn Signed-off-by: @orange-snn
This commit is contained in:
commit
16f4613404
18
glib2.spec
18
glib2.spec
@ -1,6 +1,6 @@
|
|||||||
Name: glib2
|
Name: glib2
|
||||||
Version: 2.68.1
|
Version: 2.68.1
|
||||||
Release: 5
|
Release: 6
|
||||||
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
|
||||||
@ -32,6 +32,7 @@ developed in parallel ever since.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development and test files for the GLib library
|
Summary: Development and test files for the GLib library
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: gdb-headless
|
||||||
|
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
Provides: %{name}-tests = %{version}-%{release}
|
Provides: %{name}-tests = %{version}-%{release}
|
||||||
@ -76,6 +77,12 @@ export PYTHONHASHSEED=0
|
|||||||
mv %{buildroot}%{_bindir}/gio-querymodules %{buildroot}%{_bindir}/gio-querymodules-%{__isa_bits}
|
mv %{buildroot}%{_bindir}/gio-querymodules %{buildroot}%{_bindir}/gio-querymodules-%{__isa_bits}
|
||||||
mkdir -p %{buildroot}%{_libdir}/gio/modules/
|
mkdir -p %{buildroot}%{_libdir}/gio/modules/
|
||||||
touch %{buildroot}%{_libdir}/gio/modules/giomodule.cache
|
touch %{buildroot}%{_libdir}/gio/modules/giomodule.cache
|
||||||
|
|
||||||
|
# remove pycache
|
||||||
|
rm -rf %{buildroot}/%{_datadir}/gdb/auto-load/%{_libdir}/__pycache__
|
||||||
|
rm -rf %{buildroot}/%{_datadir}/glib-2.0/codegen/__pycache__
|
||||||
|
rm -rf %{buildroot}/%{_datadir}/glib-2.0/gdb/__pycache__
|
||||||
|
|
||||||
%find_lang glib20
|
%find_lang glib20
|
||||||
|
|
||||||
%transfiletriggerin -- %{_libdir}/gio/modules
|
%transfiletriggerin -- %{_libdir}/gio/modules
|
||||||
@ -125,7 +132,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|||||||
%{_datadir}/aclocal/*
|
%{_datadir}/aclocal/*
|
||||||
%{_datadir}/glib-2.0/*
|
%{_datadir}/glib-2.0/*
|
||||||
%{_datadir}/bash-completion/completions/gresource
|
%{_datadir}/bash-completion/completions/gresource
|
||||||
%{_datadir}/gdb/
|
%{_datadir}/gdb/auto-load/%{_libdir}/*-gdb.py
|
||||||
%{_datadir}/gettext/
|
%{_datadir}/gettext/
|
||||||
%{_datadir}/systemtap/
|
%{_datadir}/systemtap/
|
||||||
%{_datadir}/installed-tests
|
%{_datadir}/installed-tests
|
||||||
@ -147,6 +154,13 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|||||||
%doc %{_datadir}/gtk-doc/html/*
|
%doc %{_datadir}/gtk-doc/html/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 14 2021 fengtao<fengtao40@huawei.com> - 2.68.1-6
|
||||||
|
- Type:bugfix
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:add require gdb-headless for devel
|
||||||
|
|
||||||
|
|
||||||
* Tue Sep 14 2021 yangcheng<yangcheng87@huawei.com> - 2.68.1-5
|
* Tue Sep 14 2021 yangcheng<yangcheng87@huawei.com> - 2.68.1-5
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user