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:
parent
1fbfcf4337
commit
ddcbfab7d2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bf963ac6e73e194a2cd87ebdf809988b5b3d6244bb7cd43d7d0c4852fc501524
|
|
||||||
size 340818
|
|
14
_service
Normal file
14
_service
Normal 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>
|
22
cppunit.diff
22
cppunit.diff
@ -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
|
|
||||||
|
|
3
libtorrent-0.13.6.g72.tar.xz
Normal file
3
libtorrent-0.13.6.g72.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7033f8857ee1cadc1a9f6e3350ca60914372b1b6a663bbfa8fa00368e63d30df
|
||||||
|
size 272452
|
@ -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
|
Wed May 3 08:37:07 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
Name: libtorrent
|
Name: libtorrent
|
||||||
%define lname libtorrent19
|
%define lname libtorrent19
|
||||||
Version: 0.13.6
|
Version: 0.13.6.g72
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A BitTorrent library written in C++
|
Summary: A BitTorrent library written in C++
|
||||||
License: SUSE-GPL-2.0+-with-openssl-exception
|
License: SUSE-GPL-2.0+-with-openssl-exception
|
||||||
@ -27,8 +27,8 @@ Group: Productivity/Networking/File-Sharing
|
|||||||
Url: http://github.com/rakshasa/libtorrent
|
Url: http://github.com/rakshasa/libtorrent
|
||||||
|
|
||||||
#Git-Clone: git://github.com/rakshasa/libtorrent
|
#Git-Clone: git://github.com/rakshasa/libtorrent
|
||||||
Source: https://github.com/rakshasa/libtorrent/archive/%version.tar.gz
|
#Source: https://github.com/rakshasa/libtorrent/archive/%version.tar.gz
|
||||||
Patch1: cppunit.diff
|
Source: %name-%version.tar.xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -37,6 +37,7 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: xz
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -65,14 +66,11 @@ seed speeds than the official client on high-bandwidth links.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -P 1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%optflags -fno-strict-aliasing"
|
export CFLAGS="%optflags -fno-strict-aliasing"
|
||||||
export CXXFLAGS="$CFLAGS"
|
export CXXFLAGS="$CFLAGS"
|
||||||
%if 0%{?suse_version} >= 1220
|
|
||||||
export CXXFLAGS="$CXXFLAGS -std=gnu++11"
|
export CXXFLAGS="$CXXFLAGS -std=gnu++11"
|
||||||
%endif
|
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure --enable-ipv6 --with-posix-fallocate
|
%configure --enable-ipv6 --with-posix-fallocate
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
Loading…
Reference in New Issue
Block a user