forked from pool/libtorrent
Leap 15.6 support
This commit is contained in:
@@ -27,7 +27,11 @@ URL: https://github.com/rakshasa/libtorrent
|
||||
Source: https://github.com/rakshasa/rtorrent/releases/download/v%version/libtorrent-%version.tar.gz
|
||||
Patch1: 0001-0.15.2-Missing-header-algorithm.patch
|
||||
BuildRequires: automake
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1600
|
||||
BuildRequires: gcc13-c++
|
||||
%else
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig(cppunit)
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
@@ -61,6 +65,9 @@ seed speeds than the official client on high-bandwidth links.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1600
|
||||
export CXX=g++-13
|
||||
%endif
|
||||
export CFLAGS="%optflags -fno-strict-aliasing"
|
||||
export CXXFLAGS="$CFLAGS"
|
||||
autoreconf -fiv
|
||||
|
Reference in New Issue
Block a user