From 0c2448ea4a36ba863acdae6963fc7e395fe593063f460e8eba6eb3a754aa74ef Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Wed, 1 Feb 2017 16:04:51 +0000 Subject: [PATCH] Accepting request 453926 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/453926 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtorrent-rasterbar?expand=0&rev=79 --- libtorrent-rasterbar.changes | 5 +++++ libtorrent-rasterbar.spec | 13 ++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/libtorrent-rasterbar.changes b/libtorrent-rasterbar.changes index c89d2ef..499c1a7 100644 --- a/libtorrent-rasterbar.changes +++ b/libtorrent-rasterbar.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 1 15:44:54 UTC 2017 - adam.majer@suse.de + +- use individual libboost-*-devel packages instead of boost-devel + ------------------------------------------------------------------- Mon Dec 5 15:43:14 UTC 2016 - sor.alexei@meowr.ru diff --git a/libtorrent-rasterbar.spec b/libtorrent-rasterbar.spec index ee28628..2399503 100644 --- a/libtorrent-rasterbar.spec +++ b/libtorrent-rasterbar.spec @@ -1,7 +1,7 @@ # # spec file for package libtorrent-rasterbar # -# 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 @@ -33,7 +33,14 @@ Source: https://github.com/arvidn/%{_name}/releases/download/%{_name}-%{ Patch0: libtorrent-rasterbar-fix-build-boost-1.54.patch # PATCH-FIX-OPENSUSE libtorrent-rasterbar-python-cxxflags.patch boo#1013570 sor.alexei@meowr.ru -- Fix Python bindings CXXFLAGS. Patch1: libtorrent-rasterbar-python-cxxflags.patch +%if 0%{?suse_version} > 1325 +BuildRequires: libboost_chrono-devel +BuildRequires: libboost_python-devel +BuildRequires: libboost_random-devel +BuildRequires: libboost_system-devel +%else BuildRequires: boost-devel >= 1.54 +%endif BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: python-devel @@ -103,7 +110,11 @@ Example tools from the libtorrent-rasterbar package. Summary: Libtorrent is a C++ implementation of the BitTorrent protocol Group: Development/Libraries/C and C++ Requires: %{name}%{sover} = %{version} +%if 0%{?suse_version} > 1325 +Requires: libboost_headers-devel +%else Requires: boost-devel >= 1.54 +%endif Requires: gcc-c++ Requires: pkgconfig(openssl)