From 6b43d4887cdd65ad6d1d8948a493b966b1b6e37a441a00cf278e81e05811acb1 Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Wed, 1 Feb 2017 13:22:36 +0000 Subject: [PATCH] Accepting request 453807 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/453807 OBS-URL: https://build.opensuse.org/package/show/electronics/kicad?expand=0&rev=33 --- kicad.changes | 5 +++++ kicad.spec | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/kicad.changes b/kicad.changes index 45580c1..6ec090e 100644 --- a/kicad.changes +++ b/kicad.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 1 11:40:20 UTC 2017 - adam.majer@suse.de + +- use individual libboost-*-devel packages instead of boost-devel + ------------------------------------------------------------------- Tue Jan 10 10:16:40 UTC 2017 - davejplater@gmail.com diff --git a/kicad.spec b/kicad.spec index c217a0d..574c8f5 100644 --- a/kicad.spec +++ b/kicad.spec @@ -40,7 +40,17 @@ Patch4: kicad-boost-1_61-boost-context-changes.patch # PATCH-OPENSUSE kicad-set-cxx-standard.diff -- use C++14 by default and decay to 11, required by boost 1.61 patch Patch5: kicad-set-cxx-version.patch %endif +%if 0%{?suse_version} > 1325 +BuildRequires: libboost_context-devel +BuildRequires: libboost_filesystem-devel +BuildRequires: libboost_iostreams-devel +BuildRequires: libboost_locale-devel +BuildRequires: libboost_program_options-devel +BuildRequires: libboost_regex-devel +BuildRequires: libboost_thread-devel +%else BuildRequires: boost-devel >= 1.56 +%endif BuildRequires: cmake BuildRequires: doxygen BuildRequires: fdupes