diff --git a/glib2.spec b/glib2.spec index 9f99c7f8a0214365e7a60ae0360de99e85e575e3..4577fe6d28f8418275bcdfb3a925770d5f207f88 100644 --- a/glib2.spec +++ b/glib2.spec @@ -1,6 +1,6 @@ Name: glib2 Version: 2.68.1 -Release: 5 +Release: 6 Summary: The core library that forms the basis for projects such as GTK+ and GNOME License: LGPLv2+ URL: http://www.gtk.org @@ -32,6 +32,7 @@ developed in parallel ever since. %package devel Summary: Development and test files for the GLib library Requires: %{name} = %{version}-%{release} +Requires: gdb-headless Provides: %{name}-static = %{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} mkdir -p %{buildroot}%{_libdir}/gio/modules/ 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 %transfiletriggerin -- %{_libdir}/gio/modules @@ -125,7 +132,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_datadir}/aclocal/* %{_datadir}/glib-2.0/* %{_datadir}/bash-completion/completions/gresource -%{_datadir}/gdb/ +%{_datadir}/gdb/auto-load/%{_libdir}/*-gdb.py %{_datadir}/gettext/ %{_datadir}/systemtap/ %{_datadir}/installed-tests @@ -147,6 +154,13 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %doc %{_datadir}/gtk-doc/html/* %changelog +* Mon Nov 14 2021 fengtao - 2.68.1-6 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:add require gdb-headless for devel + + * Tue Sep 14 2021 yangcheng - 2.68.1-5 - Type:bugfix - Id:NA