Fix signature verification
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
This commit is contained in:
parent
434b6b751b
commit
dfd9905364
10
nmstate.spec
10
nmstate.spec
@ -4,12 +4,13 @@
|
||||
|
||||
Name: nmstate
|
||||
Version: 0.3.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Declarative network manager API
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/%{srcname}/%{srcname}
|
||||
Source0: %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz
|
||||
Source1: %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz.asc
|
||||
Source2: https://www.nmstate.io/nmstate.gpg
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
@ -42,8 +43,8 @@ Suggests: NetworkManager-team
|
||||
This package contains the Python 3 library for Nmstate.
|
||||
|
||||
%prep
|
||||
curl --silent https://www.nmstate.io/nmstate.gpg | gpg2 --import
|
||||
gpg2 --verify %{SOURCE1} %{SOURCE0}
|
||||
gpg2 --import --import-options import-export,import-minimal %{SOURCE2} > ./gpgkey-mantainers.gpg
|
||||
gpgv2 --keyring ./gpgkey-mantainers.gpg %{SOURCE1} %{SOURCE0}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
@ -65,6 +66,9 @@ gpg2 --verify %{SOURCE1} %{SOURCE0}
|
||||
%{python3_sitelib}/%{srcname}-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Fri May 08 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.0-3
|
||||
- Fix signature verification
|
||||
|
||||
* Fri May 08 2020 Fernando Fernandez Mancera <ferferna@redhat.com> - 0.3.0-2
|
||||
- Update signature verification
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user