Accepting request 501672 from network:utilities

- Update to new snapshot 0.13.6.g72

OBS-URL: https://build.opensuse.org/request/show/501672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtorrent?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2017-08-24 16:28:35 +00:00 committed by Git OBS Bridge
parent 1fbfcf4337
commit ddcbfab7d2
6 changed files with 31 additions and 31 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bf963ac6e73e194a2cd87ebdf809988b5b3d6244bb7cd43d7d0c4852fc501524
size 340818

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">git://github.com/rakshasa/libtorrent</param>
<param name="revision">master</param>
<param name="parent-tag">47915136</param>
<param name="versionformat">0.13.6.g@TAG_OFFSET@</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@ -1,22 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2017-05-03 10:29:41.992264417 +0200
Subject: build: resolve autogen.sh failure with cppunit 1.14
configure.ac:22: warning: macro 'AM_PATH_CPPUNIT' not found in library
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: libtorrent-0.13.6/configure.ac
===================================================================
--- libtorrent-0.13.6.orig/configure.ac
+++ libtorrent-0.13.6/configure.ac
@@ -19,7 +19,7 @@ AC_SUBST(LIBTORRENT_INTERFACE_VERSION_NO
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS(config.h)
-AM_PATH_CPPUNIT(1.9.6)
+PKG_CHECK_MODULES([CPPUNIT], [cppunit >= 1.9.6])
AC_PROG_CXX

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7033f8857ee1cadc1a9f6e3350ca60914372b1b6a663bbfa8fa00368e63d30df
size 272452

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jun 6 14:08:12 UTC 2017 - jengelh@inai.de
- Update to new snapshot 0.13.6.g72
* IPv6 support
* Send correct network-ordered port number in PEX messages.
* Support for DHT logging.
* Fix BEP7 compatibility with IPv6 trackers and IPv4 peers.
- Remove cppunit.diff (no longer needed)
-------------------------------------------------------------------
Wed May 3 08:37:07 UTC 2017 - jengelh@inai.de

View File

@ -19,7 +19,7 @@
Name: libtorrent
%define lname libtorrent19
Version: 0.13.6
Version: 0.13.6.g72
Release: 0
Summary: A BitTorrent library written in C++
License: SUSE-GPL-2.0+-with-openssl-exception
@ -27,8 +27,8 @@ Group: Productivity/Networking/File-Sharing
Url: http://github.com/rakshasa/libtorrent
#Git-Clone: git://github.com/rakshasa/libtorrent
Source: https://github.com/rakshasa/libtorrent/archive/%version.tar.gz
Patch1: cppunit.diff
#Source: https://github.com/rakshasa/libtorrent/archive/%version.tar.gz
Source: %name-%version.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
@ -37,6 +37,7 @@ BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: openssl-devel
BuildRequires: pkg-config
BuildRequires: xz
BuildRequires: zlib-devel
%description
@ -65,14 +66,11 @@ seed speeds than the official client on high-bandwidth links.
%prep
%setup -q
%patch -P 1 -p1
%build
export CFLAGS="%optflags -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
%if 0%{?suse_version} >= 1220
export CXXFLAGS="$CXXFLAGS -std=gnu++11"
%endif
autoreconf -fiv
%configure --enable-ipv6 --with-posix-fallocate
make %{?_smp_mflags}