SHA256
1
0
forked from pool/yt-dlp

Accepting request 994876 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/994876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2022-08-13 20:36:58 +00:00 committed by Git OBS Bridge
commit 5d7ac9884f
2 changed files with 25 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Aug 12 15:36:50 UTC 2022 - Luigi Baldoni <aloisio@gmx.com>
- Drop redundant runtime requirements
- Differentiate requirements between 15.3 and 15.4
- Add optional runtime requirements for Tumbleweed
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 10 15:54:47 UTC 2022 - Luigi Baldoni <aloisio@gmx.com> Wed Aug 10 15:54:47 UTC 2022 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -27,20 +27,30 @@ Source: %url/releases/download/%version/yt-dlp.tar.gz
BuildRequires: make >= 4 BuildRequires: make >= 4
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-xml %else
%if 0%{?sle_version} > 150300
BuildRequires: python310-devel
%else %else
BuildRequires: python39-devel BuildRequires: python39-devel
BuildRequires: python39-xml %endif
%endif %endif
BuildRequires: zip BuildRequires: zip
BuildArch: noarch BuildArch: noarch
Requires: ffmpeg Requires: ffmpeg
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
Requires: python3 Requires: python3
Requires: python3-xml Suggests: python3-Brotli
Suggests: python3-brotlicffi
Suggests: python3-certifi
Suggests: python3-mutagen
Suggests: python3-pycryptodomex
Suggests: python3-websockets
%else
%if 0%{?sle_version} > 150300
Requires: python310
%else %else
Requires: python39 Requires: python39
Requires: python39-xml %endif
%endif %endif
%description %description
@ -82,7 +92,11 @@ rm -f youtube-dl yt-dlp
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
PYTHON="%_bindir/python3" \ PYTHON="%_bindir/python3" \
%else %else
%if 0%{?sle_version} > 150300
PYTHON="%_bindir/python3.10" \
%else
PYTHON="%_bindir/python3.9" \ PYTHON="%_bindir/python3.9" \
%endif
%endif %endif
%make_build yt-dlp %make_build yt-dlp