commit suse-build-key for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package suse-build-key for openSUSE:Factory checked in at 2024-07-26 16:16:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suse-build-key (Old) and /work/SRC/openSUSE:Factory/.suse-build-key.new.1882 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "suse-build-key" Fri Jul 26 16:16:12 2024 rev:45 rq:1189743 version:12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/suse-build-key/suse-build-key.changes 2024-07-18 19:20:21.908745231 +0200 +++ /work/SRC/openSUSE:Factory/.suse-build-key.new.1882/suse-build-key.changes 2024-07-26 16:16:35.792353429 +0200 @@ -1,0 +2,5 @@ +Fri Jul 19 08:47:17 UTC 2024 - Marcus Meissner <meissner@suse.com> + +- make the per-project inclusion optional, default off. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-build-key.spec ++++++ --- /var/tmp/diff_new_pack.HFt4iF/_old 2024-07-26 16:16:36.824394961 +0200 +++ /var/tmp/diff_new_pack.HFt4iF/_new 2024-07-26 16:16:36.824394961 +0200 @@ -17,6 +17,7 @@ # needspubkeyforbuild +%bcond_with build_key_include_prjkey Name: suse-build-key BuildRequires: gpg @@ -119,6 +120,16 @@ %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{keydir} + +%if %{with build_key_include_prjkey} +if [ -e "%_sourcedir/_pubkey" ]; then + name="$(sh %{SOURCE1000} %_sourcedir/_pubkey).asc" + if [ ! -e "%_sourcedir/$name" ]; then + install -D -m 644 %_sourcedir/_pubkey %{buildroot}%keydir/"$name" + fi +fi +%endif + for i in %sources; do case "$i" in */gpg-pubkey-*.asc|*/*ptf*.asc) @@ -127,12 +138,6 @@ esac done -if [ -e "%_sourcedir/_pubkey" ]; then - name="$(sh %{SOURCE1000} %_sourcedir/_pubkey).asc" - if [ ! -e "%_sourcedir/$name" ]; then - install -D -m 644 %_sourcedir/_pubkey %{buildroot}%keydir/"$name" - fi -fi %if 0%{?suse_version} && 0%{?suse_version} < 1120 install -m 755 %{SOURCE100} $RPM_BUILD_ROOT/usr/lib/rpm/gnupg
participants (1)
-
Source-Sync