SHA256
1
0
forked from pool/gnote

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
This commit is contained in:
Bjørn Lie 2021-12-03 21:29:56 +00:00 committed by Git OBS Bridge
parent dbca4405a4
commit 3ac4518a72
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 1 20:55:30 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>

View File

@ -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