Browse Source

youtube-dl update upstream

Signed-off-by: tuibuilder_pel7ppc64bebuilder0 <tuibuilder@powerel.org>
master
tuibuilder_pel7ppc64bebuilder0 6 years ago
parent
commit
ea22cbd7f1
  1. 10
      SPECS/youtube-dl.spec

10
SPECS/youtube-dl.spec

@ -12,7 +12,7 @@ @@ -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;};' {} @@ -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}

Loading…
Cancel
Save