forked from jengelh/yt-dlp
Special case Requires line for 15.6
This commit is contained in:
parent
0f2176c0e4
commit
926987c0d1
@ -19,7 +19,7 @@
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
%define skip_python37 1
|
||||
%if 0%{?sle_version} == 150600
|
||||
%if 0%{?suse_version} < 1600
|
||||
%global pythons python312
|
||||
%endif
|
||||
|
||||
@ -45,7 +45,11 @@ Obsoletes: yt-dlp-fish-completion < %version-%release
|
||||
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
|
||||
Requires: python312-yt-dlp = %version
|
||||
%else
|
||||
Requires: python3-yt-dlp = %version
|
||||
%endif
|
||||
%define python_subpackage_only 1
|
||||
%python_subpackages
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user