Accepting request 1193851 from network:utilities

- Update to release 2024.08.06

OBS-URL: https://build.opensuse.org/request/show/1193851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=45
This commit is contained in:
Dominique Leuenberger 2024-08-15 07:57:42 +00:00 committed by Git OBS Bridge
commit 1397f7f8fa
5 changed files with 35 additions and 37 deletions

View File

@ -1,4 +1,4 @@
mtime: 1722527433
commit: e9e1c5b157a1853f7734104d802559b904d6a8bf689921644024215d3b7003fb
mtime: 1723625768
commit: 652218aef2a55fa09144916b5b67bc0dff00939dd4ec510984539d6728fd2fc2
url: https://src.opensuse.org/jengelh/yt-dlp
revision: master

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df6b3b467f245223fc63c8dee228d1e5e9b46fd42b71077579c7c964fbf6099d
oid sha256:8f82848fc48c5b5bf84f42e2e8371ae06e4089806105d15a6a38d58c06489389
size 256

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Aug 13 20:43:17 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.08.06
* youtube: Fix `n` function name extraction for player `b12cc44b`
-------------------------------------------------------------------
Tue Aug 13 18:34:37 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Merge sh completion packages into main package
- Add yt-dlp-youtube-dl subpackage
-------------------------------------------------------------------
Thu Aug 1 15:48:06 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -21,7 +21,7 @@
%define skip_python37 1
%{?sle15_python_module_pythons}
Name: yt-dlp
Version: 2024.08.01
Version: 2024.08.06
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
@ -35,6 +35,12 @@ BuildRequires: make >= 4
BuildRequires: python-rpm-macros
BuildRequires: zip
BuildArch: noarch
Obsoletes: yt-dlp-bash-completion < %version-%release
Provides: yt-dlp-bash-completion = %version-%release
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
# %%primary_python not available in Leap yet
Requires: %(echo %{python_module yt-dlp} | perl -pe 's{.* }{}g')
%define python_subpackage_only 1
@ -44,32 +50,14 @@ Requires: %(echo %{python_module yt-dlp} | perl -pe 's{.* }{}g')
yt-dlp is a command-line program to retrieve videos from
YouTube.com and other video sites for later watching.
%package -n yt-dlp-bash-completion
Summary: Bash completion for yt-dlp
Group: System/Shells
Requires: bash-completion
Supplements: (yt-dlp and bash-completion)
%package -n yt-dlp-youtube-dl
Summary: Compat symlinks for youtube-dl
Requires: yt-dlp
Provides: youtube-dl
Conflicts: youtube-dl
%description -n yt-dlp-bash-completion
Bash command line completion support for yt-dlp.
%package -n yt-dlp-fish-completion
Summary: Fish completion for yt-dlp
Group: System/Shells
Requires: fish
Supplements: (yt-dlp and fish)
%description -n yt-dlp-fish-completion
Fish command line completion support for yt-dlp.
%package -n yt-dlp-zsh-completion
Summary: Zsh Completion for yt-dlp
Group: System/Shells
Requires: zsh
Supplements: (yt-dlp and zsh)
%description -n yt-dlp-zsh-completion
ZSH command line completion support for yt-dlp.
%description -n yt-dlp-youtube-dl
This package installs "youtube-dl" as a symlink to yt-dlp.
%package -n python-yt-dlp
Summary: yt-dlp Python library
@ -99,6 +87,7 @@ rm -f youtube-dl yt-dlp
%install
b="%buildroot"
%pyproject_install
ln -s yt-dlp "$b/%_bindir/youtube-dl"
%fdupes %buildroot/usr
rm -Rf "$b/%_datadir/doc"
@ -107,16 +96,13 @@ rm -Rf "$b/%_datadir/doc"
%doc README.md
%_bindir/%name
%_mandir/man1/%name.1%ext_man
%files -n yt-dlp-bash-completion
%_datadir/bash-completion/
%files -n yt-dlp-fish-completion
%_datadir/fish/
%files -n yt-dlp-zsh-completion
%_datadir/zsh/
%files -n yt-dlp-youtube-dl
%_bindir/youtube-dl
%files %{python_files yt-dlp}
%python_sitelib/y*

BIN
yt-dlp.tar.gz (Stored with Git LFS)

Binary file not shown.