From 31a28e6af48c4794c3ba915233ad7cbd54da24777644f4f5ba967162ee0cb0b1 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 16 Nov 2020 14:58:26 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=80 --- wxWidgets-3_2.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wxWidgets-3_2.spec b/wxWidgets-3_2.spec index d2d9d12..8410109 100644 --- a/wxWidgets-3_2.spec +++ b/wxWidgets-3_2.spec @@ -400,7 +400,7 @@ export VENDORTAG='-$variant' # only needed for non-MSW %make_install %if !%base_packages # Drop libraries already supplied by another packages -rm -f "%buildroot/%_libdir"/libwx_baseu{,_net,_xml}-%variant.so.%{sonum}* \ +rm -fv "%buildroot/%_libdir"/libwx_baseu*.so* \ "%buildroot/%_libdir/wx/%wx_micro"/sound_sdlu-*.so %endif rm -Rf %buildroot/%_datadir/locale @@ -443,7 +443,7 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr %if %base_packages %files -n libwx_base-devel -%_libdir/libwx_baseu*-%variant.so +%_libdir/libwx_baseu*.so %files -n libwx_baseu-%variant%psonum %_libdir/libwx_baseu-%variant.so.%{sonum}* @@ -518,7 +518,6 @@ ln -sf $(echo %buildroot/%_libdir/wx/config/* | sed "s%%%buildroot%%%%") %buildr %_datadir/bakefile %_includedir/wx-%wx_minor %_libdir/*.so -%exclude %_libdir/libwx_baseu*-%variant.so %dir %_libdir/wx %_libdir/wx/config %_libdir/wx/include