From ea922bfa0354d554b5cbbc4b3e87c803b0f9b8b0ceefd8d97a8b0947cdefedfc Mon Sep 17 00:00:00 2001 From: Claes Backstrom Date: Thu, 12 Oct 2017 16:32:57 +0000 Subject: [PATCH] Accepting request 533489 from home:okurz:branches:games Use specific boost BuildRequires (bsc#1062802) OBS-URL: https://build.opensuse.org/request/show/533489 OBS-URL: https://build.opensuse.org/package/show/games/widelands?expand=0&rev=41 --- widelands.changes | 5 +++++ widelands.spec | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/widelands.changes b/widelands.changes index c109e9d..60dd6f9 100644 --- a/widelands.changes +++ b/widelands.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 11 20:43:40 UTC 2017 - okurz@suse.com + +- Use specific boost BuildRequires (bsc#1062802) + ------------------------------------------------------------------- Sat Jul 15 08:49:27 UTC 2017 - mailaender@opensuse.org diff --git a/widelands.spec b/widelands.spec index 3c4fd68..0128a56 100644 --- a/widelands.spec +++ b/widelands.spec @@ -29,7 +29,6 @@ BuildRequires: SDL2_image-devel BuildRequires: SDL2_mixer-devel BuildRequires: SDL2_net-devel BuildRequires: SDL2_ttf-devel -BuildRequires: boost-devel BuildRequires: cmake BuildRequires: doxygen BuildRequires: fdupes @@ -37,6 +36,15 @@ BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: glew-devel BuildRequires: hicolor-icon-theme +# use more specific boost dependencies where possible to avoid redundant +# dependencies (boo#1062802) +%if 0%{?suse_version} >= 1330 +BuildRequires: libboost_headers-devel +BuildRequires: libboost_regex-devel +BuildRequires: libboost_test-devel +%else +BuildRequires: boost-devel +%endif BuildRequires: libicu-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel