mirror of
https://abf.rosa.ru/djam/yt-dlp.git
synced 2025-02-23 07:12:55 +00:00
2021.06.06, clean up
This commit is contained in:
parent
00ee79baf4
commit
e4f0ba7dc3
2 changed files with 7 additions and 5 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
youtube-dl-2021.03.03.tar.gz: 5c8658ac94f4891db8cf471c7b755f2e8bd5a456
|
||||
youtube-dl-2021.06.06.tar.gz: 5072af7496d93cb05c05c6dae4964a75024cf0e4
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Summary: Small command-line program to download videos from YouTube
|
||||
Name: youtube-dl
|
||||
Version: 2021.03.03
|
||||
Version: 2021.06.06
|
||||
Release: 1
|
||||
License: Public Domain and GPLv2+
|
||||
Group: Video
|
||||
|
@ -23,7 +23,8 @@ Recommends: ffmpeg
|
|||
Small command-line program to download videos from YouTube and similar sites.
|
||||
|
||||
%files
|
||||
%doc LICENSE README.txt
|
||||
%license LICENSE
|
||||
%doc README.txt
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/zsh/site-functions/_%{name}
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
@ -41,7 +42,8 @@ BuildArch: noarch
|
|||
This package contains the Python 3 bindings for %{name}.
|
||||
|
||||
%files -n python3-%{name}
|
||||
%doc LICENSE README.txt
|
||||
%license LICENSE
|
||||
%doc README.txt
|
||||
%{py3_puresitedir}/%{pypi_name}
|
||||
%{py3_puresitedir}/%{pypi_name}-*-py%{py3_ver}.egg-info
|
||||
|
||||
|
@ -63,7 +65,7 @@ rm youtube-dl
|
|||
MANDIR=%{_mandir}
|
||||
|
||||
# force the youtube-dl binary to use python 3 environment by default
|
||||
sed -i -e 's,#!/usr/bin/env python,#!/usr/bin/env python3,' %{buildroot}%{_bindir}/%{name}
|
||||
sed -i -e 's,#!/usr/bin/env python,#!%{__python3},' %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
rm -rf %{buildroot}%{_prefix}/etc
|
||||
rm -f %{buildroot}%{_datadir}/doc/youtube_dl/README.txt
|
||||
|
|
Loading…
Add table
Reference in a new issue