From 3ac4518a7216e6cbc2ca9c449f387c0238c391f1d5aa9d83a847efdb954e89b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Fri, 3 Dec 2021 21:29:56 +0000 Subject: [PATCH] Accepting request 935068 from home:iznogood:branches:GNOME:Apps Fix build for Leap 15.3 - Add conditional for ldconfig_scriptlets and reinstate post(un) handling for older versions of openSUSE. OBS-URL: https://build.opensuse.org/request/show/935068 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnote?expand=0&rev=147 --- gnote.changes | 6 ++++++ gnote.spec | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/gnote.changes b/gnote.changes index dc96a50..5b5f1ca 100644 --- a/gnote.changes +++ b/gnote.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 1 20:55:30 UTC 2021 - Bjørn Lie + +- Add conditional for ldconfig_scriptlets and reinstate post(un) + handling for older versions of openSUSE. + ------------------------------------------------------------------- Sun Oct 31 16:40:25 UTC 2021 - Bjørn Lie diff --git a/gnote.spec b/gnote.spec index ed3c414..5e603d9 100644 --- a/gnote.spec +++ b/gnote.spec @@ -78,7 +78,12 @@ desktop-file-edit --add-category TextEditor %{buildroot}%{_datadir}/applications %fdupes %{buildroot}%{_datadir} %find_lang %{name} %{?no_lang_C} +%if %suse_version >= 1550 %ldconfig_scriptlets +%else +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig +%endif %files %license COPYING