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.