From 921670ea3f3e47b921b86464341185a942dbf48fa2b22bd92545003a87875cf0 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 20 Mar 2007 23:36:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-build-key?expand=0&rev=2 --- suse-build-key.changes | 5 +++++ suse-build-key.spec | 28 +++++++++++++++++++++------- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/suse-build-key.changes b/suse-build-key.changes index 4757ec9..1a04c0a 100644 --- a/suse-build-key.changes +++ b/suse-build-key.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 19 16:49:05 CET 2007 - rguenther@suse.de + +- merge suse-build-key keyring to roots gpg pubring + ------------------------------------------------------------------- Mon May 29 17:20:45 CEST 2006 - ro@suse.de diff --git a/suse-build-key.spec b/suse-build-key.spec index 9a7ab02..673d784 100644 --- a/suse-build-key.spec +++ b/suse-build-key.spec @@ -1,7 +1,7 @@ # # spec file for package suse-build-key (Version 1.0) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -12,14 +12,14 @@ Name: suse-build-key BuildRequires: gpg -License: GPL, Other License(s), see package +License: GNU General Public License (GPL) Group: System/Packages Provides: build-key Requires: gpg Autoreqprov: off Summary: The public gpg key for rpm package signature verification Version: 1.0 -Release: 686 +Release: 717 Source0: suse-build-key.gpg Source1: dumpsigs BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -99,8 +99,22 @@ else echo "in the root directory of the first CD (DVD) of your SuSE product." exit -1 fi +### import suse package build key to roots gpg keyring +if test -f root/.gnupg/pubring.gpg ; then + chroot . usr/bin/gpg --export --armor --no-default-keyring \ + --keyring %{susering} build@suse.de \ + | chroot . usr/bin/gpg --import || true + if ! chroot . usr/bin/gpg --list-keys build@suse.de >/dev/null 2>&1 ; then + echo "gpg import for build@suse.de failed, please import manually" >&2 + fi +else + cp %{susering} root/.gnupg/pubring.gpg +fi +chmod 600 root/.gnupg/pubring.gpg -%changelog -n suse-build-key +%changelog +* Mon Mar 19 2007 - rguenther@suse.de +- merge suse-build-key keyring to roots gpg pubring * Mon May 29 2006 - ro@suse.de - added new official provo dsa autobuild key ID 7E2E3B05 * Fri May 19 2006 - ro@suse.de @@ -150,6 +164,6 @@ fi in that directory * Wed Feb 13 2002 - draht@suse.de - initial package. Contains -- pub 2048R/3D25D3D9 1999-03-06 SuSE Security Team -- pub 1024D/9C800ACA 2000-10-19 SuSE Package Signing Key -- sub 2048g/8495160C 2000-10-19 [expires: 2006-02-12] + - pub 2048R/3D25D3D9 1999-03-06 SuSE Security Team + - pub 1024D/9C800ACA 2000-10-19 SuSE Package Signing Key + - sub 2048g/8495160C 2000-10-19 [expires: 2006-02-12]