Accepting request 972740 from home:plater

- Really solve boo#1198551 by packaging audacitie's libraries in
  _libdir

OBS-URL: https://build.opensuse.org/request/show/972740
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=179
This commit is contained in:
Dave Plater 2022-04-26 05:58:26 +00:00 committed by Git OBS Bridge
parent e23ca4cb78
commit 5b05402648
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 26 05:46:26 UTC 2022 - Dave Plater <davejplater@gmail.com>
- Really solve boo#1198551 by packaging audacitie's libraries in
_libdir
-------------------------------------------------------------------
Thu Apr 21 09:00:40 UTC 2022 - Dave Plater <davejplater@gmail.com>

View File

@ -164,6 +164,7 @@ mv -f %{buildroot}%{_datadir}/pixmaps/gnome-mime-application-x-audacity-project.
%{buildroot}%{_datadir}/icons/hicolor/48x48/mimetypes/application-x-audacity-project.xpm
rm -rf %{buildroot}%{_datadir}/pixmaps/
rm -rf %{buildroot}%{_datadir}/doc
mv -v %{buildroot}%{_libdir}/%{name}/*so %{buildroot}%{_libdir}/
# Why make install installs these is a mystery
rm -f %{buildroot}%{_libdir}/audacity/libwx_baseu-suse-nostl.so.*
@ -176,11 +177,11 @@ rm -f %{buildroot}%{_prefix}/%{name}
%find_lang %{name}
%post
ldconfig %{_libdir}/%{name}
ldconfig
%end
%postun
ldconfig %{_libdir}/%{name}
ldconfig
%end
%files
@ -188,7 +189,7 @@ ldconfig %{_libdir}/%{name}
%doc README.txt
%license LICENSE.txt LICENSE_NYQUIST.txt
%{_bindir}/%{name}
%{_libdir}/%{name}
%{_libdir}
%{_libdir}/%{name}/modules/mod-script-pipe.so
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop