mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 11:58:15 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/linux/koji-build
Normal file
33
tldr/linux/koji-build
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user