PACKIT-BUILD-LOCALLY(1)

πŸ“¦
version 1.16.3 Β· 5 versions
, in fedora 43, fedora 44

πŸ’– PACKIT-BUILD-LOCALLY πŸ’–

okay bestie, so this is the manual page for packit build locally, from the packit build locally Manual. yes the name is a whole mouthful, we know, but it's giving "build your own RPMs at home, no CI required" and honestly? iconic. πŸŽ€


✨ NAME ✨

packit-build-locally β€” Create RPMs using content of the upstream... 🌸

yes the original literally trails off with ... at the end there. we are not editing that, it's canon. iykyk πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

packit build locally [OPTIONS] [PATH_OR_URL]

🌈 DESCRIPTION 🌈

So like, what does it do? It creates RPMs using content of the upstream repository. that's it, that's the vibe. 🫢

And PATH_OR_URL? It's the argument that's a local path or a URL to the upstream git repository. if you don't pass one at all, it defaults to the current working directory β€” so it just goes "fine, i'll use where i already am" and does its thing. main character energy fr fr. ✨


πŸ’… OPTIONS πŸ’…

okay this is the part you actually came for, no cap. every single one, in order, exactly as written:

  • --upstream-ref TEXT β€” Git ref of the last upstream commit in the current branch from which packit should generate patches. ⭐ heads up though: this option implies the repository is source-git. that's not me being dramatic, that's just what it does.
  • --update-release / --no-update-release β€” Specifies whether to update Release. Defaults to the value set in configuration, which itself defaults to yes. so yeah, if nobody says anything, the answer is yes. πŸ’–
  • --release-suffix TEXT β€” Specifies release suffix. lets you override the default generated {current_time}.{sanitized_current_branch}{git_desc_suffix}. like, you can be that specific, and honestly? slay.
  • --default-release-suffix β€” Allows you to use the default, packit-generated, release suffix when some release_suffix is specified in the configuration. so when your config is trying to be bossy, this is your escape hatch. 🧚
  • -p, --package TEXT β€” Package to build, if more than one available, like in a monorepo configuration. Use it multiple times to select multiple packages. Defaults to all the packages listed inside the config. πŸ‘‘ (monorepo girlies, this one's for you.)

πŸ’€ quick vibe check: --upstream-ref really does flip your repo into being treated as source-git. that's a meaning thing, not a styling thing. know it before you type it.

🌸 a lil sign-off 🌸

this page is from version 1.16.3, dated 2026-09-04, and it lives in the packit build locally Manual set. go build something cute, bestie. πŸŽ€βœ¨πŸ’œ

πŸ“¦ where this page comes from