1
0

- add PTF key to the key directory, so it does not get stripped

out when using --exclude-docs (bsc#1044232)

OBS-URL: https://build.opensuse.org/package/show/Base:System/suse-build-key?expand=0&rev=30
This commit is contained in:
Marcus Meissner 2019-01-11 15:00:54 +00:00 committed by Git OBS Bridge
parent 1e67db81c4
commit 0071f620da
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 11 15:00:10 UTC 2019 - meissner@suse.com
- add PTF key to the key directory, so it does not get stripped
out when using --exclude-docs (bsc#1044232)
-------------------------------------------------------------------
Wed Mar 28 14:56:15 UTC 2018 - meissner@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package suse-build-key
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -78,7 +78,7 @@ rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{keydir}
for i in %sources; do
case "$i" in
*/gpg-pubkey-*.asc)
*/gpg-pubkey-*.asc|*/*ptf*.asc)
install -m 644 "$i" $RPM_BUILD_ROOT%{keydir}
;;
esac
@ -87,7 +87,7 @@ install -m 755 %{SOURCE100} $RPM_BUILD_ROOT/usr/lib/rpm/gnupg
%files
%defattr(644,root,root)
%doc security_at_suse_de.asc suse_ptf_key.asc
%doc security_at_suse_de.asc
%attr(755,root,root) %dir %{_prefix}/lib/rpm/gnupg
%attr(755,root,root) %dir %{keydir}
%attr(755,root,root) %{_prefix}/lib/rpm/gnupg/dumpsigs