From f503c81da904a66dead7724d852afb69418346f6 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 24 Jul 2019 17:55:44 -0400 Subject: [PATCH] Add GPG source file verification --- .gitignore | 1 + babeltrace.spec | 13 ++++++++++--- ...-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg | Bin 0 -> 2908 bytes sources | 1 + 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg diff --git a/.gitignore b/.gitignore index 1e3e3b3..119a189 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /babeltrace-1.*.tar.bz2 +/babeltrace-1.5.7.tar.bz2.asc diff --git a/babeltrace.spec b/babeltrace.spec index 8efa7ff..eb1fed5 100644 --- a/babeltrace.spec +++ b/babeltrace.spec @@ -1,10 +1,13 @@ Name: babeltrace Version: 1.5.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Trace Viewer and Converter, mainly for the Common Trace Format License: MIT and GPLv2 URL: https://www.efficios.com/babeltrace Source0: https://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2 +Source1: https://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2.asc +# gpg2 --export --export-options export-minimal 7F49314A26E0DE78427680E05F1B2A0789F12B11 > gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg +Source2: gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg BuildRequires: bison >= 2.4 BuildRequires: flex >= 2.5.35 @@ -15,8 +18,8 @@ BuildRequires: python3-devel BuildRequires: swig >= 2.0 BuildRequires: elfutils-devel >= 0.154 BuildRequires: autoconf automake libtool -# For check -BuildRequires: perl-Test-Harness +BuildRequires: gnupg2 + Requires: lib%{name}%{?_isa} = %{version}-%{release} %description @@ -58,6 +61,7 @@ to/from another trace format. %prep +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %setup -q %build @@ -110,6 +114,9 @@ rm -f %{buildroot}/%{_pkgdocdir}/std-ext-lib.txt %changelog +* Wed Jul 24 2019 Michael Jeanson - 1.5.7-2 +- Add GPG source file verification + * Wed Jul 24 2019 Michael Jeanson - 1.5.7-1 - New upstream release diff --git a/gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg b/gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg new file mode 100644 index 0000000000000000000000000000000000000000..d020f1d50fd8c29303ad1594009c7f7a19113cb0 GIT binary patch literal 2908 zcmb8xXE+;*9>;M>6hULPMr>-wh_+%x%u*w2#i~uju4+-LsM;!4QG3s-svUdJL#kRq zZH=0>4o6Ro+k5W4&%Muc-`xB5_xkhvzyD0&RZ7Dh)C_=;qVhznzV(x;JU8>j;%UPj z@f~2MVXLbhrKz+0pkG;IN|N$jgW{1!*6Oiic=RS+v&k#`UeL&7W|_Xj%Y$S{W5m^3 zAFaZUfDF<&yNwd;M?x#zutN#D%%AwffK$9mSwPy#5ZP>7gjxiXmoh3xJ}ap%OWDLF zjx`^rc5kc`o+`mg1NKSQyqyI?5?Iud~_q&>jMw}MT}hItU#}NLtUr~5m@7A&zi*4>(NhR;X=ioiRbs7{>J^SBL7Rv z<3Aovvj;Oz?+TWQZNu)vJSAeLeLaf0Y4g#_q6RIt+OY>egXfoF{D1?iipi}R?(x^? zIyP@h1cvO9ABsCZzJ>Lp&hd}= zZQy<~OtfSUXTN}EWc3~&orh(=v4pq!MA_C}=)#=R*K5@!TDsdWY@^vH&TY|w86VPE z=Kzfgg8kQiGXt4Ym#$J8?i#b`W7Am!2L+vZej`+CWJoZk|$354=#ZKr>1f0FXiz$O)pR1Jh80fB>rNG(a#d9VIIe z1OV~?fNWu`{FI?Oa9!c$#V6|iVas-$;?%JR5=>Ws*4nNVSHKM1NjE5H!Hoafs}&f| zX!(wCC~~c*@VU6%&RhS$MF}Sr0AN8GW$82t4#J?4%QPEh~`BsxW$nN=JL|U{24yY;5#* zK6|4NE!m`_-A#of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FKXkklHV79mYJYbj^}!vZAqf}$B8ek zR$R;2^BvL|WOF-73(VKvjpi29z?3Z`1BS{c8L8C01;=mAP)dRH2D8Lt)bG!J literal 0 HcmV?d00001 diff --git a/sources b/sources index 40db9ba..def08b6 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ +SHA512 (babeltrace-1.5.7.tar.bz2.asc) = dbe1ff19cda21a29d65c1b7af2f978de60b93d45884c5a290a2ef373e7aba044851aa943312088db89e4bab0a75b2201844aef619f57a593e761fbebbdcf62d3 SHA512 (babeltrace-1.5.7.tar.bz2) = 1cab84b63fd0935574cca8d4c70302a917776e83e738e73aa3ce4070c6d3279556ab665285c932d1b2159115a58cade7cfa9b0416b4a2807e1ce11bb9c7ea8cb