From 426721cec7c4eeb9a410d3ec0212612ddc25b8b8 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:56:58 +0100 Subject: [PATCH] rebuilt with -std=c++14 to fix link with qbittorrent [release 1.2.10-2mamba;Mon Sep 14 2020] --- libtorrent-rasterbar.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/libtorrent-rasterbar.spec b/libtorrent-rasterbar.spec index ae6b193..b2ef0ae 100644 --- a/libtorrent-rasterbar.spec +++ b/libtorrent-rasterbar.spec @@ -1,7 +1,7 @@ %define pkgdir %(echo %version | tr . _) Name: libtorrent-rasterbar Version: 1.2.10 -Release: 1mamba +Release: 2mamba Summary: A C++ implementation of the BitTorrent protocol with the goals of being efficient and easy to use Group: System/Libraries Vendor: openmamba @@ -15,13 +15,12 @@ Patch1: libtorrent-1.1.9-libboost-include.patch License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig BuildRequires: libboost-devel BuildRequires: libgcc -BuildRequires: libGeoIP-devel BuildRequires: libopenssl-devel -BuildRequires: libpython-devel +BuildRequires: libpython3-devel BuildRequires: libstdc++6-devel -BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libboost-devel >= 1.69.0-2mamba BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -60,7 +59,9 @@ This package contains Python bindings for the libtorrent-rasterbar library. %configure \ --enable-python-binding \ --with-libgeoip \ - --with-boost-system + --with-boost-system \ + CXXFLAGS="%{optflags} -std=c++14" \ + PYTHON=%{__python3} %make V=1 \ %ifarch x86_64 @@ -94,10 +95,13 @@ This package contains Python bindings for the libtorrent-rasterbar library. %files -n python-%{name} %defattr(-,root,root) -%{python_sitearch}/libtorrent.so -%{python_sitearch}/python_libtorrent-* +%{python3_sitearch}/libtorrent.cpython-3*.so +%{python3_sitearch}/python_libtorrent-%{version}-py*.egg-info %changelog +* Mon Sep 14 2020 Silvan Calarco 1.2.10-2mamba +- rebuilt with -std=c++14 to fix link with qbittorrent + * Sun Sep 06 2020 Silvan Calarco 1.2.10-1mamba - update to 1.2.10