rebuilt with -std=c++14 to fix link with qbittorrent [release 1.2.10-2mamba;Mon Sep 14 2020]
This commit is contained in:
parent
7c8aac42a7
commit
426721cec7
@ -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 <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
|
||||
- update to 1.2.10
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user