rebuilt with -std=c++14 to fix link with qbittorrent [release 1.2.10-2mamba;Mon Sep 14 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:56:58 +01:00
parent 7c8aac42a7
commit 426721cec7

View File

@ -1,7 +1,7 @@
%define pkgdir %(echo %version | tr . _) %define pkgdir %(echo %version | tr . _)
Name: libtorrent-rasterbar Name: libtorrent-rasterbar
Version: 1.2.10 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 Summary: A C++ implementation of the BitTorrent protocol with the goals of being efficient and easy to use
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -15,13 +15,12 @@ Patch1: libtorrent-1.1.9-libboost-include.patch
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libboost-devel BuildRequires: libboost-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libGeoIP-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: libpython-devel BuildRequires: libpython3-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libboost-devel >= 1.69.0-2mamba BuildRequires: libboost-devel >= 1.69.0-2mamba
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -60,7 +59,9 @@ This package contains Python bindings for the libtorrent-rasterbar library.
%configure \ %configure \
--enable-python-binding \ --enable-python-binding \
--with-libgeoip \ --with-libgeoip \
--with-boost-system --with-boost-system \
CXXFLAGS="%{optflags} -std=c++14" \
PYTHON=%{__python3}
%make V=1 \ %make V=1 \
%ifarch x86_64 %ifarch x86_64
@ -94,10 +95,13 @@ This package contains Python bindings for the libtorrent-rasterbar library.
%files -n python-%{name} %files -n python-%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{python_sitearch}/libtorrent.so %{python3_sitearch}/libtorrent.cpython-3*.so
%{python_sitearch}/python_libtorrent-* %{python3_sitearch}/python_libtorrent-%{version}-py*.egg-info
%changelog %changelog
* Mon Sep 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-2mamba
- rebuilt with -std=c++14 to fix link with qbittorrent
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-1mamba * Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-1mamba
- update to 1.2.10 - update to 1.2.10