1
0
Alexei Sorokin
2017-03-07 12:15:34 +00:00
committed by Git OBS Bridge
parent a770e27f6b
commit e117d5ae4f
2 changed files with 73 additions and 66 deletions

View File

@@ -1,59 +1,65 @@
-------------------------------------------------------------------
Tue Mar 7 12:00:28 UTC 2017 - sor.alexei@meowr.ru
- Explicitly require libboost_python3-devel on openSUSE later than
Leap 42.x.
- Rename python-libtorrent-rasterbar to
python2-libtorrent-rasterbar to follow Python packaging policies.
-------------------------------------------------------------------
Sat Mar 4 08:58:51 UTC 2017 - aloisio@gmx.com
- Update to version 1.1.2
* default TOS marking to 0x20
* fix invalid access when leaving seed-mode with outstanding
hash jobs
* fix ABI compatibility issue introduced with preformatted
entry type
* add web_seed_name_lookup_retry to session_settings
* slightly improve proxy settings backwards compatibility
* add function to get default settings
* updating super seeding would include the torrent in
state_update_alert
* fix issue where num_seeds could be greater than num_peers
in torrent_status
* finished non-seed torrents can also be in super-seeding
mode
* fix issue related to unloading torrents
* fixed finished-time calculation
* add missing min_memory_usage() and high_performance_seed()
settings presets to python
* fix stat cache issue that sometimes would produce
incorrect resume data
* storage optimization to peer classes
* fix torrent name in alerts of builds with deprecated
functions
* make torrent_info::is_valid() return false if torrent
failed to load
* fix per-torrent rate limits for >256 peer classes
* don't load user_agent and peer_fingerprint from
session_state
* fix file rename issue with name prefix matching torrent
name
* fix division by zero when setting tick_interval > 1000
* fix move_storage() to its own directory (would delete the
files)
* fix socks5 support for UDP
* add setting urlseed_max_request_bytes to handle large web
seed requests
* fix python build with CC/CXX environment
* add trackers from add_torrent_params/magnet links to
separate tiers
* fix resumedata check issue with files with priority 0
* deprecated mmap_cache feature
* add utility function for generating peer ID fingerprint
* fix bug in last-seen-complete
* remove file size limit in torrent_info filename constructor
* fix tail-padding for last file in create_torrent
* don't send user-agent in metadata http downloads or UPnP
requests when in anonymous mode
* fix internal resolve links lookup for mutable torrents
* hint DHT bootstrap nodes of actual bootstrap request
- Update to version 1.1.2:
* Default TOS marking to 0x20.
* Fix invalid access when leaving seed-mode with outstanding hash
jobs.
* Fix an ABI compatibility issue introduced with preformatted
entry type.
* Add web_seed_name_lookup_retry to session_settings.
* Slightly improve proxy settings backwards compatibility.
* Add a function to get default settings.
* Updating super seeding would include the torrent in
state_update_alert.
* Fix an issue where num_seeds could be greater than num_peers in
torrent_status.
* Finished non-seed torrents can also be in super-seeding mode.
* Fix an issue related to unloading torrents.
* Fix finished-time calculation.
* Add missing min_memory_usage() and high_performance_seed()
settings presets to Python.
* Fix a stat cache issue that sometimes would produce incorrect
resume data.
* Storage optimisation to peer classes.
* Fix the torrent name in alerts of builds with deprecated
functions.
* Make torrent_info::is_valid() return false if a torrent failed
to load.
* Fix per-torrent rate limits for >256 peer classes.
* Don't load user_agent and peer_fingerprint from session_state.
* Fix the file rename issue with name prefix matching torrent
name.
* Fix division by zero when setting tick_interval > 1000.
* Fix move_storage() to its own directory (would delete the
files).
* Fix the socks5 support for UDP.
* Add a setting urlseed_max_request_bytes to handle large web
seed requests.
* Fix Python bindings crash with non-default C++11.
* Add trackers from the add_torrent_params/magnet links to
separate tiers.
* Fix a resumedata check issue with files with priority 0.
* Deprecate the mmap_cache feature.
* Add an utility function for generating the peer ID fingerprint.
* Fix a bug in last-seen-complete.
* Remove a file size limit in the torrent_info filename
constructor.
* Fix tail-padding for the last file in create_torrent.
* Don't send the user-agent in metadata http downloads or UPnP
requests when in the anonymous mode.
* Fix the internal resolve links lookup for mutable torrents.
* Hint DHT bootstrap nodes of actual bootstrap request.
- Dropped libtorrent-rasterbar-python-cxxflags.patch (accepted
upstream)
upstream).
-------------------------------------------------------------------
Wed Feb 1 15:44:54 UTC 2017 - adam.majer@suse.de

View File

@@ -31,21 +31,19 @@ Url: http://libtorrent.org/
Source: https://github.com/arvidn/%{_name}/releases/download/%{_name}-%{_version}/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM libtorrent-rasterbar-fix-build-boost-1.54.patch sor.alexei@meowr.ru -- Fix building with Boost 1.54.
Patch0: libtorrent-rasterbar-fix-build-boost-1.54.patch
%if 0%{?suse_version} > 1325
BuildRequires: libboost_chrono-devel
BuildRequires: libboost_python-devel
BuildRequires: libboost_random-devel
BuildRequires: libboost_system-devel
%else
BuildRequires: boost-devel >= 1.54
%endif
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: pkgconfig(openssl)
%if 0%{?suse_version} > 1320
BuildRequires: libboost_chrono-devel
BuildRequires: libboost_python-devel
BuildRequires: libboost_python3-devel
BuildRequires: libboost_random-devel
BuildRequires: libboost_system-devel
BuildRequires: python3-devel
%else
BuildRequires: boost-devel >= 1.54
# For quadmath.h we need gcc-fortran on openSUSE Leap 42.x and older.
BuildRequires: gcc-fortran
%endif
@@ -79,11 +77,14 @@ The main goals of libtorrent-rasterbar are:
* To be memory efficient.
* To be very easy to use.
%package -n python-%{name}
%package -n python2-%{name}
Summary: Python Bindings for libtorrent-rasterbar
# python-libtorrent-rasterbar was last used in openSUSE Leap 42.2.
Group: Development/Libraries/Python
Provides: python-%{name} = %{version}
Obsoletes: python-%{name} < %{version}
%description -n python-%{name}
%description -n python2-%{name}
Python Bindings for the libtorrent-rasterbar package.
%if 0%{?suse_version} > 1320
@@ -108,13 +109,13 @@ Example tools from the libtorrent-rasterbar package.
Summary: Libtorrent is a C++ implementation of the BitTorrent protocol
Group: Development/Libraries/C and C++
Requires: %{name}%{sover} = %{version}
%if 0%{?suse_version} > 1325
Requires: gcc-c++
Requires: pkgconfig(openssl)
%if 0%{?suse_version} > 1320
Requires: libboost_headers-devel
%else
Requires: boost-devel >= 1.54
%endif
Requires: gcc-c++
Requires: pkgconfig(openssl)
%description devel
libtorrent-rasterbar is a C++ library that aims to be a good
@@ -219,7 +220,7 @@ make check %{?_smp_mflags} V=1 -C build-python3
%doc AUTHORS ChangeLog COPYING
%{_libdir}/%{name}.so.%{sover}*
%files -n python-%{name}
%files -n python2-%{name}
%defattr(-,root,root)
%{python_sitearch}/%{_name}*.so
%{python_sitearch}/python_%{_name}-*