diff --git a/suse-build-key.changes b/suse-build-key.changes index dc80c91..94230b2 100644 --- a/suse-build-key.changes +++ b/suse-build-key.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 30 14:33:40 UTC 2024 - Eugenio Paolantonio + +- ensure key2rpmname is called using bash. + ------------------------------------------------------------------- Fri Jul 19 08:47:17 UTC 2024 - Marcus Meissner diff --git a/suse-build-key.spec b/suse-build-key.spec index 78f33ae..5d435f0 100644 --- a/suse-build-key.spec +++ b/suse-build-key.spec @@ -123,7 +123,7 @@ mkdir -p $RPM_BUILD_ROOT%{keydir} %if %{with build_key_include_prjkey} if [ -e "%_sourcedir/_pubkey" ]; then - name="$(sh %{SOURCE1000} %_sourcedir/_pubkey).asc" + name="$(bash %{SOURCE1000} %_sourcedir/_pubkey).asc" if [ ! -e "%_sourcedir/$name" ]; then install -D -m 644 %_sourcedir/_pubkey %{buildroot}%keydir/"$name" fi @@ -138,7 +138,6 @@ for i in %sources; do esac done - %if 0%{?suse_version} && 0%{?suse_version} < 1120 install -m 755 %{SOURCE100} $RPM_BUILD_ROOT/usr/lib/rpm/gnupg %endif