Hello community,
here is the log from the commit of package libtorrent-rasterbar for
openSUSE:Factory checked in at 2020-09-27 11:49:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtorrent-rasterbar (Old)
and /work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libtorrent-rasterbar"
Sun Sep 27 11:49:57 2020 rev:69 rq:835267 version:2.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/libtorrent-rasterbar/libtorrent-rasterbar.changes
2020-09-12 00:09:03.973016272 +0200
+++
/work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new.4249/libtorrent-rasterbar.changes
2020-09-27 11:49:59.388057235 +0200
@@ -1,0 +2,51 @@
+Thu Sep 17 16:20:30 UTC 2020 - Luigi Baldoni <[email protected]>
+
+- Update to version 2.0.0
+ * dropped depenency on iconv
+ * deprecate set_file_hash() in torrent creator, as it's
+ superceded by v2 torrents
+ * deprecate mutable access to info_section in torrent_info
+ * removed deprecated lazy_entry/lazy_bdecode
+ * stats_alert deprecated
+ * remove bittyrant choking algorithm
+ * update userdata in add_torrent_params to be type-safe and
+ add to torrent_handle
+ * add ip_filter to session_params
+ * added support for wolfSSL for SHA-1 hash and HTTPS (no
+ Torrents over SSL)
+ * requires OpenSSL minimum version 1.0.0 with SNI support
+ * deprecated save_state() and load_state() on session in
+ favour of new write_session_params() and
+ read_session_params()
+ * added support for BitTorrent v2 (see
+ docs/upgrade_to_2.0.html)
+ * create_torrent() pad_file_limit parameter removed
+ * create_torrent() merkle- and optimize-alignment flags removed
+ * merkle_tree removed from add_torrent_params
+ * announce_entry expose information per v1 and v2 info-hash
+ announces
+ * deprecated sha1_hash info_hash members on
+ torrent_removed_alert, torrent_deleted_alert,
+ torrent_delete_failed_alert and add_torrent_params
+ * undeprecate error_file_metadata for torrent errors related
+ to its metadata
+ * remove support for adding a torrent under a UUID (used for
+ previous RSS support)
+ * remove deprecated feature to add torrents by file:// URL
+ * remove deprecated feature to download .torrent file from URL
+ * requires boost >= 1.66 to build
+ * update networking API to networking TS compatible boost.asio
+ * overhauled disk I/O subsystem to use memory mapped files
+ (where available)
+ * libtorrent now requires C++14 to build
+ * added support for GnuTLS for HTTPS and torrents over SSL
+- Refreshlibtorrent-rasterbar-fix_pkgconfig_path.patch
+- Drop libtorrent-rasterbar-fix_library_version.patch
+
+-------------------------------------------------------------------
+Wed Sep 16 07:20:45 UTC 2020 - Michel Normand <[email protected]>
+
+- in _constraints set 5GB min physicalmemory rather than memory parm
+ (at least required for ppc64/ppc64le)
+
+-------------------------------------------------------------------
Old:
----
libtorrent-rasterbar-1.2.10.tar.gz
libtorrent-rasterbar-fix_library_version.patch
New:
----
libtorrent-rasterbar-2.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libtorrent-rasterbar.spec ++++++
--- /var/tmp/diff_new_pack.12UiK9/_old 2020-09-27 11:50:00.076057976 +0200
+++ /var/tmp/diff_new_pack.12UiK9/_new 2020-09-27 11:50:00.080057980 +0200
@@ -17,33 +17,33 @@
%define _name libtorrent
-%define sover 10
+%define _ver 2.0
+%define libver 2_0
+%define sover 2.0
+%define _legacy 1
%bcond_with examples
%bcond_with tests
Name: libtorrent-rasterbar
-Version: 1.2.10
+Version: 2.0.0
Release: 0
Summary: A C++ implementation of the BitTorrent protocol
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: https://libtorrent.org/
-Source:
https://github.com/arvidn/%{_name}/releases/download/%{_name}-%{version}/%{name}-%{version}.tar.gz
+Source:
https://github.com/arvidn/%{_name}/releases/download/%{_ver}/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM libtorrent-rasterbar-fix_pkgconfig_path.patch
Patch0: libtorrent-rasterbar-fix_pkgconfig_path.patch
-# PATCH-FIX-OPENSUSE libtorrent-rasterbar-fix_library_version.patch
-Patch1: libtorrent-rasterbar-fix_library_version.patch
-# for directory ownership
-BuildRequires: cmake-full
+BuildRequires: cmake >= 3.12.0
BuildRequires: fdupes
BuildRequires: gcc-c++
-BuildRequires: libboost_chrono-devel
-BuildRequires: libboost_python3-devel
-BuildRequires: libboost_random-devel
-BuildRequires: libboost_system-devel
+BuildRequires: libboost_chrono-devel >= 1.66
+BuildRequires: libboost_python3-devel >= 1.66
+BuildRequires: libboost_random-devel >= 1.66
+BuildRequires: libboost_system-devel >= 1.66
BuildRequires: pkgconfig
BuildRequires: python3-devel
BuildRequires: python3-setuptools
-BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(openssl) >= 1.0.0
%description
libtorrent-rasterbar is a C++ library that aims to be a good
@@ -54,11 +54,11 @@
This package holds the sample client and example files for
libtorrent-rasterbar.
-%package -n %{name}%{sover}
+%package -n %{name}%{libver}
Summary: A C++ implementation of the BitTorrent protocol
Group: System/Libraries
-%description -n %{name}%{sover}
+%description -n %{name}%{libver}
libtorrent-rasterbar is a C++ library that aims to be a good
alternative to all the other bittorrent implementations around.
It is a library and not a full featured client, although it comes
@@ -67,25 +67,28 @@
%package -n python3-%{name}
Summary: Python Bindings for libtorrent-rasterbar
Group: Development/Libraries/Python
+Conflicts: python3-%{name}-%{_legacy}
%description -n python3-%{name}
Python Bindings for the libtorrent-rasterbar package.
-### conditional here? %%if %%{with examples}
+%if %{with examples}
%package tools
Summary: Example tools from libtorrent-rasterbar
Group: Development/Libraries/C and C++
%description tools
Example tools from the libtorrent-rasterbar package.
+%endif
%package devel
Summary: Header files for libtorrent, a C++ implementation of the
BitTorrent protocol
Group: Development/Libraries/C and C++
-Requires: %{name}%{sover} = %{version}
+Requires: %{name}%{libver} = %{version}
Requires: gcc-c++
Requires: libboost_headers-devel
Requires: pkgconfig(openssl)
+Conflicts: %{name}-%{_legacy}-devel
%description devel
libtorrent-rasterbar is a C++ library that aims to be a good
@@ -107,7 +110,6 @@
%autosetup -p1
%build
-export CXXFLAGS="-std=c++14"
%cmake \
%if %{with tests}
-Dbuild_tests=ON \
@@ -115,7 +117,8 @@
%if %{with examples}
-Dbuild_examples=ON \
%endif
- -Dpython-bindings=ON
+ -Dpython-bindings=ON \
+ -Dboost-python-module-name=python
%cmake_build
%install
@@ -134,11 +137,14 @@
%if %{with tests}
%check
-%ctest --verbose --exclude-regex
"(test_flags|test_resume|test_torrent|test_url_seed|test_upnp)"
+export LD_LIBRARY_PATH=$PWD/build
+ln -s build/web_server.py .
+# test_flags until gh#arvidn/libtorrent#4985 is fixed
+%ctest --verbose --exclude-regex "(test_flags|test_upnp)"
%endif
-%post -n %{name}%{sover} -p /sbin/ldconfig
-%postun -n %{name}%{sover} -p /sbin/ldconfig
+%post -n %{name}%{libver} -p /sbin/ldconfig
+%postun -n %{name}%{libver} -p /sbin/ldconfig
%if %{with examples}
%files tools
@@ -147,7 +153,7 @@
%{_bindir}/simple_client
%endif
-%files -n %{name}%{sover}
+%files -n %{name}%{libver}
%license COPYING
%doc AUTHORS ChangeLog
%{_libdir}/%{name}.so.%{sover}*
++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.12UiK9/_old 2020-09-27 11:50:00.104058006 +0200
+++ /var/tmp/diff_new_pack.12UiK9/_new 2020-09-27 11:50:00.108058011 +0200
@@ -23,9 +23,9 @@
<arch>aarch64</arch>
</conditions>
<hardware>
- <memory>
+ <physicalmemory>
<size unit="G">5</size>
- </memory>
+ </physicalmemory>
<disk>
<size unit="G">4</size>
</disk>
++++++ libtorrent-rasterbar-1.2.10.tar.gz -> libtorrent-rasterbar-2.0.0.tar.gz
++++++
++++ 286164 lines of diff (skipped)
++++++ libtorrent-rasterbar-fix_pkgconfig_path.patch ++++++
--- /var/tmp/diff_new_pack.12UiK9/_old 2020-09-27 11:50:01.436059441 +0200
+++ /var/tmp/diff_new_pack.12UiK9/_new 2020-09-27 11:50:01.440059445 +0200
@@ -4,19 +4,7 @@
Subject: [PATCH] Fix path duplication in .pc file installation
---
- cmake/Modules/GeneratePkgConfig/generate-pkg-config.cmake.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-Index:
libtorrent-rasterbar-1.2.10/cmake/Modules/GeneratePkgConfig/generate-pkg-config.cmake.in
-===================================================================
----
libtorrent-rasterbar-1.2.10.orig/cmake/Modules/GeneratePkgConfig/generate-pkg-config.cmake.in
-+++
libtorrent-rasterbar-1.2.10/cmake/Modules/GeneratePkgConfig/generate-pkg-config.cmake.in
-@@ -49,4 +49,4 @@ set(_interface_compile_options "${_TARGE
- string(REPLACE ";" " " _interface_compile_options
"${_interface_compile_options}")
-
- configure_file("@_pkg_config_file_template_filename@"
"@_generate_target_dir@/@[email protected]" @ONLY)
--file(INSTALL "@_generate_target_dir@/@[email protected]" DESTINATION
"@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/pkgconfig")
-+file(INSTALL "@_generate_target_dir@/@[email protected]" DESTINATION
"@CMAKE_INSTALL_FULL_LIBDIR@/pkgconfig")
Index:
libtorrent-rasterbar-1.2.10/cmake/Modules/GeneratePkgConfig/pkg-config.cmake.in
===================================================================
---
libtorrent-rasterbar-1.2.10.orig/cmake/Modules/GeneratePkgConfig/pkg-config.cmake.in