centpkg(1)
β¨ NAME β¨
okay so bestie, we're reading the centpkg(1) page from the rpm-packager manual π and the star of the show is:
centpkg β the RPM Packaging utility. that's it, that's the whole name. short, sweet, iconic π
πΈ SYNOPSIS πΈ
centpkg [ global_options ] command [ command_options ] [ command_arguments ]
centpkg help
centpkg command --help
π« DESCRIPTION π«
centpkg is a script to interact with the RPM Packaging system. literally that's the summary and it's giving main character energy, no cap π
π Global Options π
these bad boys work no matter which command you're running, so let's get into it:
--config,-CCONFIG β tells it which config file to use, like handing it a lil note that says "use this one bestie" π--dry-runβ do a dry run. rehearsal mode, nothing actually goes down π--releaseRELEASE β overrides the release it discovered from the current branch, and that release is what decides the build target and the value of the dist macro. generally speaking, release = the name of a branch made in your package repository. heads up:--releaseis an alias of--dist, which is why--releaseis the one you should be using π«Ά--nameNAME β override the repository name. use--namespaceif you wanna change the namespace instead. if you don't specify it, the name gets discovered in this exact order: from the Git push URL, or from the Git URL (that's the last part of the path with the.gitextension removed), or from the Name macro in the spec file π--namespaceNAMESPACE β the package repository namespace. if you skip it, it defaults torpmswhen namespace is enabled πΈ--userUSER β override the discovered user name--passwordPASSWORD β password for Koji login π--runasRUNAS β run Koji commands as a different user, identity crisis but make it useful--pathPATH β define the directory to work in (defaults tocwd)--verbose,-vβ run with verbose debug output, for when you want the tea β--debug,-dβ run with debug output-qβ run quietly, only displaying errors π€«--user-configUSER_CONFIG β specify a user config file to use
ποΈ COMMAND OVERVIEW ποΈ
here's the full lineup bestie, every single one, no skips π
centpkg buildβ Request build π₯
centpkg build [-h] [--arches [ARCHES ...]] [--md5] [--nowait] [--target TARGET] [--background] [--fail-fast] [--skip-remote-rules-validation] [--skip-nvr-check] [--custom-user-metadata CUSTOM_USER_METADATA] [--skip-tag] [--scratch | --draft] [--srpm [SRPM]] [--srpm-mock] [--root CONFIG] [--rhel-target {exception,zstream,latest,none}]
centpkg chain-buildβ Build current package in order with other packages βοΈ
centpkg chain-build [-h] [--arches [ARCHES ...]] [--md5] [--nowait] [--target TARGET] [--background] [--fail-fast] [--skip-remote-rules-validation] [--skip-nvr-check] [--custom-user-metadata CUSTOM_USER_METADATA] package [package ...]
centpkg ciβ Alias for commit β¨
centpkg ci [-h] [-m MESSAGE] [--with-changelog] [-c] [--raw] [-t] [-F FILE] [-p] [-s] [files ...]
centpkg cleanβ Remove untracked files π§Ή
centpkg clean [-h] [--dry-run] [-x]
centpkg clogβ Make a clog file containing top changelog entry
centpkg clog [-h] [--raw]
centpkg cloneβ Clone and checkout a repository π§¬
centpkg clone [-h] [--branches] [--branch BRANCH] [--anonymous] [--depth DEPTH] repo [clone_target] ...
centpkg coβ Alias for clone β¨
centpkg co [-h] [--branches] [--branch BRANCH] [--anonymous] [--depth DEPTH] repo [clone_target] ...
centpkg commitβ Commit changes πΎ
centpkg commit [-h] [-m MESSAGE] [--with-changelog] [-c] [--raw] [-t] [-F FILE] [-p] [-s] [files ...]
centpkg compileβ Local test rpmbuild compile π¨
centpkg compile [-h] [--builddir BUILDDIR] [--buildrootdir BUILDROOTDIR] [--arch ARCH] [--define DEFINE] [--short-circuit] [--nocheck] ...
centpkg container-buildβ Build a container π¦
centpkg container-build [-h] [--target TARGET] [--nowait] [--background] [--build-release BUILD_RELEASE] [--isolated] [--koji-parent-build KOJI_PARENT_BUILD] [--scratch] [--arches [ARCHES ...]] [--repo-url URL [URL ...]] [--signing-intent SIGNING_INTENT] [--skip-remote-rules-validation] [--skip-build] [--compose-id COMPOSE_ID [COMPOSE_ID ...]] [--replace-dependency PKG_MANAGER:NAME:VERSION[:NEW_NAME] [PKG_MANAGER:NAME:VERSION[:NEW_NAME] ...]]
centpkg container-build-setupβ set options for container-build βοΈ
centpkg container-build-setup [-h] (--get-autorebuild | --set-autorebuild {true,false})
centpkg copr-buildβ Build package in Copr ποΈ
centpkg copr-build [-h] [--config CONFIG] [--nowait] project ...
centpkg current-stateβ Show the phase and state of current dist-git branch - Internal Only π§
centpkg current-state [-h]
centpkg diffβ Show changes between commits, commit and working tree, etc π
centpkg diff [-h] [--cached] [files ...]
centpkg flatpak-buildβ Build a Flatpak π¦
centpkg flatpak-build [-h] [--target TARGET] [--nowait] [--background] [--build-release BUILD_RELEASE] [--isolated] [--koji-parent-build KOJI_PARENT_BUILD] [--scratch] [--arches [ARCHES ...]] [--repo-url URL [URL ...]] [--signing-intent SIGNING_INTENT] [--skip-remote-rules-validation] [--skip-build]
centpkg forkβ Create a new fork of the current repository π΄
centpkg fork [-h]
centpkg gimmespecβ Print the spec file name π
centpkg gimmespec [-h]
centpkg gitbuildhashβ Print the git hash used to build the provided n-v-r
centpkg gitbuildhash [-h] build
centpkg giturlβ Print the git url for building π
centpkg giturl [-h]
centpkg helpβ Show usage π
centpkg help [-h]
centpkg importβ Import srpm content into a module π₯
centpkg import [-h] [--skip-diffs] [--offline] [--do-not-check-specfile-name] srpm
centpkg installβ Local test rpmbuild install π§
centpkg install [-h] [--builddir BUILDDIR] [--buildrootdir BUILDROOTDIR] [--arch ARCH] [--define DEFINE] [--short-circuit] [--nocheck] [--with BCOND_WITH] [--without BCOND_WITHOUT] ...
centpkg lintβ Run rpmlint against local spec and build output if present. π§Ό
centpkg lint [-h] [--info] [--rpmlintconf RPMLINTCONF]
centpkg list-side-tagsβ List existing side-tags π·οΈ
centpkg list-side-tags [-h] [--mine | --user TAG_OWNER | --base-tag BASE_TAG]
centpkg localβ Local test rpmbuild binary π§ͺ
centpkg local [-h] [--builddir BUILDDIR] [--buildrootdir BUILDROOTDIR] [--arch ARCH] [--define DEFINE] [--md5] [--with BCOND_WITH] [--without BCOND_WITHOUT] ...
centpkg mock-configβ Generate a mock config π οΈ
centpkg mock-config [-h] [--target TARGET] [--arch ARCH]
centpkg mockbuildβ Local test build using mock π§±
centpkg mockbuild [-h] [--root CONFIG] [--md5] [--no-clean] [--no-cleanup-after] [--no-clean-all] [--with BCOND_WITH] [--without BCOND_WITHOUT] [--shell] [--enablerepo ENABLEREPO] [--disablerepo DISABLEREPO] [--enable-network] [--srpm-mock] [--use-koji-mock-config | --use-local-mock-config] [--default-mock-resultdir] [--extra-pkgs [EXTRA_PKGS ...]] ...
centpkg module-buildβ Build a module using MBS π§©
centpkg module-build [-h] [--watch] [--buildrequires name:stream] [--requires name:stream] [--optional key=value] [--file [FILE_PATH]] [--srpm SRPMS] [--scratch] [scm_url] [branch]
centpkg module-build-cancelβ Cancel an MBS module build π
centpkg module-build-cancel [-h] build_id
centpkg module-build-infoβ Show information of an MBS module build βΉοΈ
centpkg module-build-info [-h] build_id
centpkg module-build-localβ Build a module locally using the mbs-manager command π
centpkg module-build-local [-h] [--file [FILE_PATH]] [--srpm SRPMS] [--stream [STREAM]] [--skip-tests] [--add-local-build N:S:V] [-s N:S] [--offline] [-r PATH]
centpkg module-build-watchβ Watch an MBS build ποΈ
centpkg module-build-watch [-h] build_id [build_id ...]
centpkg module-overviewβ Shows an overview of MBS builds πΊοΈ
centpkg module-overview [-h] [--unfinished] [--limit LIMIT] [--owner FAS_ID | --mine]
centpkg module-scratch-buildβ Build a scratch module using MBS β¨
centpkg module-scratch-build [-h] [--watch] [--buildrequires name:stream] [--requires name:stream] [--optional key=value] [--file [FILE_PATH]] [--srpm SRPMS] [scm_url] [branch]
centpkg newβ Diff against last tag π
centpkg new [-h]
centpkg new-sourcesβ Upload source files β¬οΈ
centpkg new-sources [-h] [--offline] files [files ...]
centpkg patchβ Create and add a gendiff patch file π©Ή
centpkg patch [-h] [--rediff] suffix
centpkg pre-push-checkβ Check whether the eventual "git push" command could proceed π¦
centpkg pre-push-check [-h] [ref]
centpkg prepβ Local test rpmbuild prep π
centpkg prep [-h] [--builddir BUILDDIR] [--buildrootdir BUILDROOTDIR] [--arch ARCH] [--define DEFINE] [--check-deps] ...
centpkg pullβ Pull changes from the remote repository and update the working copy. β¬οΈ
centpkg pull [-h] [--rebase] [--no-rebase]
centpkg pushβ Push changes to remote repository π
centpkg push [-h] [--force] [--no-verify]
centpkg remoteβ Operations with tracked repositories ('remotes'). This is an experimental interface. π§ͺ
centpkg remote [-h] {add} ...
centpkg remove-side-tagβ Remove a side tag (without merging packages) ποΈ
centpkg remove-side-tag [-h] TAG
centpkg request-gated-side-tagβ Create a new dynamic gated side tag πͺ
centpkg request-gated-side-tag [-h] [--base-tag BASE_TAG]
centpkg request-side-tagβ Create a new side tag π·οΈ
centpkg request-side-tag [-h] [--base-tag BASE_TAG] [--suffix SUFFIX]
centpkg retireβ Retire a package/module π«‘
centpkg retire [-h] reason
centpkg scratch-buildβ Request scratch build β¨
centpkg scratch-build [-h] [--arches [ARCHES ...]] [--md5] [--nowait] [--target TARGET] [--background] [--fail-fast] [--skip-remote-rules-validation] [--skip-nvr-check] [--custom-user-metadata CUSTOM_USER_METADATA] [--srpm [SRPM]] [--srpm-mock] [--root CONFIG]
centpkg sourcesβ Download source files π¦
centpkg sources [-h] [--outdir OUTDIR] [--force] [--offline]
centpkg srpmβ Create a source rpm π₯
centpkg srpm [-h] [--builddir BUILDDIR] [--buildrootdir BUILDROOTDIR] [--arch ARCH] [--define DEFINE] [--md5] [--srpm-mock] [--no-clean] [--no-cleanup-after] [--no-clean-all] [--offline] [--root CONFIG] ...
centpkg switch-branchβ Work with branches πΏ
centpkg switch-branch [-h] [-l] [--fetch] [branch]
centpkg tagβ Management of git tags π·οΈ
centpkg tag [-h] [-f] [-m MESSAGE] [-c] [--raw] [-F FILE] [-l] [-d] [tag]
centpkg unused-patchesβ Print list of patches not referenced by name in the specfile π
centpkg unused-patches [-h]
centpkg uploadβ Upload source files β¬οΈ
centpkg upload [-h] [--offline] files [files ...]
centpkg verify-filesβ Locally verify%%filessection β
centpkg verify-files [-h] [--builddir BUILDDIR] [--buildrootdir BUILDROOTDIR] [--arch ARCH] [--define DEFINE] ...
centpkg verrelβ Print the name-version-release. π’
centpkg verrel [-h]
π COMMAND REFERENCE π
now we get into the juicy part, one command at a time, and bestie we are only at the beginning π
π centpkg build
usage: centpkg build [-h] [--arches [ARCHES ...]] [--md5] [--nowait] [--target TARGET] [--background] [--fail-fast] [--skip-remote-rules-validation] [--skip-nvr-check] [--custom-user-metadata CUSTOM_USER_METADATA] [--skip-tag] [--scratch | --draft] [--srpm [SRPM]] [--srpm-mock] [--root CONFIG] [--rhel-target {exception,zstream,latest,none}]
This command requests a build of the package in the build system. by default it discovers the target to build for based on branch data, and it uses the latest commit as the build source. so it's out here doing detective work on your branch and then shipping your newest commit off to get built π₯
okay so we are nowhere near done, the rest of this command reference is literally still loading β do not touch that dial bestie π
centpkg now sets the rhel metadata with --rhel-target. The choices, bestie, are:
exceptionβ this will build for the current in-development Y-stream release. It's equivalent to passinglatestwhen you're not in the Blocker and Exception Phase.zstreamβ if pre-GA of a y-stream release, this will build for0day. If post-GA of a Y-stream release, this will build for the Z-stream of that release. β¨latestβ this will always build for the next Y-stream release.noneβ this will not build in brew. No rhel metadata is set. π
And here's the options roster for centpkg build:
-h,--helpβ show this help message and exit π«Ά--arches [ARCHES ...]β Build for specific arches--md5β Use md5 checksums (for older rpm hosts)--nowaitβ Don't wait on build--target TARGETβ Define build target to build into--backgroundβ Run the build at a low priority--fail-fastβ Fail the build immediately if any arch fails--skip-remote-rules-validationβ Don't check if there's a validgating.yamlfile in the repo, where you can define additional policies for Greenwave gating.--skip-nvr-checkβ Submit build to buildsystem without check if NVR was already built. NVR is constructed locally and may be different from NVR constructed during build on builder.--custom-user-metadata CUSTOM_USER_METADATAβ Provide a JSON string of custom metadata to be deserialized and stored under the build'sextra.custom_user_metadatafield--skip-tagβ Do not attempt to tag package--scratchβ Perform a scratch build--draftβ Perform a draft build--srpm [SRPM]β Build from an srpm. If no srpm is provided with this option an srpm will be generated from current module content.--srpm-mockβ Build from an srpm. Source rpm will be generated in'mock'instead of'rpmbuild'.--root,--mock-config,-r CONFIGβ Override mock configuration (likemock -r)--rhel-target {exception,zstream,latest,none}β Set the rhel-target metadata
π centpkg chain-build
usage: centpkg chain-build [-h] [--arches [ARCHES ...]] [--md5]
[--nowait] [--target TARGET]
[--background] [--fail-fast]
[--skip-remote-rules-validation]
[--skip-nvr-check]
[--custom-user-metadata
CUSTOM_USER_METADATA]
package [package ...]
Build current package in order with other packages. Chain gang energy, honestly. π
example: centpkg chain-build libwidget libgizmo
The current package is added to the end of the CHAIN list. Colons (:) can be used in the CHAIN parameter to define groups of packages. Packages in any single group will be built in parallel and all packages in a group must build successfully and populate the repository before the next group will begin building.
For example:
centpkg chain-build libwidget libaselib : libgizmo :
will cause libwidget and libaselib to be built in parallel, followed by libgizmo and then the current directory package. If no groups are defined, packages will be built sequentially. No cap. π
positional arguments:
packageβ List the packages and order you want to build in
options:
-h,--helpβ show this help message and exit--arches [ARCHES ...]β Build for specific arches--md5β Use md5 checksums (for older rpm hosts)--nowaitβ Don't wait on build--target TARGETβ Define build target to build into--backgroundβ Run the build at a low priority--fail-fastβ Fail the build immediately if any arch fails--skip-remote-rules-validationβ Don't check if there's a validgating.yamlfile in the repo, where you can define additional policies for Greenwave gating.--skip-nvr-checkβ Submit build to buildsystem without check if NVR was already built. NVR is constructed locally and may be different from NVR constructed during build on builder.--custom-user-metadata CUSTOM_USER_METADATAβ Provide a JSON string of custom metadata to be deserialized and stored under the build'sextra.custom_user_metadatafield
β¨ centpkg ci
usage: centpkg ci [-h] [-m MESSAGE] [--with-changelog] [-c] [--raw]
[-t] [-F FILE] [-p] [-s]
[files ...]
Alias for commit. That's it, that's the whole vibe. π
positional arguments:
filesβ Optional list of specific files to commit
options:
-h,--helpβ show this help message and exit-m,--message MESSAGEβ Use the given<msg>as the commit message summary--with-changelogβ Get the last changelog from SPEC as commit message content. This option must be used with-mtogether.-c,--clogβ Generate the commit message from the Changelog section--rawβ Make the clog raw-t,--tagβ Create a tag for this commit-F,--file FILEβ Take the commit message from the given file-p,--pushβ Commit and push as one action-s,--signoffβ Include a signed-off-by
π§Ή centpkg clean
usage: centpkg clean [-h] [--dry-run] [-x]
This command can be used to clean up your working directory. By default it will follow .gitignore rules. Patterns listed in .git/info/exclude won't be removed either. It's giving spring cleaning but for your repo, fr fr. πΈ
options:
-h,--helpβ show this help message and exit--dry-run,-nβ Perform a dry-run-xβ Do not follow.gitignoreand.git/info/excluderules
π centpkg clog
usage: centpkg clog [-h] [--raw]
This will create a file named "clog" that contains the latest rpm changelog entry. The leading "- " text will be stripped.
options:
-h,--helpβ show this help message and exit--rawβ Generate a more"raw"clog without twiddling the contents
π¦ centpkg clone
usage: centpkg clone [-h] [--branches] [--branch BRANCH]
[--anonymous] [--depth DEPTH]
repo [clone_target] ...
This command will clone the named repository from the configured repository base URL. By default it will also checkout the master branch for your working copy. β¨
positional arguments:
repoβ Name of the repository to clone. It should not be a Git URL. Should be'namespace/repo-name'in case of namespaced dist-git. Otherwise, just'repo-name'. Namespace examples are'rpms','container','modules','flatpaks'. Default namespace'rpms'can be ignored.clone_targetβ Directory in which to clone the repositoryextra_argsβ Custom arguments that are passed to the'git clone'. Use'--'to separate them from other arguments.
options:
-h,--helpβ show this help message and exit--branches,-Bβ Do an old style checkout with subdirs for branches--branch,-b BRANCHβ Check out a specific branch--anonymous,-aβ Check out a module anonymously--depth DEPTHβ Create a shallow clone with a history truncated to the specified number of commits
π centpkg co
usage: centpkg co [-h] [--branches] [--branch BRANCH] [--anonymous]
[--depth DEPTH]
repo [clone_target] ...
Alias for clone. Short king behaviour. π
positional arguments:
repoβ Name of the repository to clone. It should not be a Git URL. Should be'namespace/repo-name'in case of namespaced dist-git. Otherwise, just'repo-name'. Namespace examples are'rpms','container','modules','flatpaks'. Default namespace'rpms'can be ignored.clone_targetβ Directory in which to clone the repositoryextra_argsβ Custom arguments that are passed to the'git clone'. Use'--'to separate them from other arguments.
options:
-h,--helpβ show this help message and exit--branches,-Bβ Do an old style checkout with subdirs for branches--branch,-b BRANCHβ Check out a specific branch--anonymous,-aβ Check out a module anonymously--depth DEPTHβ Create a shallow clone with a history truncated to the specified number of commits
π centpkg commit
usage: centpkg commit [-h] [-m MESSAGE] [--with-changelog] [-c]
[--raw] [-t] [-F FILE] [-p] [-s]
[files ...]
This invokes a git commit. All tracked files with changes will be committed unless a specific file list is provided. $EDITOR will be used to generate a changelog message unless one is given to the command. A push can be done at the same time. Iconic, honestly. π«Ά
positional arguments:
filesβ Optional list of specific files to commit-h,--helpβ bestie classic π pops the help message and dips, that's it.-m,--messageMESSAGE β drop the given<msg>in as your commit message summary. that's the headline, the vibe, the whole point.--with-changelogβ yoinks the last changelog entry out of the SPEC and uses it as the commit message content. β οΈ this one is not a solo act β it has to be used with-mtogether, periodt.-c,--clogβ generates the commit message straight from the Changelog section. iconic behavior.--rawβ makes the clog raw. no filter, no styling, just raw.-t,--tagβ creates a tag for this commit. leave a lil souvenir. π-F,--fileFILE β takes the commit message from the given file instead. file girlies rise.-p,--pushβ commits and pushes as one action. one move, two jobs, efficiency queen π-s,--signoffβ includes a signed-off-by. add your signature, you deserve the credit. β¨
π οΈ centpkg compile
centpkg compile [-h] [--builddir BUILDDIR]
[--buildrootdir BUILDROOTDIR] [--arch ARCH]
[--define DEFINE] [--short-circuit]
[--nocheck]
...
okay so this one literally calls rpmbuild to compile the source. and by default it's doing the whole prep + configure stages too, unless you hit it with the short-circuit option and skip all that. no cap.
positional arguments:
extra_argsβ custom arguments that get passed straight torpmbuild. use--to separate them from other arguments. (iykyk, that--is doing a LOT of heavy lifting)
options:
-h,--helpβ show this help message and exit--builddirBUILDDIR β define an alternate builddir--buildrootdirBUILDROOTDIR β define an alternate buildrootdir--archARCH β prep for a specific arch--defineDEFINE β pass custom macros torpmbuild, and yes you can specify this multiple times π«Ά--short-circuitβ short-circuit compile. skipping straight to it.--nocheckβ nocheck compile
π³ centpkg container-build
centpkg container-build [-h] [--target TARGET] [--nowait]
[--background]
[--build-release BUILD_RELEASE]
[--isolated]
[--koji-parent-build KOJI_PARENT_BUILD]
[--scratch] [--arches [ARCHES ...]]
[--repo-url URL [URL ...]]
[--signing-intent SIGNING_INTENT]
[--skip-remote-rules-validation]
[--skip-build]
[--compose-id COMPOSE_ID [COMPOSE_ID
...]]
[--replace-dependency
PKG_MANAGER:NAME:VERSION[:NEW_NAME] [PKG_MANAGER:NAME:VERSION[:NEW_NAME]
...]]
build a container. that's the whole pitch, bestie.
options:
-h,--helpβ show this help message and exit--targetTARGET β override the default target--nowaitβ don't wait on build. set it and ghost it π»--backgroundβ run the build at a lower priority--build-releaseBUILD_RELEASE β specify a release value for this build's NVR--isolatedβ do not update floating tags in the registry. β οΈ you must use the--build-releaseargument with this one, no exceptions.--koji-parent-buildKOJI_PARENT_BUILD β specify a Koji NVR for the parent container image. this overrides the"FROM"value in your Dockerfile.--scratchβ scratch build--arches[ARCHES ...] β limit a scratch or a isolated build to an arch. may have multiple arches.--repo-urlURL [URL ...] β URLs of yum repo files--signing-intentSIGNING_INTENT β the signing intent of the ODCS composes. if you specify it, it must be one of the signing intent names configured on the OSBS server. if you don't, the server will use the signing intent of thecompose_idsyou specify, or the server'sdefault_signing_intent. to view the full list of possible names, seeatomic_reactor.configinosbs-build.log.--skip-remote-rules-validationβ don't check if there's a validgating.yamlfile in the repo. rules? skipped. validation? gone. π--skip-buildβ don't create build, but just modify settings for autorebuilds--compose-idCOMPOSE_ID [COMPOSE_ID ...] β existing ODCS composes to use (specify integers). OSBS will not generate new ODCS composes. β οΈ cannot be used with--signing-intent.--replace-dependencyPKG_MANAGER:NAME:VERSION[:NEW_NAME] [PKG_MANAGER:NAME:VERSION[:NEW_NAME] ...] β Cachito dependency replacement
βοΈ centpkg container-build-setup
centpkg container-build-setup [-h] (--get-autorebuild |
--set-autorebuild {true,false})
set options for container-build. it's the settings panel, basically.
options:
-h,--helpβ show this help message and exit--get-autorebuildβ get autorebuild value--set-autorebuild{true,false} β turn autorebuilds on/off. literally a light switch. π¦
ποΈ centpkg copr-build
centpkg copr-build [-h] [--config CONFIG] [--nowait]
project ...
build package in Copr. π
Note: you need to have set up correct api key. for more information see API KEY section of copr-cli(1) man page.
positional arguments:
projectβ name of the project in formatUSER/PROJECTextra_argsβ custom arguments that are passed to thecopr-cli. use--to separate them from other arguments.
options:
-h,--helpβ show this help message and exit--configCONFIG β path to an alternative Copr configuration file--nowaitβ don't wait on build
π centpkg current-state
centpkg current-state [-h]
show the phase and state of current dist-git branch β Internal Only. that's the whole thing, she's mysterious like that. π
options:
-h,--helpβ show this help message and exit
π centpkg diff
centpkg diff [-h] [--cached] [files ...]
uses git diff to show you the changes that have been made to tracked files. and heads up: by default, cached changes (aka the ones you've already git add-ed) will not be shown. sneaky of them fr.
positional arguments:
filesβ optionally diff specific files
options:
-h,--helpβ show this help message and exit--cachedβ view staged changes. there they are π
π¦ centpkg flatpak-build
centpkg flatpak-build [-h] [--target TARGET] [--nowait]
[--background]
[--build-release BUILD_RELEASE]
[--isolated]
[--koji-parent-build KOJI_PARENT_BUILD]
[--scratch] [--arches [ARCHES ...]]
[--repo-url URL [URL ...]]
[--signing-intent SIGNING_INTENT]
[--skip-remote-rules-validation]
[--skip-build]
build a Flatpak. π
options:
-h,--helpβ show this help message and exit--targetTARGET β override the default target--nowaitβ don't wait on build--backgroundβ run the build at a lower priority--build-releaseBUILD_RELEASE β specify a release value for this build's NVR--isolatedβ do not update floating tags in the registry. β οΈ you must use the--build-releaseargument here too, same deal.--koji-parent-buildKOJI_PARENT_BUILD β specify a Koji NVR for the parent container image. this will override the"FROM"value in your Dockerfile.--scratchβ scratch build--arches[ARCHES ...] β limit a scratch or a isolated build to an arch. may have multiple arches.--repo-urlURL [URL ...] β URLs of yum repo files--signing-intentSIGNING_INTENT β signing intent of the ODCS composes. if specified, this must be one of the signing intent names configured on the OSBS server. if unspecified, the server will use the signing intent of thecompose_idsyou specify, or the server'sdefault_signing_intent. to view the full list of possible names, seeatomic_reactor.configinosbs-build.log.--skip-remote-rules-validationβ don't check if there's a validgating.yamlfile in the repo--skip-buildβ don't create build, but just modify settings for autorebuilds
π΄ centpkg fork
centpkg fork [-h]
create a new fork of the current repository. π«Ά
before the operation, you need to generate an API token at https://gitlab.com/-/user_settings/personal_access_tokens, select the "api" scope and save it in your local user configuration located at ~/.config/rpkg/centpkg.conf. for example:
[centpkg.distgit]
token = <api_key_here>
below is a basic example of the command to fork a current repository:
centpkg fork
options:
-h,--helpβ show this help message and exit
π centpkg gimmespec
centpkg gimmespec [-h]
print the spec file name. she said gimme and she meant it. β¨
options:
-h,--helpβ show this help message and exit
π§ centpkg gitbuildhash
centpkg gitbuildhash [-h] build
this will show you the commit hash string used to build the provided build n-v-r. receipts, basically.
positional arguments:
buildβname-version-releaseof the build to query.
options:
-h,--helpβ show this help message and exit
π centpkg giturl
centpkg giturl [-h]
this will show you which git URL would be used in a build command. it uses the git hashsum of the HEAD of the current branch (which may not be pushed). β οΈ yes bestie, that's the unpushed one β it's still counting it.
options:
-h,--helpβ show this help message and exit
π centpkg help
centpkg help [-h]
show usage. short, sweet, helpful. that's the whole vibe. πΈ
-h,--helpβ show this help message and exit
β¦and that's a wrap on the previous command's flags, bestie π now let's keep the tour going.
centpkg import π
centpkg import [-h] [--skip-diffs] [--offline]
[--do-not-check-specfile-name]
srpm
okay so this is the "unbox an srpm and move its whole life into my repo" command β¨ It pulls the sources, the patches, and the spec file out of an srpm and updates your current module to match. By default it imports into whatever branch you're standing on right now. No drama, no extra steps πΈ
Positional arguments:
srpmβ the source rpm you want to import π
Options:
-h,--helpβ show this help message and exit--skip-diffsβ don't show diffs when import srpms (yes, if you're the kind of person who doesn't want the receipts, this is your flag π)--offlineβ do not upload files into the lookaside cache π«--do-not-check-specfile-nameβ skip the check for whether the specfile inside the SRPM matches the repository name π
centpkg install π οΈ
centpkg install [-h] [--builddir BUILDDIR]
[--buildrootdir BUILDROOTDIR] [--arch ARCH]
[--define DEFINE] [--short-circuit]
[--nocheck] [--with BCOND_WITH]
[--without BCOND_WITHOUT]
...
This one calls rpmbuild to run the install section, and it's giving "I want the middle of the build, not the whole thing" energy π₯ All the leading sections get processed too, unless you use the short-circuit option β then it's straight to the good part, no cap.
Positional arguments:
extra_argsβ custom arguments that are passed to therpmbuild. Use--to separate them from other arguments π«Ά
Options:
-h,--helpβ show this help message and exit--builddir BUILDDIRβ define an alternate builddir--buildrootdir BUILDROOTDIRβ define an alternate buildrootdir--arch ARCHβ prep for a specific arch--define DEFINEβ pass custom macros torpmbuild, may specify multiple times (stack 'em up π )--short-circuitβ short-circuit install--nocheckβ nocheck install--with BCOND_WITHβ enable configure option (bcond) for the build--without BCOND_WITHOUTβ disable configure option (bcond) for the build
centpkg lint π
centpkg lint [-h] [--info] [--rpmlintconf RPMLINTCONF]
Rpmlint can be configured using the --rpmlintconf/-r option, or by setting a <pkgname>.rpmlintrc file in the working directory π Both routes are valid, pick your fighter.
Options:
-h,--helpβ show this help message and exit--info,-iβ display explanations for reported messages (so you actually understand the yelling π«Ά)--rpmlintconf,-r RPMLINTCONFβ use a specific configuration file for rpmlint
centpkg list-side-tags π·οΈ
centpkg list-side-tags [-h] [--mine | --user TAG_OWNER |
--base-tag BASE_TAG]
List existing side-tags. That's it, that's the whole vibe β a little inventory check of what's out there β¨
Options:
-h,--helpβ show this help message and exit--mineβ list only my side tags π--user TAG_OWNERβ list side tags created by this user--base-tag BASE_TAGβ list only tags based on this base
Heads up: those three options are mutually exclusive β it's a | situation, so you pick one and commit to it, main character energy only π
centpkg local π
centpkg local [-h] [--builddir BUILDDIR]
[--buildrootdir BUILDROOTDIR] [--arch ARCH]
[--define DEFINE] [--md5] [--with BCOND_WITH]
[--without BCOND_WITHOUT]
...
Locally test run of rpmbuild producing binary RPMs π₯ The rpmbuild output gets logged into a file named .build-%{version}-%{release}.log β so if something goes feral, the receipts are right there in that file, iykyk.
Positional arguments:
extra_argsβ custom arguments that are passed to therpmbuild. Use--to separate them from other arguments π«Ά
Options:
-h,--helpβ show this help message and exit--builddir BUILDDIRβ define an alternate builddir--buildrootdir BUILDROOTDIRβ define an alternate buildrootdir--arch ARCHβ prep for a specific arch--define DEFINEβ pass custom macros torpmbuild, may specify multiple times--md5β use md5 checksums (for older rpm hosts) π§--with BCOND_WITHβ enable configure option (bcond) for the build--without BCOND_WITHOUTβ disable configure option (bcond) for the build
centpkg mock-config π§ͺ
centpkg mock-config [-h] [--target TARGET] [--arch ARCH]
This will generate a mock config based on the buildsystem target β¨ Basically it manifests the config file you need.
Options:
-h,--helpβ show this help message and exit--target TARGETβ override target used for config--arch ARCHβ override local arch
centpkg mockbuild π¦
centpkg mockbuild [-h] [--root CONFIG] [--md5] [--no-clean]
[--no-cleanup-after] [--no-clean-all]
[--with BCOND_WITH]
[--without BCOND_WITHOUT] [--shell]
[--enablerepo ENABLEREPO]
[--disablerepo DISABLEREPO]
[--enable-network] [--srpm-mock]
[--use-koji-mock-config |
--use-local-mock-config]
[--default-mock-resultdir]
[--extra-pkgs [EXTRA_PKGS ...]]
...
This will use the mock utility to build the package for the distribution detected from branch information πΈ You can override that with the global --release option if you want to be extra. Your user must be in the local "mock" group β no group, no build, periodt π
Positional arguments:
extra_argsβ custom arguments that are passed to themock. Use--to separate them from other arguments π«Ά
Options:
-h,--helpβ show this help message and exit--root,--mock-config,-r CONFIGβ override mock configuration (likemock -r) π--md5β use md5 checksums (for older rpm hosts)--no-clean,-nβ do not clean chroot before building package--no-cleanup-afterβ do not clean chroot after building (if automatic cleanup is enabled)--no-clean-all,-Nβ alias for both--no-cleanand--no-cleanup-afterβ¨--with BCOND_WITHβ enable configure option (bcond) for the build--without BCOND_WITHOUTβ disable configure option (bcond) for the build--shellβ run commands interactively within chroot. Before going into chroot,mockbuildneeds to run with--no-cleanup-afterin advanced π--enablerepo ENABLEREPOβ pass enablerepo option to yum/dnf (may be used more than once)--disablerepo DISABLEREPOβ pass disablerepo option to yum/dnf (may be used more than once)--enable-networkβ enable networking π--srpm-mockβ generate source rpm withmockand then runmockbuildusing this source rpm--use-koji-mock-configβ download Mock configuration from Kojihub, instead of using the local Mock configuration inmock-core-configs.rpmπ--use-local-mock-configβ enforce use of local Mock configuration--default-mock-resultdirβ don't modify Mock resultdir--extra-pkgs [EXTRA_PKGS ...]β install additional packages into chroot
Also, lowkey important: if a config file for mock isn't found in the/etc/mockdirectory, a temporary config directory for mock is created and populated with a config file created withmock-configπ«Ά so it's not just gonna give up on you.
centpkg module-build π§©
centpkg module-build [-h] [--watch]
[--buildrequires name:stream]
[--requires name:stream]
[--optional key=value]
[--file [FILE_PATH]] [--srpm SRPMS]
[--scratch]
[scm_url] [branch]
Build a module using MBS π the big one, the group project, the moment.
Positional arguments:
scm_urlβ the module's SCM URL. This defaults to the current repo πbranchβ the module's SCM branch. This defaults to the current checked-out branch
Options:
-h,--helpβ show this help message and exit--watch,-wβ watch the module build π (yes, staring at it is a supported workflow)--buildrequires name:streamβ buildrequires to override in the form of"name:stream"--requires name:streamβ requires to override in the form of"name:stream"--optional key=valueβ MBS optional arguments in the form of"key=value". For example:'centpkg module-build --optional "reuse_components_from=<NSVC>"'. More description including list of available arguments here:https://pagure.io/fm-orchestrator/πΈ--file [FILE_PATH]β the modulemd yaml file for module scratch build--srpm SRPMSβ include one or more srpms for module scratch build--scratchβ perform a scratch build
centpkg module-build-cancel π«
centpkg module-build-cancel [-h] build_id
Cancel an MBS module build π sometimes you just gotta call it.
Positional arguments:
build_idβ the ID of the module build to cancel
Options:
-h,--helpβ show this help message and exit
centpkg module-build-info π
centpkg module-build-info [-h] build_id
Show information of an MBS module build β¨ the "so what happened with that build" command.
Positional arguments:
build_idβ the ID of the module build
Options:
-h,--helpβ show this help message and exit
centpkg module-build-local π
centpkg module-build-local [-h] [--file [FILE_PATH]]
[--srpm SRPMS] [--stream [STREAM]]
[--skip-tests]
[--add-local-build N:S:V] [-s N:S]
[--offline] [-r PATH]
Build a module locally using the mbs-manager command π
options π
-h,--helpβ shows this help message and exits, king behavior β¨--file [FILE_PATH]β the module's modulemd yaml file. If you don't give one, it just uses a yaml file with the same basename as the name of the repository ποΈ--srpm SRPMSβ include one or more srpms for the module build π--stream [STREAM]β the module's stream/SCM branch. Defaults to the current checked-out branch, no cap πΏ--skip-testsβ adds a macro for skipping the check section π--add-local-build N:S:Vβ import previously finished local module builds into MBS, formatted as name:stream or name:stream:version π¦-s,--set-default-stream N:Sβ set the default stream for a given module dependency, for when there are multiple streams to choose from π--offlineβ builds the module offline, without any external infrastructure βοΈ-r,--repository PATHβ full path to the .repo file defining the base module repository to use when--offlineis used π
centpkg module-build-watch π
centpkg module-build-watch [-h] build_id [build_id ...]
Watch an MBS build. Literally just sit there and stare at it, bestie πΏ
positional arguments:
build_idβ the ID of the module build to watch
options:
-h,--helpβ show this help message and exit
centpkg module-overview π
centpkg module-overview [-h] [--unfinished] [--limit LIMIT]
[--owner FAS_ID | --mine]
Shows an overview of MBS builds. The receipts, basically π
options:
-h,--helpβ show this help message and exit--unfinishedβ show unfinished module builds β³--limit LIMITβ the number of most recent module builds to display π’--owner FAS_IDβ list only items of that owner π«Ά--mineβ use current Kerberos name or username πββοΈ
centpkg module-scratch-build π§ͺ
centpkg module-scratch-build [-h] [--watch]
[--buildrequires name:stream]
[--requires name:stream]
[--optional key=value]
[--file [FILE_PATH]]
[--srpm SRPMS]
[scm_url] [branch]
Build a scratch module using MBS β¨
positional arguments:
scm_urlβ the module's SCM URL. This defaults to the current repo πbranchβ the module's SCM branch. This defaults to the current checked-out branch πΏ
options:
-h,--helpβ show this help message and exit--watch,-wβ watch the module build πΏ--buildrequires name:streamβ buildrequires to override, in the form of"name:stream"--requires name:streamβ requires to override, in the form of"name:stream"--optional key=valueβ MBS optional arguments in the form of"key=value". For example:'centpkg module-build --optional "reuse_components_from=<NSVC>"'. More description, including a list of available arguments, lives here: https://pagure.io/fm-orchestrator/ π--file [FILE_PATH]β the modulemd yaml file for module scratch build ποΈ--srpm SRPMSβ include one or more srpms for module scratch build π¦
centpkg new π
centpkg new [-h]
This will use git to show a diff of all the changes (even uncommitted changes) since the last git tag was applied π
options:
-h,--helpβ show this help message and exit
centpkg new-sources πΈ
centpkg new-sources [-h] [--offline] files [files ...]
This will upload new source file(s) to the lookaside cache, and all file names listed in the sources file will be replaced. .gitignore will be also updated with the new uploaded file(s). Please remember to commit them, fr fr π
positional arguments:
files
options:
-h,--helpβ show this help message and exit--offlineβ do all the steps except uploading into the lookaside cache βοΈ
centpkg patch π©Ή
centpkg patch [-h] [--rediff] suffix
Create and add a gendiff patch file β¨
positional arguments:
suffixβ look for files with this suffix to diff
options:
-h,--helpβ show this help message and exit--rediffβ recreate gendiff file retaining comments. Saves old patch file with a suffix of~β»οΈ
The patch file will be named: package-version-suffix.patch, and the file will be added to the repo index πΎ
centpkg pre-push-check π¦
centpkg pre-push-check [-h] [ref]
Performs a few checks of the repository before pushing changes. The "git push" command itself is not part of this check π
ββοΈ
Checks include:
- parse specfile for source files and verifies it is noted also in the
'sources'file π - verifies, that all source files from the
'sources'file were uploaded to the lookaside cache βοΈ
Checks can be performed manually by executing the 'pre-push-check' command. But originally, it is designed to be executed automatically right before the 'git push' command is started. Every time the 'git push' command is executed, the 'pre-push' hook script runs first πββοΈ
Path: <repository_directory>/.git/hooks/pre-push π
This hook script is created after a new repository is cloned. Previously created repositories don't contain this hook script π
To disable these checks, remove the hook script βοΈ
positional arguments:
refβ reference to the commit that will be checked. Accepts a hash or reference, for example'refs/heads/f37'
options:
-h,--helpβ show this help message and exit
centpkg prep π§
centpkg prep [-h] [--builddir BUILDDIR]
[--buildrootdir BUILDROOTDIR] [--arch ARCH]
[--define DEFINE] [--check-deps]
...
Use rpmbuild to "prep" the sources β unpack the source archive(s) and apply any patches π¦β‘οΈποΈ
positional arguments:
extra_argsβ custom arguments that are passed to the'rpmbuild'. Use'--'to separate them from other arguments π§·
options:
-h,--helpβ show this help message and exit--builddir BUILDDIRβ define an alternate builddir ποΈ--buildrootdir BUILDROOTDIRβ define an alternate buildrootdir π³--arch ARCHβ prep for a specific arch π»--define DEFINEβ pass custom macros torpmbuild, may specify multiple times π--check-depsβ check dependencies. Not checked by default π
centpkg pull β¬οΈ
centpkg pull [-h] [--rebase] [--no-rebase]
This command uses git to fetch remote changes and apply them to the current working copy. A rebase option is available, which can be used to avoid merges π«Ά
options:
-h,--helpβ show this help message and exit--rebaseβ rebase the locally committed changes on top of the remote changes after fetching. This can avoid a merge commit, but it does rewrite local history β οΈ--no-rebaseβ do not rebase, overriding.gitsettings to the contrary π ββοΈ
See git pull --help for more details π
centpkg push β¬οΈ
centpkg push [-h] [--force] [--no-verify]
Push changes to the remote repository π
options:
-h,--helpβ show this help message and exit--force,-fβ force push π₯--no-verifyβ bypass the pre-push hook script. No check of the branch will prevent the push π
centpkg remote π
centpkg remote [-h] {add} ...
Operations with tracked repositories ('remotes'). This is an experimental interface π§ͺ
options:
-h,--helpβ show this help message and exit
subcommands:
Operations with tracked repositories ('remotes'). This is an experimental interface. Please note that some or all current functionality is subject to change π. Without parameters, a list of remotes will be shown.
{add}
centpkg remove-side-tag ποΈ
centpkg remove-side-tag [-h] TAG
Remove a side tag (without merging packages) βοΈ
positional arguments:
TAGβ name of tag to be deleted
options:
-h,--helpβ show this help message and exit
centpkg request-gated-side-tag πͺ
centpkg request-gated-side-tag [-h] [--base-tag BASE_TAG]
Create a new dynamic gated side tag β¨
options:
-h,--helpβ show this help message and exit--base-tag BASE_TAGβ name of base tag
centpkg request-side-tag π·οΈ
centpkg request-side-tag [-h] [--base-tag BASE_TAG]
[--suffix SUFFIX]
Create a new side tag π
options:
-h,--helpβ show this help message and exit--base-tag BASE_TAGβ name of base tag--suffix SUFFIXβ a suffix to be appended to the side tag name. The suffix must be allowed in Koji configuration β
centpkg retire πͺ¦
centpkg retire [-h] reason
This command will remove all files from the repo, leave a dead.package file for rpms or a dead.module file for modules, and push the changes π
positional arguments:
reasonβ reason for retiring the package/module
options:
-h,--helpβ show this help message and exit
centpkg scratch-build π₯
centpkg scratch-build [-h] [--arches [ARCHES ...]] [--md5]
[--nowait] [--target TARGET]
[--background] [--fail-fast]
[--skip-remote-rules-validation]
[--skip-nvr-check]
[--custom-user-metadata CUSTOM_USER_METADATA]
[--srpm [SRPM]] [--srpm-mock]
[--root CONFIG]
This command will request a scratch build of the package. Without providing an srpm, it will attempt to build the latest commit, which must have been pushed. By default all appropriate arches will be built π οΈ
β¦and the rest of the options for that one, bestie, no skips no gaps π
-h,--helpβ show this help message and exit--arches [ARCHES ...]β Build for specific arches--md5β Use md5 checksums (for older rpm hosts)--nowaitβ Don't wait on build--target TARGETβ Define build target to build into--backgroundβ Run the build at a low priority--fail-fastβ Fail the build immediately if any arch fails--skip-remote-rules-validationβ Don't check if there's a validgating.yamlfile in the repo, where you can define additional policies for Greenwave gating.--skip-nvr-checkβ Submit build to buildsystem without check if NVR was already built. NVR is constructed locally and may be different from NVR constructed during build on builder.--custom-user-metadata CUSTOM_USER_METADATAβ Provide a JSON string of custom metadata to be deserialized and stored under the build'sextra.custom_user_metadatafield--srpm [SRPM]β Build from an srpm. If no srpm is provided with this option an srpm will be generated from the current module content.--srpm-mockβ Build from an srpm. Source rpm will be generated in'mock'instead of'rpmbuild'.--root,--mock-config,-r CONFIGβ Override mock configuration (likemock -r)
πΈ centpkg sources πΈ
the little source-grabber, she's so real for this π
centpkg sources [-h] [--outdir OUTDIR] [--force] [--offline]
Download source files
β¨ options β¨
-h,--helpβ show this help message and exit--outdir OUTDIRβ Directory to download files into (defaults topwd)--forceβ Download all sources, even if unused or otherwise excluded by default.--offlineβ Don't connect to the Koji and try to work offline
π centpkg srpm π
Create a source rpm
This command wraps "rpmbuild -bs", roughly equivalent to:
rpmbuild -bs mypackage.spec --define "_topdir ."
--define "_sourcedir ." --define "_srcrpmdir ." --define
"dist .el8"
ok so, listen: to include files in the SRPM, the files must be in the current working directory (this depends on the package layout used), and you must reference each file withSourceXXXX:orPatchXXXX:directives in your.specfile. no shortcuts, bestie π
centpkg srpm [-h] [--builddir BUILDDIR]
[--buildrootdir BUILDROOTDIR] [--arch ARCH]
[--define DEFINE] [--md5] [--srpm-mock]
[--no-clean] [--no-cleanup-after]
[--no-clean-all] [--offline] [--root CONFIG]
...
π positional arguments π
extra_argsβ Custom arguments that are passed to the'rpmbuild'. Use'--'to separate them from other arguments.
β¨ options β¨
-h,--helpβ show this help message and exit--builddir BUILDDIRβ Define an alternate builddir--buildrootdir BUILDROOTDIRβ Define an alternate buildrootdir--arch ARCHβ Prep for a specific arch--define DEFINEβ Pass custom macros to rpmbuild, may specify multiple times--md5β Use md5 checksums (for older rpm hosts)--srpm-mockβ Create source rpm in'mock'instead of'rpmbuild'--no-clean,-nβ Only for--srpm-mock: Do not clean chroot before building package--no-cleanup-afterβ Only for--srpm-mock: Do not clean chroot after building if automatic cleanup is enabled--no-clean-all,-Nβ Only for--srpm-mock: Alias for both--no-cleanand--no-cleanup-after--offlineβ Don't connect to the Koji and try to work offline--root,--mock-config,-r CONFIGβ Override mock configuration (likemock -r)
π¦ centpkg switch-branch π¦
This command can switch to a local git branch. If provided with a remote branch name that does not have a local match it will create one. It can also be used to list the existing local and remote branches.
centpkg switch-branch [-h] [-l] [--fetch] [branch]
π positional arguments π
branchβ Branch name to switch to
β¨ options β¨
-h,--helpβ show this help message and exit-l,--listβ List both remote-tracking branches and local branches--fetchβ Fetch new data from remote before switch
π centpkg tag π
This command uses git to create, list, or delete tags.
centpkg tag [-h] [-f] [-m MESSAGE] [-c] [--raw] [-F FILE]
[-l] [-d]
[tag]
π positional arguments π
tagβ Name of the tag
β¨ options β¨
-h,--helpβ show this help message and exit-f,--forceβ Force the creation of the tag-m,--message MESSAGEβ Use the given<msg>as the tag message-c,--clogβ Generate the tag message from the spec changelog section--rawβ Make the clog raw-F,--file FILEβ Take the tag message from the given file-l,--listβ List all tags with a given pattern, or all if not pattern is given-d,--deleteβ Delete a tag
π centpkg unused-patches π
Print list of patches not referenced by name in the specfile.
centpkg unused-patches [-h]
β¨ options β¨
-h,--helpβ show this help message and exit
π§ centpkg upload π§
This command will upload new source file(s) to lookaside cache. Source file names are appended to sources file, and .gitignore will be also updated with new uploaded file(s). Please remember to commit them.
centpkg upload [-h] [--offline] files [files ...]
π positional arguments π
files
β¨ options β¨
-h,--helpβ show this help message and exit--offlineβ Do all the steps except uploading into lookaside cache
π centpkg verify-files π
Locally run 'rpmbuild -bl' to verify the spec file's %files sections. This requires a successful run of 'centpkg install' in advance.
centpkg verify-files [-h] [--builddir BUILDDIR]
[--buildrootdir BUILDROOTDIR]
[--arch ARCH] [--define DEFINE]
...
π positional arguments π
extra_argsβ Custom arguments that are passed to the'rpmbuild'. Use'--'to separate them from other arguments.
β¨ options β¨
-h,--helpβ show this help message and exit--builddir BUILDDIRβ Define an alternate builddir--buildrootdir BUILDROOTDIRβ Define an alternate buildrootdir--arch ARCHβ Prep for a specific arch--define DEFINEβ Pass custom macros to rpmbuild, may specify multiple times
β centpkg verrel β
Print the name-version-release.
centpkg verrel [-h]
β¨ options β¨
-h,--helpβ show this help message and exit
π SEE ALSO π
Nothing else linked up here bestie, that's the whole page π«Ά
and that's a wrap on centpkg π this page comes from the centpkg source, with its own version tag and date stamp down at the bottom β go check the footer for the exact version and date, they're right there iykyk slay, you read the whole thing, main character energy fr fr π
β¨
π¦ where this page comes from
- fedora 43: centpkg 0.11.0-1.fc43 Β· GPL-2.0-or-later
- fedora 44: centpkg 0.11.0-1.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms