1
0
forked from pool/wxWidgets-3_2

make bot and static parsers happy

OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=70
This commit is contained in:
Jan Engelhardt 2020-09-03 14:35:51 +00:00 committed by Git OBS Bridge
parent d3920c3ddd
commit d63229ff8f

View File

@ -18,10 +18,12 @@
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "" %if "%{flavor}" == ""
Name: wxWidgets-3_2
ExclusiveArch: do_not_build ExclusiveArch: do_not_build
%endif %endif
%if "%{flavor}" == "GTK2" %if "%{flavor}" == "GTK2"
Name: wxWidgets-3_2
%define pkgname wxWidgets-3_2 %define pkgname wxWidgets-3_2
%define variant suse %define variant suse
%define gtk_version 2 %define gtk_version 2
@ -31,6 +33,7 @@ ExclusiveArch: do_not_build
%endif %endif
%if "%{flavor}" == "GTK3" %if "%{flavor}" == "GTK3"
Name: wxGTK3-3_2
%define pkgname wxGTK3-3_2 %define pkgname wxGTK3-3_2
%define variant suse %define variant suse
%define gtk_version 3 %define gtk_version 3
@ -41,6 +44,7 @@ ExclusiveArch: do_not_build
%endif %endif
%if "%{flavor}" == "GTK3-nostl" %if "%{flavor}" == "GTK3-nostl"
Name: wxWidgets-3_2-nostl
%define pkgname wxWidgets-3_2-nostl %define pkgname wxWidgets-3_2-nostl
%define variant suse-nostl %define variant suse-nostl
%define gtk_version 3 %define gtk_version 3
@ -53,14 +57,14 @@ wxString and instead rely on the wxChar pointer API.
%endif %endif
%if "%{flavor}" == "Qt" %if "%{flavor}" == "Qt"
%define pkgname wxWidgets-3_2 Name: wxQt-3_2
%define pkgname wxQt-3_2
%define variant suse %define variant suse
%define toolkit qt %define toolkit qt
%define base_packages 0 %define base_packages 0
%bcond_with webview %bcond_with webview
%endif %endif
Name: %{pkgname}
%define base_name wxWidgets-3_2 %define base_name wxWidgets-3_2
%define tarball_name wxWidgets %define tarball_name wxWidgets
# Use default debug level, enabling exceptions # Use default debug level, enabling exceptions