forked from pool/suse-build-key
- 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:
parent
660d951277
commit
5f8c0d355d
@ -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>
|
||||
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
|
||||
|
||||
|
@ -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}~
|
||||
|
Loading…
Reference in New Issue
Block a user