From bef1c3230c077a348bc6dc1a9077729a4e9a19481dccb5dc3a46d3db33606af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 2 Feb 2017 15:58:42 +0000 Subject: [PATCH] Accepting request 454234 from home:adamm:branches:devel:libraries:c_c++ - use individual libboost-*-devel packages instead of boost-devel OBS-URL: https://build.opensuse.org/request/show/454234 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/yaml-cpp?expand=0&rev=17 --- yaml-cpp.changes | 5 +++++ yaml-cpp.spec | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/yaml-cpp.changes b/yaml-cpp.changes index da43a1b..6a33c55 100644 --- a/yaml-cpp.changes +++ b/yaml-cpp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 2 15:48:20 UTC 2017 - adam.majer@suse.de + +- use individual libboost-*-devel packages instead of boost-devel + ------------------------------------------------------------------- Mon Jul 11 07:51:14 UTC 2016 - tchvatal@suse.com diff --git a/yaml-cpp.spec b/yaml-cpp.spec index e0b5b40..578c64a 100644 --- a/yaml-cpp.spec +++ b/yaml-cpp.spec @@ -1,7 +1,7 @@ # # spec file for package yaml-cpp # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +30,11 @@ Source: https://github.com/jbeder/yaml-cpp/archive/release-%{version}/%{ Patch0: yaml-cpp-fix-pie.patch # PATCH-FIX-SUSE: disable bunlded gmock as the tests can't be run in obs anyway Patch1: yaml-cpp-disable-bundled-gmock.patch +%if 0%{?suse_version} > 1325 +BuildRequires: libboost_headers-devel +%else BuildRequires: boost-devel +%endif BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ @@ -52,7 +56,11 @@ A YAML parser and emitter in C++ matching the YAML 1.2 spec. Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: %{library_name} = %{version} +%if 0%{?suse_version} > 1325 +Requires: libboost_headers-devel +%else Requires: boost-devel +%endif %description devel Development files for %{name} library.