From 69f4b4b75c89ccccfaedcfe0814f7589578a7c87d04d21abafd32794a9223b10 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 24 May 2023 10:17:53 +0000 Subject: [PATCH] - Use more pkgconfig(..) in BuildRequires - Remove pre-SLE15 building blocks OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=106 --- wxWidgets-3_2.changes | 6 ++++++ wxWidgets-3_2.spec | 18 +++++++----------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/wxWidgets-3_2.changes b/wxWidgets-3_2.changes index f0d5003..eab7cd2 100644 --- a/wxWidgets-3_2.changes +++ b/wxWidgets-3_2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 24 09:29:25 UTC 2023 - Jan Engelhardt + +- Use more pkgconfig(..) in BuildRequires +- Remove pre-SLE15 building blocks + ------------------------------------------------------------------- Thu Apr 27 22:50:58 UTC 2023 - Antoine Belvire diff --git a/wxWidgets-3_2.spec b/wxWidgets-3_2.spec index 152b404..3969713 100644 --- a/wxWidgets-3_2.spec +++ b/wxWidgets-3_2.spec @@ -91,19 +91,19 @@ BuildRequires: graphviz BuildRequires: autoconf BuildRequires: cppunit-devel BuildRequires: gcc-c++ -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-base-devel -BuildRequires: libSM-devel -BuildRequires: libcurl-devel BuildRequires: libexpat-devel BuildRequires: libjpeg-devel -BuildRequires: libmspack-devel -BuildRequires: libnotify-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: zlib-devel +BuildRequires: pkgconfig(gstreamer-1.0) +BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libmspack) +BuildRequires: pkgconfig(libnotify) +BuildRequires: pkgconfig(sm) %if "%toolkit" == "gtk2" -BuildRequires: gtk2-devel +BuildRequires: pkgconfig(gtk+-2.0) %endif %if "%toolkit" == "gtk3" BuildRequires: pkgconfig(gtk+-3.0) @@ -121,11 +121,7 @@ BuildRequires: pkgconfig(cairo) %endif BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(liblzma) -%if 0%{?sle_version} < 150000 && !0%{?is_opensuse} -BuildRequires: pkgconfig(sdl) -%else BuildRequires: pkgconfig(sdl2) -%endif BuildRequires: pkgconfig(xtst) %endif