Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions pages/linux/koji-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# koji build

> Build an RPM package.
> More information: <https://docs.pagure.org/koji>.

- Build a package from `src.rpm`:

`koji build {{target}} {{path/to/src.rpm}}`

- Build a package from a SCM (Source Code Management) URL:

`koji build {{target}} {{git+https://src.fedoraproject.org/rpms/vim.git#e847a50297a216229050bf4db3d06a139104e7cf}}`

- Perform a scratch build:

`koji build {{target}} {{path/to/src.rpm}} --scratch`

- Wait on the build, even if it's running in the background:

`koji build {{target}} {{path/to/src.rpm}} --wait`

- Don't wait on build:

`koji build {{target}} {{path/to/src.rpm}} --nowait`

- Display help:

`koji build --help`
Loading