spec: use %{gpgverify} to verify the sources
This commit is contained in:
parent
6eaf1ed146
commit
bca018dbb9
51
bensberg.pgp
Normal file
51
bensberg.pgp
Normal file
@ -0,0 +1,51 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBFpIq0sBEACnE8sA9tDg2oxTqBdAHiPoXKF/dYrwQYunov9ex2fvjy0iAdvt
|
||||
CGkonr9gMQp1baD9Mo4KziCbGLTDvSciCwUY4s60aIytxsd3csK2YS5Irq9yFzef
|
||||
htgedDta0SFTEw/UpZ1RbJnXayrSrPCsHNJn64cg+eQKW7L6EYjgvxZERzfKgjbv
|
||||
kVYPuJ1HY5Ij20nHRYT+uxOsp1DJudWxUH0Py+rS5FG06fB0cuQM1Z25gN0O1E5F
|
||||
6aU5GWfoAHyuCu+pKQqVAcFgvYFrliXQRn/gv0RgdynwQCIDe1hMmy0L776EYVla
|
||||
K4MEmgC75SA6zVpGPnfwWSJzxNavAr4/5qpsmMcEGxO17l0MKSXU5M7dsC1KLeUd
|
||||
W/LmD/cVR0xJibQVriYSw5ialKCOCtrPQo6+JhOgEwRU/b1sFSb2sIYz+Rf8dnCt
|
||||
wugeESJ3CRHhfpj5kmcmfogWkzOh7IlHG6b9rJhizVsvbYbaoxu8detyvff9u3JK
|
||||
LDDiFEUIkpsApAUQ59d8MfqatLbt4VoE+IL+MrlVGQ4a28Va0QO2OJCi9HzY7Ujb
|
||||
lWjhEtdR9zfE6NTJDDrhnpJxA5IhQCpgzKXssyn53sLAcozTVqZ7N048sX1w8wa2
|
||||
LqNUeN7MpLMbdpi4/OCIpFFMM+dJ10p4Y6dz42qzcRE2A3W+t8IkF4oskQARAQAB
|
||||
tCdCZW5ubyBTY2h1bGVuYmVyZyA8YmVuc2JlcmdAdGVsZm9ydC5ubD6JAj0EEwEI
|
||||
ACcFAlpIq0sCGyMFCQlmAYAFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AACgkQDSjU
|
||||
0qCs6IS3MQ//eSw0U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UzeD365Nx5qaKVTwqWgmQ
|
||||
g3QWkGdknaYMg7f+ca3fnyekRJwxpZtWmUMZ2ueMTCi1KaLAYA2pg7Yyz5jo6jo9
|
||||
I6FdNHf0/M8lFzQLx4xbNBasbdVX67sAevLkmqcv8H+gSP1Lv7xLE9Wy1asZfBKf
|
||||
WVynD/YeN/rgZpx3Jh1ccMw=
|
||||
=cs04
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
15
nano.spec
15
nano.spec
@ -11,8 +11,15 @@ Version: 6.3
|
||||
Release: 2%{?dist}
|
||||
License: GPLv3+
|
||||
URL: https://www.nano-editor.org
|
||||
Source: https://www.nano-editor.org/dist/latest/%{name}-%{version}.tar.xz
|
||||
Source2: nanorc
|
||||
|
||||
Source0: https://www.nano-editor.org/dist/latest/%{name}-%{version}.tar.xz
|
||||
Source1: https://www.nano-editor.org/dist/latest/%{name}-%{version}.tar.xz.asc
|
||||
# gpg --keyserver pgp.mit.edu --recv-key BFD009061E535052AD0DF2150D28D4D2A0ACE884
|
||||
# gpg --output bensberg.pgp --armor --export bensberg@telfort.nl
|
||||
Source2: bensberg.pgp
|
||||
|
||||
# Additional sources
|
||||
Source3: nanorc
|
||||
|
||||
# Shell snippets for default-editor setup
|
||||
Source11: nano-default-editor.sh
|
||||
@ -23,6 +30,7 @@ BuildRequires: file-devel
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: git
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: groff
|
||||
BuildRequires: make
|
||||
BuildRequires: ncurses-devel
|
||||
@ -59,6 +67,7 @@ who don't have nano as a default editor during upgrade.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
%autosetup -S git
|
||||
|
||||
%build
|
||||
@ -73,7 +82,7 @@ cd build
|
||||
# - enable syntax highlighting by default (#1270712)
|
||||
sed -e 's/^#.*set speller.*$/set speller "hunspell"/' \
|
||||
-e 's|^# \(include "/usr/share/nano/\*.nanorc"\)|\1|' \
|
||||
%{SOURCE2} doc/sample.nanorc > ./nanorc
|
||||
%{SOURCE3} doc/sample.nanorc > ./nanorc
|
||||
|
||||
%install
|
||||
cd build
|
||||
|
Loading…
Reference in New Issue
Block a user