SHA256
1
0
forked from pool/yt-dlp

yt-dlp 2024.09.27

This commit is contained in:
Jan Engelhardt 2024-09-29 21:27:29 +02:00
parent 652218aef2
commit 772bea0c3a
4 changed files with 22 additions and 4 deletions

1
yt-dlp-rpmlintrc Normal file
View File

@ -0,0 +1 @@
addFilter("files-duplicate")

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Sep 29 19:34:07 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.09.27
* Support excluding player_clients in extractor-arg
* clip: Prioritize https formats
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 13 20:43:17 UTC 2024 - Jan Engelhardt <jengelh@inai.de> Tue Aug 13 20:43:17 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -21,13 +21,14 @@
%define skip_python37 1 %define skip_python37 1
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: yt-dlp Name: yt-dlp
Version: 2024.08.06 Version: 2024.09.27
Release: 0 Release: 0
Summary: Enhanced fork of youtube-dl, a video site downloader for offline watching Summary: Enhanced fork of youtube-dl, a video site downloader for offline watching
License: CC-BY-SA-3.0 AND SUSE-Public-Domain License: CC-BY-SA-3.0 AND SUSE-Public-Domain
Group: Productivity/Networking/Web/Utilities Group: Productivity/Networking/Web/Utilities
URL: https://github.com/yt-dlp/yt-dlp URL: https://github.com/yt-dlp/yt-dlp
Source: https://github.com/yt-dlp/yt-dlp/releases/download/%version/yt-dlp.tar.gz Source: https://github.com/yt-dlp/yt-dlp/releases/download/%version/yt-dlp.tar.gz
Source9: yt-dlp-rpmlintrc
BuildRequires: %{python_module hatchling} BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: fdupes BuildRequires: fdupes
@ -88,8 +89,17 @@ rm -f youtube-dl yt-dlp
b="%buildroot" b="%buildroot"
%pyproject_install %pyproject_install
ln -s yt-dlp "$b/%_bindir/youtube-dl" ln -s yt-dlp "$b/%_bindir/youtube-dl"
%fdupes %buildroot/usr
rm -Rf "$b/%_datadir/doc" rm -Rf "$b/%_datadir/doc"
# if you leave everything as-is, rpmlint complains about
# python312-yt-dlp.noarch: W: files-duplicate
# /usr/lib/python3.12/site-packages/yt_dlp/utils/__pycache__/progress.cpython-312.pyc
# /usr/lib/python3.12/site-packages/yt_dlp/utils/__pycache__/progress.cpython-312.opt-1.pyc
# if you add fdupes, rpmlint complains about
# python312-yt-dlp.noarch: E: python-bytecode-inconsistent-mtime
# /usr/lib/python3.12/site-packages/yt_dlp/extractor/__pycache__/screencastomatic.cpython-312.pyc
# 2024-09-29T18:11:02
# /usr/lib/python3.12/site-packages/yt_dlp/extractor/screencastomatic.py
# 2024-09-29T18:11:01
%files -n yt-dlp %files -n yt-dlp
%license LICENSE %license LICENSE

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

Binary file not shown.