On Mon, Dec 23, 2019, 16:16 J. Scheurich <mufti11@web.de> wrote:
Hi,

I tried the following:

$ kinit mufti11@FEDORAPROJECT.ORG
rm -rf wdune
fedpkg clone wdune
cd wdune
$ fedpkg import ~/rpmbuild/SRPMS/wdune-1.654-3.fc32.src.rpm > /dev/null

$ git commit -sm "Initial import (#1658153)"

You do not need to sign your git commits.

error: gpg failed to sign the data
fatal: failed to write commit object

So the commit probably failed because git couldn't find a GPG associated with your email address.

$ fedpkg push
Everything up-to-date

And then without a successful commit, there's nothing to push ....

$ fedpkg build
Could not execute build: /home/home/mufti/wdune has uncommitted
changes.  Use git status to see details
Try option --srpm to make scratch build from local changes.

And you can't build stuff that you haven't pushed yet.

$

I updated the gpg keys with

curl https://getfedora.org/static/fedora.gpg | gpg --import

Why would you want to sign your commits with fedora GPG keys, and not your own key? And those are the public keys, they wouldn't help you either way ...

Just skip the -s argument in "git commit".

Fabio