From ad8fda69e9178861ea45adf2b9d00758f28f5bfef0f7abca71d0ec54145d4408 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 27 Dec 2023 17:08:44 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=115 --- wxWidgets-3_2.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wxWidgets-3_2.spec b/wxWidgets-3_2.spec index eecc69a..806a66c 100644 --- a/wxWidgets-3_2.spec +++ b/wxWidgets-3_2.spec @@ -441,7 +441,7 @@ find docs/doxygen/out/html/ -iname \*.dot -print -delete export VENDORTAG='-$variant' # only needed for non-MSW %make_install -%if !0%{base_packages:1} +%if !%base_packages # Drop libraries already supplied by another packages rm -fv "%buildroot/%_libdir"/libwx_baseu*.so* \ "%buildroot/%_libdir/wx/%wx_minor"/sound_sdlu-*.so @@ -514,7 +514,7 @@ export WX_TEST_WEBREQUEST_URL=0 %else -%if 0%{base_packages:1} +%if %base_packages %files -n libwx_base-%variant-devel %_libdir/libwx_baseu*.so @@ -572,7 +572,7 @@ export WX_TEST_WEBREQUEST_URL=0 %files -n libwx_%{toolkit}u_xrc-%variant%psonum %_libdir/libwx_%{toolkit}u_xrc-%variant.so.%{sonum}* -%if 0%{base_packages:1} +%if %base_packages %if "%flavor" != "GTK3-nostl" %files -n %{base_name}-plugin-sound_sdlu-3_2 %dir %_libdir/wx @@ -591,7 +591,7 @@ export WX_TEST_WEBREQUEST_URL=0 %_datadir/bakefile %_includedir/wx-%wx_minor %_libdir/*.so -%if 0%{base_packages:1} +%if %base_packages %exclude %_libdir/libwx_baseu* %endif %dir %_libdir/wx