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