diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo index fcc70ff..dfb68ec 100644 --- a/_scmsync.obsinfo +++ b/_scmsync.obsinfo @@ -1,4 +1,4 @@ -mtime: 1722527433 -commit: e9e1c5b157a1853f7734104d802559b904d6a8bf689921644024215d3b7003fb +mtime: 1723625768 +commit: 652218aef2a55fa09144916b5b67bc0dff00939dd4ec510984539d6728fd2fc2 url: https://src.opensuse.org/jengelh/yt-dlp revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio index e4bb80a..c71b653 100644 --- a/build.specials.obscpio +++ b/build.specials.obscpio @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:df6b3b467f245223fc63c8dee228d1e5e9b46fd42b71077579c7c964fbf6099d +oid sha256:8f82848fc48c5b5bf84f42e2e8371ae06e4089806105d15a6a38d58c06489389 size 256 diff --git a/yt-dlp.changes b/yt-dlp.changes index 71789cb..3841b20 100644 --- a/yt-dlp.changes +++ b/yt-dlp.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Aug 13 20:43:17 UTC 2024 - Jan Engelhardt + +- 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 + +- Merge sh completion packages into main package +- Add yt-dlp-youtube-dl subpackage + ------------------------------------------------------------------- Thu Aug 1 15:48:06 UTC 2024 - Jan Engelhardt diff --git a/yt-dlp.spec b/yt-dlp.spec index 122caac..fd824bb 100644 --- a/yt-dlp.spec +++ b/yt-dlp.spec @@ -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* diff --git a/yt-dlp.tar.gz b/yt-dlp.tar.gz index eae942e..0d6b3bb 100644 --- a/yt-dlp.tar.gz +++ b/yt-dlp.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9ddf1082359431dadb8cc78c91b04bfd8308a2c2fc2c51573a7936e558dca327 -size 5708569 +oid sha256:e08331fb9a36eba56b4efd074b5b25fbf08413e9cb47009a28ecbffe47150310 +size 5710396