1
0

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
This commit is contained in:
Alexei Sorokin 2017-02-01 16:04:51 +00:00 committed by Git OBS Bridge
parent 399adb9c9c
commit 0c2448ea4a
2 changed files with 17 additions and 1 deletions

View File

@ -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

View File

@ -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)