From ea22cbd7f127f849136355c5c60d28f58177f472 Mon Sep 17 00:00:00 2001 From: tuibuilder_pel7ppc64bebuilder0 Date: Mon, 29 Oct 2018 15:22:17 +0100 Subject: [PATCH] youtube-dl update upstream Signed-off-by: tuibuilder_pel7ppc64bebuilder0 --- SPECS/youtube-dl.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SPECS/youtube-dl.spec b/SPECS/youtube-dl.spec index f537a61..107af8a 100644 --- a/SPECS/youtube-dl.spec +++ b/SPECS/youtube-dl.spec @@ -12,7 +12,7 @@ %endif Name: youtube-dl -Version: 2018.10.05 +Version: 2018.10.29 Release: 1%{?dist} Summary: A small command-line program to download online videos License: Unlicense @@ -60,17 +60,17 @@ find youtube_dl -type f -exec sed -i -e '1{/^\#!\/usr\/bin\/env python$/d;};' {} %build %if %{with python3} -%py3_build +%{__python3} setup.py build %else -%py2_build +%{__python} setup.py build %endif %install %if %{with python3} -%py3_install +%{__python3} setup.py install --optimize 2 --root %{buildroot} %else -%py2_install +%{__python} setup.py install --optimize 2 --root %{buildroot} %endif mkdir -p %{buildroot}%{_sysconfdir}