upd: 2023.03.04 -> 2023.07.06

This commit is contained in:
Mikhail Novosyolov 2023-07-08 00:52:52 +03:00
parent 63c52b389e
commit b2e163f209
2 changed files with 5 additions and 7 deletions

View file

@ -1,2 +1,2 @@
sources: sources:
yt-dlp-2023.03.04.tar.gz: 39fd9ba13603626457dec9c69bb031050866d96b yt-dlp-2023.07.06.tar.gz: a89e72ecac5fbce1bf4384b794fe02379e3811c0

View file

@ -3,8 +3,8 @@
Summary: Small command-line program to download videos and audio from different websites Summary: Small command-line program to download videos and audio from different websites
Name: yt-dlp Name: yt-dlp
Version: 2023.03.04 Version: 2023.07.06
Release: 3 Release: 1
License: Public Domain and GPLv2+ License: Public Domain and GPLv2+
Group: Video Group: Video
Url: https://github.com/yt-dlp/yt-dlp Url: https://github.com/yt-dlp/yt-dlp
@ -62,7 +62,7 @@ This package contains the Python 3 bindings for %{name} (fork of youtube-dl)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
%prep %prep
%autosetup -p1 %autosetup -p1 -n %{name}
%build %build
# include completions # include completions
@ -76,9 +76,7 @@ make completion-bash completion-zsh completion-fish
sed -i -e 's,#!/usr/bin/env python,#!%{__python3},' %{buildroot}%{_bindir}/%{name} sed -i -e 's,#!/usr/bin/env python,#!%{__python3},' %{buildroot}%{_bindir}/%{name}
# installed as %%doc into standard location # installed as %%doc into standard location
# unlink %{buildroot}%{_datadir}/doc/yt_dlp/README.* rm -fvr %{buildroot}%{_datadir}/doc
rmdir %{buildroot}%{_datadir}/doc/yt_dlp
rmdir %{buildroot}%{_datadir}/doc
# compat symlink (e.g. mpv can use youtube-dl, but it is not developed anymore) # compat symlink (e.g. mpv can use youtube-dl, but it is not developed anymore)
( cd %{buildroot}%{_bindir} && ln -s %{name} youtube-dl ) ( cd %{buildroot}%{_bindir} && ln -s %{name} youtube-dl )