@@ -77,9 +77,11 @@ for arch in x86_64 ; do
7777 --define ' __gpg_sign_cmd %{__gpg} gpg --batch --no-verbose --no-armor --use-agent --no-secmem-warning -u "%{_gpg_name}" -sbo %{__signature_filename} %{__plaintext_filename}' \
7878 --addsign " $rpmcopy " < /dev/null
7979
80+ echo " Signing '$rpmcopy '...2"
81+ echo " Signing '$rpmcopy '...2.. $( which gpg) $( which gpg1) "
8082 # Add a standalone signature file, for user convenience. Other packaging
8183 # steps will pick this up and copy it around.
82- gpg --detach-sign --armor --use-agent --local-user " $code_signing_fingerprint " \
84+ /usr/bin/ gpg --detach-sign --armor --use-agent --local-user " $code_signing_fingerprint " \
8385 -o " $rpmcopy .sig" " $rpmcopy "
8486
8587 # Update the latest pointer. Even though the RPM repo is split by
@@ -88,12 +90,15 @@ for arch in x86_64 ; do
8890 ln -sf " repo/$arch /$rpmname " " $repo_root /$binary_name -latest-$arch .rpm"
8991 ln -sf " repo/$arch /$rpmname .sig" " $repo_root /$binary_name -latest-$arch .rpm.sig"
9092
93+ echo " Signing '$rpmcopy '...3"
9194 # Run createrepo to update the database files.
9295 " $CREATEREPO " " $repo_root /repo/$arch "
9396
94- gpg --detach-sign --armor --use-agent --local-user " $code_signing_fingerprint " \
97+ /usr/bin/ gpg --detach-sign --armor --use-agent --local-user " $code_signing_fingerprint " \
9598 -o " $repo_root /repo/$arch /repodata/repomd.xml.asc" " $repo_root /repo/$arch /repodata/repomd.xml"
9699
100+ echo " Signing '$rpmcopy '...4"
97101 # Add updateinfo.xml changelog to the repo
98102 " $MODIFYREPO " " $here /updateinfo.xml" " $repo_root /repo/$arch /repodata"
103+ echo " Signing '$rpmcopy '...5"
99104done
0 commit comments