From Fedora Project Wiki
Description
This test case ensures that Fedora packagers can make scratch builds.
Setup
- You must be a Fedora packager and have your packaging environment set up. If you can't satisfy this requirement, please skip this test case.
- Install the
fedpkg
package.
How to test
- In your favourite terminal application, run the following commands:
$ fedpkg clone fedpkg && cd fedpkg
$ fedpkg scratch-build
$ fedpkg scratch-build --srpm
- You can now remove the
fedpkg
folder.
Expected Results
- The first command should have cloned the
fedpkg
git repository and entered it. - The second command should have sent the request for Koji to make a scratch build of the
fedpkg
package. It should have succeeded. The build options should show that the build was made from git, displaying the exact commit hash used as the build source. - The third command should have sent the request for Koji to make a scratch build of the
fedpkg
package. It should have succeeded. The build options should show that the build was made from a srpm.