diff --git a/.gitignore b/.gitignore index 7128ee2..32635fb 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ /youtube-dl-2014.09.06.tar.gz /youtube-dl-2014.09.22.1.tar.gz /youtube-dl-2014.09.22.1.tar.gz.sig +/youtube-dl-2014.11.02.1.tar.gz +/youtube-dl-2014.11.02.1.tar.gz.sig diff --git a/gpgkey-7D33D762FD6C35130481347FDB4B54CBA4826A18.gpg b/gpgkey-7D33D762FD6C35130481347FDB4B54CBA4826A18.gpg new file mode 100644 index 0000000..dc5fdf8 Binary files /dev/null and b/gpgkey-7D33D762FD6C35130481347FDB4B54CBA4826A18.gpg differ diff --git a/sources b/sources index 7ffac07..e6d629d 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -14c03205ad3bf3866398651b9b42b298 youtube-dl-2014.09.22.1.tar.gz -0aacb42d1900a394b935a68e8e5f9b38 youtube-dl-2014.09.22.1.tar.gz.sig +9b6419e64c8d249e8c482893f35e1c8f youtube-dl-2014.11.02.1.tar.gz +af8128c8fd6a844e0f946c786979943f youtube-dl-2014.11.02.1.tar.gz.sig diff --git a/youtube-dl.spec b/youtube-dl.spec index 010798e..a01ad2f 100644 --- a/youtube-dl.spec +++ b/youtube-dl.spec @@ -1,23 +1,26 @@ Name: youtube-dl -Version: 2014.09.22.1 +Version: 2014.11.02.1 Release: 1%{?dist} Summary: A small command-line program to download online videos License: Public Domain URL: https://yt-dl.org Source0: https://yt-dl.org/downloads/%{version}/%{name}-%{version}.tar.gz -Source1: %{name}.conf -Source2: https://yt-dl.org/downloads/%{version}/youtube-dl-%{version}.tar.gz.sig -# 2014-09-07: Signature made by 7D33 D762 FD6C 3513 0481 347F DB4B 54CB A482 6A18 +Source1: https://yt-dl.org/downloads/%{version}/youtube-dl-%{version}.tar.gz.sig +Source2: gpgkey-7D33D762FD6C35130481347FDB4B54CBA4826A18.gpg +Source3: %{name}.conf BuildRequires: python2 # Tests failed because of no connection in Koji. # BuildRequires: python-nose Requires: python BuildArch: noarch +# For source verification with gpgv +BuildRequires: gpg %description Small command-line program to download videos from YouTube and other sites. %prep +gpgv --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} %setup -qn %{name} %build @@ -28,7 +31,7 @@ make %{?_smp_mflags} MANDIR=%{_mandir} \ PYTHON=%{__python2} mkdir -p %{buildroot}%{_sysconfdir} -install -pm644 %{S:1} %{buildroot}%{_sysconfdir} +install -pm644 %{S:3} %{buildroot}%{_sysconfdir} %check #make test @@ -40,8 +43,14 @@ install -pm644 %{S:1} %{buildroot}%{_sysconfdir} %config(noreplace) %{_sysconfdir}/%{name}.conf %{_sysconfdir}/bash_completion.d/%{name} %exclude %{_sysconfdir}/fish/completions/youtube-dl.fish +%{_datadir}/zsh/site-functions/_youtube-dl %changelog +* Mon Nov 03 2014 Till Maas - 2014.11.02.1-1 +- Update to latest release +- Add zsh completion file +- Add GPG key verification + * Tue Sep 23 2014 Till Maas - 2014.09.22.1-1 - Update to latest release - Exclude fish completion script