forked from pool/yt-dlp
Use Python 3.13 in 15.7, due to lack of 3.12 #4
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 7 12:34:56 UTC 2025 - olaf@aepfle.de
|
||||
|
||||
- Use Python 3.13 in 15.7, due to lack of 3.12
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 27 06:53:33 UTC 2025 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
|
||||
12
yt-dlp.spec
12
yt-dlp.spec
@@ -21,8 +21,12 @@
|
||||
%define skip_python37 1
|
||||
%define skip_python38 1
|
||||
%if 0%{?suse_version} < 1600
|
||||
%if 0%{?sle_version} == 150700
|
||||
%global pythons python313
|
||||
%else
|
||||
%global pythons python312
|
||||
%endif
|
||||
%endif
|
||||
|
||||
Name: yt-dlp
|
||||
Version: 2025.09.26
|
||||
@@ -47,7 +51,11 @@ Provides: yt-dlp-fish-completion = %version-%release
|
||||
Obsoletes: yt-dlp-zsh-completion < %version-%release
|
||||
Provides: yt-dlp-zsh-completion = %version-%release
|
||||
%if 0%{?suse_version} < 1600
|
||||
%if 0%{?sle_version} == 150700
|
||||
Requires: python313-yt-dlp = %version
|
||||
%else
|
||||
Requires: python312-yt-dlp = %version
|
||||
%endif
|
||||
%else
|
||||
Requires: python3-yt-dlp = %version
|
||||
%endif
|
||||
@@ -96,8 +104,12 @@ rm -f youtube-dl yt-dlp
|
||||
# exercised; else yt-dlp is a loader.
|
||||
#
|
||||
%if 0%{?suse_version} < 1600
|
||||
%if 0%{?sle_version} == 150700
|
||||
export PYTHON=%__python313
|
||||
%else
|
||||
export PYTHON=%__python312
|
||||
%endif
|
||||
%endif
|
||||
%pyproject_wheel
|
||||
%make_build yt-dlp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user