From 137cef760a01a3b4f89e2e32c6c6b4e924a5a2ecdb843298be104ae4c83b1ded Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Tue, 1 Feb 2022 04:34:56 +0000 Subject: [PATCH] Accepting request 950331 from home:plater - Added conditional %post and %postun for Leap, to fix boo#1194977 OBS-URL: https://build.opensuse.org/request/show/950331 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=172 --- audacity.changes | 5 +++++ audacity.spec | 13 ++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/audacity.changes b/audacity.changes index 86ebd3c..3c861e2 100644 --- a/audacity.changes +++ b/audacity.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 31 08:17:38 UTC 2022 - Dave Plater + +- Added conditional %post and %postun for Leap, to fix boo#1194977 + ------------------------------------------------------------------- Tue Nov 30 06:17:14 UTC 2021 - Dave Plater diff --git a/audacity.spec b/audacity.spec index b031817..0b8d382 100644 --- a/audacity.spec +++ b/audacity.spec @@ -1,7 +1,7 @@ # # spec file for package audacity # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -168,6 +168,17 @@ rm -f %{buildroot}%{_libdir}/audacity/libwx_gtk3u_qa-suse-nostl.so.* rm -f %{buildroot}%{_prefix}/%{name} %find_lang %{name} +%if 0%{?suse_version} == 1500 +%post +ldconfig %{_libdir}/%{name} +%end + +%postun +ldconfig %{_libdir}/%{name} +%end + +%endif + %files %defattr(-,root,root) %doc README.txt