From a6206d542f9196768838a4b9122b92d906a1645975103c88370632efb3c3777e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 8 Nov 2021 09:06:05 +0000 Subject: [PATCH] Accepting request 929859 from GNOME:Next OBS-URL: https://build.opensuse.org/request/show/929859 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gobject-introspection?expand=0&rev=226 --- gobject-introspection.changes | 7 +++++++ gobject-introspection.spec | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) 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