forked from pool/suse-build-key
Accepting request 138962 from Base:System
- export keys to single files in /usr/lib/rpm/gnupg/keys (forwarded request 138949 from oertel) OBS-URL: https://build.opensuse.org/request/show/138962 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suse-build-key?expand=0&rev=27
This commit is contained in:
parent
9bbc384603
commit
c7674ec6fe
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 21 23:03:01 CEST 2012 - ro@suse.de
|
||||||
|
|
||||||
|
- export keys to single files in /usr/lib/rpm/gnupg/keys
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 4 16:11:41 CEST 2010 - ro@suse.de
|
Tue May 4 16:11:41 CEST 2010 - ro@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package suse-build-key (Version 1.0)
|
# spec file for package suse-build-key
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,19 +15,17 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: suse-build-key
|
Name: suse-build-key
|
||||||
BuildRequires: gpg
|
BuildRequires: gpg
|
||||||
License: GPL-2.0+
|
|
||||||
Group: System/Packages
|
|
||||||
Provides: build-key
|
Provides: build-key
|
||||||
Requires: gpg
|
Requires: gpg
|
||||||
AutoReqProv: off
|
AutoReqProv: off
|
||||||
Summary: The public gpg key for rpm package signature verification
|
Summary: The public gpg key for rpm package signature verification
|
||||||
|
License: GPL-2.0+
|
||||||
|
Group: System/Packages
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 909
|
Release: 0
|
||||||
Source0: suse-build-key.gpg
|
Source0: suse-build-key.gpg
|
||||||
Source1: dumpsigs
|
Source1: dumpsigs
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -59,6 +57,13 @@ 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
|
||||||
|
install -d $RPM_BUILD_ROOT%{keydir}
|
||||||
|
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}~
|
||||||
|
|
||||||
@ -66,6 +71,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}~
|
||||||
|
Loading…
Reference in New Issue
Block a user