forked from pool/yt-dlp
Accepting request 994385 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/994385 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=11
This commit is contained in:
commit
05868283b1
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 10 15:54:47 UTC 2022 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
- Force python 3.9 on anything older than Tumbleweed
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 9 07:51:26 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
Tue Aug 9 07:51:26 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
17
yt-dlp.spec
17
yt-dlp.spec
@ -25,13 +25,23 @@ Group: Productivity/Networking/Web/Utilities
|
|||||||
URL: https://github.com/yt-dlp/yt-dlp
|
URL: https://github.com/yt-dlp/yt-dlp
|
||||||
Source: %url/releases/download/%version/yt-dlp.tar.gz
|
Source: %url/releases/download/%version/yt-dlp.tar.gz
|
||||||
BuildRequires: make >= 4
|
BuildRequires: make >= 4
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-xml
|
BuildRequires: python3-xml
|
||||||
|
%else
|
||||||
|
BuildRequires: python39-devel
|
||||||
|
BuildRequires: python39-xml
|
||||||
|
%endif
|
||||||
BuildRequires: zip
|
BuildRequires: zip
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: ffmpeg
|
Requires: ffmpeg
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
Requires: python3
|
Requires: python3
|
||||||
Requires: python3-xml
|
Requires: python3-xml
|
||||||
|
%else
|
||||||
|
Requires: python39
|
||||||
|
Requires: python39-xml
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
yt-dlp is a command-line program to retrieve videos from
|
yt-dlp is a command-line program to retrieve videos from
|
||||||
@ -69,7 +79,12 @@ ZSH command line completion support for yt-dlp.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
rm -f youtube-dl yt-dlp
|
rm -f youtube-dl yt-dlp
|
||||||
PYTHON="%_bindir/python3" %make_build yt-dlp
|
%if 0%{?suse_version} > 1500
|
||||||
|
PYTHON="%_bindir/python3" \
|
||||||
|
%else
|
||||||
|
PYTHON="%_bindir/python3.9" \
|
||||||
|
%endif
|
||||||
|
%make_build yt-dlp
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
|
Loading…
Reference in New Issue
Block a user