File project.diff of Package yt-dlp_manual
--- yt-dlp.changes.orig
+++ yt-dlp.changes
@@ -1,4 +1,16 @@
-------------------------------------------------------------------
+Sat Sep 27 06:53:33 UTC 2025 - Luigi Baldoni <aloisio@gmx.com>
+
+- Update to release 2025.09.26
+ * twitch: vod: Fix live_status detection
+ * youtube:
+ + Fix player JS overrides
+ + Improve PO token logging
+ + Player client maintenance
+ + Replace tv_simply with web_safari in default clients
+- Fix Leap 15.6 build
+
+-------------------------------------------------------------------
Tue Sep 23 08:02:51 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.09.23
--- yt-dlp.spec.orig
+++ yt-dlp.spec
@@ -25,7 +25,7 @@
%endif
Name: yt-dlp
-Version: 2025.09.23
+Version: 2025.09.26
Release: 0
Summary: Enhanced fork of youtube-dl, a video site downloader for offline watching
License: CC-BY-SA-3.0 AND SUSE-Public-Domain
@@ -82,6 +82,12 @@ The direct Python interface into yt-dlp.
%prep
%autosetup -p1 -n %name
+# remove shebang
+find . -type f -name "*.py" -exec sed -i '/^#!/d' {} \;
+
+# fix Leap 15.6 build wrt hatchling
+sed -e '/3\.14/d' -e '/^license\-files/d' \
+ -i pyproject.toml
%build
rm -f youtube-dl yt-dlp
@@ -89,6 +95,9 @@ rm -f youtube-dl yt-dlp
# A self-decompressing yt-dlp is built only when python_build is not
# exercised; else yt-dlp is a loader.
#
+%if 0%{?suse_version} < 1600
+export PYTHON=%__python312
+%endif
%pyproject_wheel
%make_build yt-dlp