Installing Packager Tools

Installing

The fedora-packager package provides tools to help you setup and work with Fedora. It will bring in everything necessary for general packaging work. fedora-review automates many tasks related to package review. Run the following:

$ sudo dnf install fedora-packager fedora-review

Configuration

Ssh key

You also must have an ssh key configured in the Fedora Accounts System to be able to make changes to any package, including your own. fedpkg will expect the correct ssh key to be available in your keyring. See wiki page Cryptography: OpenSSH for more information.

Mock

To be able to test the build procedure in a clean chroot with Mock, you need to configure your account to be a member of the mock group:

$ sudo usermod -a -G mock <your username>

Acquiring Kerberos ticket

Koji uses Kerberos for authentication. To acquire valid Kerberos ticket, do:

$ KRB5_TRACE=/dev/stdout kinit <your_fas_id>@FEDORAPROJECT.ORG

Here, FEDORAPROJECT.ORG must be in capital case.

Kerberos tickets have an expiration time, so kinit needs to be periodically re-issued.

See Infrastructure/Kerberos for more information about the Fedora Kerberos setup.