From Fedora Project Wiki
(Write the page) |
(Make) |
||
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
# The third command should have sent the request for Koji to make a scratch build of the <code>fedpkg</code> package. It should have succeeded. The build options should show that the build was made from a srpm. | # The third command should have sent the request for Koji to make a scratch build of the <code>fedpkg</code> package. It should have succeeded. The build options should show that the build was made from a srpm. | ||
}} | }} | ||
[[Category:Package_fedpkg_test_cases]] | |||
[[Category:Package_rpkg_test_cases]] |
Latest revision as of 16:27, 2 June 2015
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.