From 5f8c0d355dfc82bd6761f3fc87c2768d24d0358f4b07db1ca60b4bb794c68f62 Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Fri, 20 Sep 2013 13:24:41 +0000 Subject: [PATCH] - export keys to single files in /usr/lib/rpm/gnupg/keys OBS-URL: https://build.opensuse.org/package/show/Base:System/suse-build-key?expand=0&rev=7 --- suse-build-key.changes | 5 +++++ suse-build-key.spec | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/suse-build-key.changes b/suse-build-key.changes index d10fcc9..b38c86d 100644 --- a/suse-build-key.changes +++ b/suse-build-key.changes @@ -11,6 +11,11 @@ Mon Jan 14 01:55:36 CET 2013 - ro@suse.de 50A3DD1C SuSE Package Signing Key (reserve key) valid until (2017-01-13) +------------------------------------------------------------------- +Sun Oct 21 23:03:01 CEST 2012 - ro@suse.de + +- export keys to single files in /usr/lib/rpm/gnupg/keys + ------------------------------------------------------------------- Mon Dec 12 12:02:49 CET 2011 - ro@suse.de diff --git a/suse-build-key.spec b/suse-build-key.spec index b892fba..db81a69 100644 --- a/suse-build-key.spec +++ b/suse-build-key.spec @@ -57,6 +57,12 @@ rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm/gnupg install %{SOURCE0} $RPM_BUILD_ROOT/%{susering} install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/rpm/gnupg +mkdir keys +cd keys +$RPM_BUILD_ROOT/usr/lib/rpm/gnupg/dumpsigs $RPM_BUILD_ROOT/%{susering} +cd .. +cp -a keys $RPM_BUILD_ROOT/usr/lib/rpm/gnupg + touch $RPM_BUILD_ROOT/%{pubring} touch $RPM_BUILD_ROOT/%{pubring}~ @@ -64,6 +70,7 @@ touch $RPM_BUILD_ROOT/%{pubring}~ %defattr(644,root,root) %attr(755,root,root) %dir /usr/lib/rpm/gnupg %attr(755,root,root) /usr/lib/rpm/gnupg/dumpsigs +/usr/lib/rpm/gnupg/keys %config /%{susering} %ghost /%{pubring} %ghost /%{pubring}~