diff --git a/gobject-introspection.changes b/gobject-introspection.changes index e20b763..05ddcd4 100644 --- a/gobject-introspection.changes +++ b/gobject-introspection.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Nov 6 10:54:06 UTC 2021 - Bjørn Lie + +- Add explicit libgirepository-1_0-1 Requires to devel subpackage, + it was already pulled in via the main package, so no real change. +- Use ldconfig_scriptlets macro for post(un) handling. + ------------------------------------------------------------------- Fri Sep 17 17:38:27 UTC 2021 - Bjørn Lie diff --git a/gobject-introspection.spec b/gobject-introspection.spec index 88f20dc..75a8fb8 100644 --- a/gobject-introspection.spec +++ b/gobject-introspection.spec @@ -93,6 +93,7 @@ License: LGPL-2.1-or-later Group: Development/Libraries/GNOME Requires: %{name} = %{version} Requires: libffi-devel +Requires: libgirepository-1_0-1 = %{version} %description devel The goal of the project is to describe the APIs and collect them in @@ -124,8 +125,7 @@ diff -s %{SOURCE3} gobject-introspection-typelib.installed # fixup shebangs in files installed to /usr/bin sed -i "s|%{_bindir}/env python|%{_bindir}/python|" %{buildroot}%{_bindir}/* -%post -n libgirepository-1_0-1 -p /sbin/ldconfig -%postun -n libgirepository-1_0-1 -p /sbin/ldconfig +%ldconfig_scriptlets -n libgirepository-1_0-1 %files %license COPYING COPYING.GPL