From b6bd81f9549505d8c7e9cd7cd310efa67b97db3748b8e47230bd28703335a8e4 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 14 Sep 2022 13:25:25 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=81 --- AppStream.changes | 5 +++++ AppStream.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/AppStream.changes b/AppStream.changes index 287b949..83d0382 100644 --- a/AppStream.changes +++ b/AppStream.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 14 13:25:20 UTC 2022 - Christophe Giboudeaux + +- Don't use %ldconfig_scriptlets. Leap 15.3 doesn't understand it. + ------------------------------------------------------------------- Fri Sep 2 18:07:51 UTC 2022 - Bjørn Lie diff --git a/AppStream.spec b/AppStream.spec index 28796e6..8bb0e70 100644 --- a/AppStream.spec +++ b/AppStream.spec @@ -144,8 +144,10 @@ rm -r %{buildroot}%{_datadir}/installed-tests %find_lang appstream %{name}.lang -%ldconfig_scriptlets -n libappstream%{libappstream_sover} -%ldconfig_scriptlets -n libAppStreamQt%{libAppStreamQt_sover} +%post -n libAppStreamQt%{libAppStreamQt_sover} -p /sbin/ldconfig +%post -n libappstream%{libappstream_sover} -p /sbin/ldconfig +%postun -n libAppStreamQt%{libAppStreamQt_sover} -p /sbin/ldconfig +%postun -n libappstream%{libappstream_sover} -p /sbin/ldconfig %files lang -f %{name}.lang