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