From 00a849c786d1c63bf06279d2eeb19fcbb59fa188 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Mon, 9 Dec 2019 15:10:39 +0100 Subject: [PATCH] Use ascii-armored keyring This makes it possible to use `fedpkg new-sources` again. --- ...910D93CA83D77348595C0E899014C0463C12BB.asc | 50 +++++++++++++++++++ nmstate.spec | 5 +- sources | 1 - 3 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 gpgkey-F7910D93CA83D77348595C0E899014C0463C12BB.asc diff --git a/gpgkey-F7910D93CA83D77348595C0E899014C0463C12BB.asc b/gpgkey-F7910D93CA83D77348595C0E899014C0463C12BB.asc new file mode 100644 index 0000000..5c599f3 --- /dev/null +++ b/gpgkey-F7910D93CA83D77348595C0E899014C0463C12BB.asc @@ -0,0 +1,50 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFvAY4kBEADxj6yl2aP0+fuXzpxkAgIYcQzrqZKeYPxlEXB0KGW6RlJK+ASj +YEB3PliRpJ9e1MfmS4Hhdn+FOtd+4AYrJegDWoPgSXWvLzVFd7egE13oQfInFxCj +1tbYePL6vy2VHMY4HJSTHLqPFNo6M2A3b36x5YWzWwoh92G+vtzVtkSNR1cflx/Y +XUojU3LdFNf05xwtx/SQ52yOz+8cBQb36ht8E2Df8TmQFun2m6n6G/lWbnAd5STx +Qrv5p0wvNGn7VQZiedvnAjN/W2Y18vrZFMpHyG1qUgb2aOvYRBNgZ1rNwisfpBYF +8P3MGmzFtwRScKvrDzj0iHWXtGXP/sn/rjiOkPeBpEqZddpU3reA5KLd5oneie4l +Jr/SrFBiXxm5G8swXI8D/mzW64XiQ4o5rAnPqRyK4C6lL0n7u+0xOBCIoD/lI+Yr +HqGS8UIb/cJadBEEcTPl6Mt05fELeeb0kO+x4YJj9N3mWV9JtGoDOtyyUvoWa34v +U5aBp6qsqmYAfcu0kLFEW+JxTleLEwfpO3TSvnOnzQegeIhubRUJoA7z57OyI98T +Gs8hmkz5J3hQcbnlVdsEXzOmEub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pZLG0suNSY6yTZVK3IKL/HYbqmaJE9MsNFKYe/IYAHckg +2D34PgooJyhAz8q2znrCvJnJCJey07z5PXhPJW3Y5Iw64ve9vqWIbBaSYEkdFSXq +nJwyEa8SpCiunNstyRWdSpCIsh7KpJNYHs8J2TPsyiesAadM2i6U5utku/C5pLdP +QT/QPKULLytWY7ek4stF7TIIIMlCO/uXbfZDilTyFbbJ7L9yjsdMNEItS1/aR97W +=yD6X +-----END PGP PUBLIC KEY BLOCK----- diff --git a/nmstate.spec b/nmstate.spec index 2ebc41a..b0b06c1 100644 --- a/nmstate.spec +++ b/nmstate.spec @@ -10,7 +10,7 @@ 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: gpgkey-F7910D93CA83D77348595C0E899014C0463C12BB.gpg +Source2: gpgkey-F7910D93CA83D77348595C0E899014C0463C12BB.asc BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -42,7 +42,8 @@ Suggests: NetworkManager-ovs This package contains the Python 3 library for Nmstate. %prep -gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} +gpg2 --import --import-options import-export,import-minimal %{SOURCE2} > ./gpgkey-F7910D93CA83D77348595C0E899014C0463C12BB.gpg +gpgv2 --keyring ./gpgkey-F7910D93CA83D77348595C0E899014C0463C12BB.gpg %{SOURCE1} %{SOURCE0} %setup -q sed -i -e '/^dbus-python$/d' requirements.txt diff --git a/sources b/sources index 17bbc24..ccb7d64 100644 --- a/sources +++ b/sources @@ -1,3 +1,2 @@ SHA512 (nmstate-0.2.0.tar.gz) = 9294b3754e340a4d70f0f219996589785f38b0a4804d7d07aa07715ab7356ce1ae36c2ddbb34f45b4c1251d87098fa853cc8201a3bdf2d87ba782001dea837f2 SHA512 (nmstate-0.2.0.tar.gz.asc) = 4cf6cfc3b8ec911728c70e2c5a60c2e9904f92123667baf6244f882e5f16c0ff9532c5235af4bc883ec741c71dbec4f5352e719884f2cdd42a78b50ffd57bfd6 -SHA512 (gpgkey-F7910D93CA83D77348595C0E899014C0463C12BB.gpg) = 0b416e3c465ff679f701cb1f4d264d8341f1c778ca1403a39b83df959cad5c4faf23f6cbb1772b2547cbbdb267cb9d1a34794cc1710950f0d847b5f5c67361bf