From cb7c8815acfb5552e1b41ae0e287bcd22b477f5d5484c6f3e7a463aa6b4b5ac3 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 10 Jan 2018 12:10:30 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/games/chocolate-doom?expand=0&rev=33 --- chocolate-doom.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chocolate-doom.spec b/chocolate-doom.spec index aa2023c..710af40 100644 --- a/chocolate-doom.spec +++ b/chocolate-doom.spec @@ -38,7 +38,10 @@ BuildRequires: python BuildRequires: update-desktop-files BuildRequires: pkgconfig(SDL2_mixer) >= 2.0.0 BuildRequires: pkgconfig(SDL2_net) >= 2.0.0 -BuildRequires: pkgconfig(libpng) +%if 0%{?suse_version} >= 1500 +# Leap 42.X does not have this +BuildRequires: pkgconfig(libpng) >= 1.6.10 +%endif BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(sdl2) >= 2.0.1 Provides: chocolate-heretic = %version