|
|
|
@ -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} |
|
|
|
|