From 24c71c906714bc1d45a2b994da9b224b4be3fa920342c7be57f2ceb12b865a14 Mon Sep 17 00:00:00 2001
From: OBS User unknown <null@suse.de>
Date: Thu, 26 Dec 2024 19:21:22 +0000
Subject: [PATCH] 
 [info=e72b545452c9b12dcfcd6ce0343a2e201dbaab4fcf352480915e1682e43a2644]

OBS-URL: https://build.opensuse.org/package/show/filesharing/libtorrent?expand=0&rev=9
---
 _scmsync.obsinfo         | 4 ++--
 build.specials.obscpio   | 2 +-
 libtorrent-0.14.0.tar.gz | 3 ---
 libtorrent.changes       | 8 ++++++++
 libtorrent.spec          | 7 +++----
 v0.15.0.tar.gz           | 3 +++
 6 files changed, 17 insertions(+), 10 deletions(-)
 delete mode 100644 libtorrent-0.14.0.tar.gz
 create mode 100644 v0.15.0.tar.gz

diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo
index cb49da9..0189818 100644
--- a/_scmsync.obsinfo
+++ b/_scmsync.obsinfo
@@ -1,4 +1,4 @@
-mtime: 1727623076
-commit: 8c200077e9a1c7a5e2609b2599662d210a5d08fb7974ea2b86be966af2dff63a
+mtime: 1735240866
+commit: e72b545452c9b12dcfcd6ce0343a2e201dbaab4fcf352480915e1682e43a2644
 url: https://src.opensuse.org/jengelh/libtorrent
 revision: master
diff --git a/build.specials.obscpio b/build.specials.obscpio
index e25c818..713545d 100644
--- a/build.specials.obscpio
+++ b/build.specials.obscpio
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:80f76bbde18d0f014acdba3e2b6b9cac58a82701758510fc8b9e491289b26f6e
+oid sha256:300f1438cac6ab75ea80f0a134f79b0b5502b6b67801f4d5b1312e7876971c4e
 size 256
diff --git a/libtorrent-0.14.0.tar.gz b/libtorrent-0.14.0.tar.gz
deleted file mode 100644
index a1bee08..0000000
--- a/libtorrent-0.14.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:17b816da5807c7b3455a1a48aae8dacf0f4ef75b1a4372c758948710066fd3ec
-size 809617
diff --git a/libtorrent.changes b/libtorrent.changes
index 70bd2b5..af934e4 100644
--- a/libtorrent.changes
+++ b/libtorrent.changes
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Thu Dec 26 19:18:11 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
+
+- Update to release 0.15
+  * Resolved a crash with Handshake buffer resizing.
+  * Respect failure intervals for trackers.
+  * Fix file truncation on resume with fallocate enabled.
+
 -------------------------------------------------------------------
 Sun Sep 29 12:10:54 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
 
diff --git a/libtorrent.spec b/libtorrent.spec
index 09888da..8137e38 100644
--- a/libtorrent.spec
+++ b/libtorrent.spec
@@ -16,17 +16,16 @@
 #
 
 
-%define rtorrentvers 0.10.0
 Name:           libtorrent
-%define lname	libtorrent22
-Version:        0.14.0
+%define lname	libtorrent23
+Version:        0.15.0
 Release:        0
 Summary:        A BitTorrent library written in C++
 License:        SUSE-GPL-2.0+-with-openssl-exception
 Group:          Productivity/Networking/File-Sharing
 URL:            https://github.com/rakshasa/libtorrent
 
-Source:         https://github.com/rakshasa/rtorrent/releases/download/v%rtorrentvers/%name-%version.tar.gz
+Source:         https://github.com/rakshasa/libtorrent/archive/refs/tags/v%version.tar.gz
 BuildRequires:  automake
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
diff --git a/v0.15.0.tar.gz b/v0.15.0.tar.gz
new file mode 100644
index 0000000..453f2d0
--- /dev/null
+++ b/v0.15.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f55fb872282a2964049dadb89c4d1fb580a1cef981b9a421991efd5282ca90b7
+size 384632