From f45e78a62abb395215babf23b21f3749692b4658 Mon Sep 17 00:00:00 2001 From: Eli Young Date: Nov 28 2019 00:28:06 +0000 Subject: Somewhat clean up spec file --- diff --git a/.gitignore b/.gitignore index a2ad583..07a9776 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ /acme-0.37.2.tar.gz /acme-0.38.0.tar.gz /acme-0.39.0.tar.gz +/acme-0.39.0.tar.gz.asc diff --git a/python-acme.spec b/python-acme.spec index 703aaf4..704d9e3 100644 --- a/python-acme.spec +++ b/python-acme.spec @@ -20,11 +20,12 @@ Release: 2%{?dist} Summary: Python library for the ACME protocol License: ASL 2.0 URL: https://pypi.python.org/pypi/acme -Source0: %pypi_source +Source0: %{pypi_source} Source1: %{pypi_source}.asc -# key mentioned in docs https://certbot.eff.org/docs/install.html#certbot-auto -# gpg2 --keyserver pool.sks-keyservers.net --recv-key A2CFB51FA275A7286234E7B24D17C995CD9775F2 -# gpg2 --export --export-options export-minimal A2CFB51FA275A7286234E7B24D17C995CD9775F2 > gpg-A2CFB51FA275A7286234E7B24D17C995CD9775F2.gpg +# Key mentioned in https://certbot.eff.org/docs/install.html#certbot-auto +# Keyring generation steps as follows: +# gpg2 --keyserver pool.sks-keyservers.net --recv-key A2CFB51FA275A7286234E7B24D17C995CD9775F2 +# gpg2 --export --export-options export-minimal A2CFB51FA275A7286234E7B24D17C995CD9775F2 > gpg-A2CFB51FA275A7286234E7B24D17C995CD9775F2.gpg Source2: gpg-A2CFB51FA275A7286234E7B24D17C995CD9775F2.gpg # When running tests argparse is not recognised as provided by core @@ -33,7 +34,6 @@ Source2: gpg-A2CFB51FA275A7286234E7B24D17C995CD9775F2.gpg Patch0: epel7-setup.patch %endif -BuildRequires: gnupg2 %if %{with python2} BuildRequires: python2-devel BuildRequires: python2-sphinx @@ -91,6 +91,9 @@ BuildRequires: python3-pytest BuildRequires: python3-pytz %endif +# Used to verify OpenPGP signature +BuildRequires: gnupg2 + BuildArch: noarch %description @@ -239,7 +242,7 @@ ln -sf /usr/share/fonts/fontawesome/fontawesome-webfont.woff docs/_build/html/_s %changelog * Thu Nov 21 2019 Felix Schwarz 0.39.0-2 -- use GPG source file verification +- Verify source OpenPGP signature * Tue Oct 01 2019 Eli Young - 0.39.0-1 - Update to 0.39.0 (#1757606)