From e4f0ba7dc35622fe9ab51fad0e170e91bb9c9c34 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Mon, 7 Jun 2021 18:32:46 +0300 Subject: [PATCH] 2021.06.06, clean up --- .abf.yml | 2 +- youtube-dl.spec | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.abf.yml b/.abf.yml index 3075e9b..a6a59a9 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,2 @@ sources: - youtube-dl-2021.03.03.tar.gz: 5c8658ac94f4891db8cf471c7b755f2e8bd5a456 + youtube-dl-2021.06.06.tar.gz: 5072af7496d93cb05c05c6dae4964a75024cf0e4 diff --git a/youtube-dl.spec b/youtube-dl.spec index bca2480..320d284 100644 --- a/youtube-dl.spec +++ b/youtube-dl.spec @@ -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