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}~