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
This commit is contained in:
Dave Plater 2022-02-01 04:34:56 +00:00 committed by Git OBS Bridge
parent acb8ab8e4a
commit 137cef760a
2 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 31 08:17:38 UTC 2022 - Dave Plater <davejplater@gmail.com>
- Added conditional %post and %postun for Leap, to fix boo#1194977
-------------------------------------------------------------------
Tue Nov 30 06:17:14 UTC 2021 - Dave Plater <davejplater@gmail.com>

View File

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