From d63229ff8f21a4d2d6f4047ee74d07bdc58c13dbadc70d098d6854d0161a058d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 3 Sep 2020 14:35:51 +0000 Subject: [PATCH] make bot and static parsers happy OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=70 --- wxWidgets-3_2.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/wxWidgets-3_2.spec b/wxWidgets-3_2.spec index 82d698f..5e51071 100644 --- a/wxWidgets-3_2.spec +++ b/wxWidgets-3_2.spec @@ -18,10 +18,12 @@ %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "" +Name: wxWidgets-3_2 ExclusiveArch: do_not_build %endif %if "%{flavor}" == "GTK2" +Name: wxWidgets-3_2 %define pkgname wxWidgets-3_2 %define variant suse %define gtk_version 2 @@ -31,6 +33,7 @@ ExclusiveArch: do_not_build %endif %if "%{flavor}" == "GTK3" +Name: wxGTK3-3_2 %define pkgname wxGTK3-3_2 %define variant suse %define gtk_version 3 @@ -41,6 +44,7 @@ ExclusiveArch: do_not_build %endif %if "%{flavor}" == "GTK3-nostl" +Name: wxWidgets-3_2-nostl %define pkgname wxWidgets-3_2-nostl %define variant suse-nostl %define gtk_version 3 @@ -53,14 +57,14 @@ wxString and instead rely on the wxChar pointer API. %endif %if "%{flavor}" == "Qt" -%define pkgname wxWidgets-3_2 +Name: wxQt-3_2 +%define pkgname wxQt-3_2 %define variant suse %define toolkit qt %define base_packages 0 %bcond_with webview %endif -Name: %{pkgname} %define base_name wxWidgets-3_2 %define tarball_name wxWidgets # Use default debug level, enabling exceptions