1
0

- 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
This commit is contained in:
Ruediger Oertel 2013-09-20 13:24:41 +00:00 committed by Git OBS Bridge
parent 660d951277
commit 5f8c0d355d
2 changed files with 12 additions and 0 deletions

View File

@ -11,6 +11,11 @@ Mon Jan 14 01:55:36 CET 2013 - ro@suse.de
50A3DD1C SuSE Package Signing Key (reserve key) <build@suse.de> 50A3DD1C SuSE Package Signing Key (reserve key) <build@suse.de>
valid until (2017-01-13) 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 Mon Dec 12 12:02:49 CET 2011 - ro@suse.de

View File

@ -57,6 +57,12 @@ rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm/gnupg mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm/gnupg
install %{SOURCE0} $RPM_BUILD_ROOT/%{susering} install %{SOURCE0} $RPM_BUILD_ROOT/%{susering}
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/rpm/gnupg 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}
touch $RPM_BUILD_ROOT/%{pubring}~ touch $RPM_BUILD_ROOT/%{pubring}~
@ -64,6 +70,7 @@ touch $RPM_BUILD_ROOT/%{pubring}~
%defattr(644,root,root) %defattr(644,root,root)
%attr(755,root,root) %dir /usr/lib/rpm/gnupg %attr(755,root,root) %dir /usr/lib/rpm/gnupg
%attr(755,root,root) /usr/lib/rpm/gnupg/dumpsigs %attr(755,root,root) /usr/lib/rpm/gnupg/dumpsigs
/usr/lib/rpm/gnupg/keys
%config /%{susering} %config /%{susering}
%ghost /%{pubring} %ghost /%{pubring}
%ghost /%{pubring}~ %ghost /%{pubring}~