PACKIT-SRPM(1)
π PACKIT-SRPM β the manual, but make it cute π
okay bestie, welcome to packit-srpm(1), from the packit srpm manual. yes this is the one that makes you a shiny little SRPM. sit down, hydrate, let's go β¨
πΈ NAME πΈ
packit-srpm β Create new SRPM (.src.rpm file) usingβ¦ (yes the original description literally trails off like that, it's giving mysterious, we keep it π)
π¦ SYNOPSIS π¦
packit srpm [OPTIONS] [PATH_OR_URL]
β¨ DESCRIPTION β¨
So basically: this command creates a brand new SRPM (.src.rpm file) using the content of the upstream repository. that's it, that's the job. iconic behaviour fr fr π
The PATH_OR_URL argument is either a local path or a URL pointing at the upstream git repository. and if you're feeling lazy (no judgement, it's a vibe), it defaults to the current working directory. lowkey convenient.
π OPTIONS π
--output FILEβ write the SRPM to FILE instead of dropping it in the current dir. like, put it somewhere specific, main character energy.--upstream-ref TEXTβ the git ref of the last upstream commit in the current branch, and it's the one packit should generate patches from. heads up bestie: this option implies the repository is source-git. no take-backs π«Ά--update-release/--no-update-releaseβ says whether to update Release or not. it defaults to whatever value is set in the configuration, and that config defaults toyes. so yes unless told otherwise β¨--preserve-specβ do not update the spec file while creating the SRPM (and yes, it implies--no-update-release). by default, the spec file is updated. so only use this if you want the spec left exactly as it is π--bump/--no-bumpβ deprecated. like, retired. please use--[no-]update-releaseinstead. we don't do that anymore π--release-suffix TEXTβ sets the release suffix. this lets you override the default, which isgenerated:{current_time}.{sanitized_current_branch}{git_desc_suffix}. yes that's the whole template, character for character, go off π--default-release-suffixβ lets you use the default packit-generated release suffix when somerelease_suffixis specified in the configuration. so you can be like "no actually, do the default one" π-p,--package TEXTβ the package to source build, in case there's more than one available (monorepo configuration, we see you). use it multiple times to select multiple packages. defaults to all the packages listed inside the config. collect them all π
π SEE ALSO π
(no SEE ALSO section in the original, bestie β nothing to reference, so nothing to link. we stay honest in this group chat π)
heads up:--bump/--no-bumpis deprecated, so don't build your whole personality around it. use--[no-]update-release. and remember--preserve-specquietly drags--no-update-releasealong with it, iykyk.
okay that's the whole page!! you're gonna slay this SRPM build, I just know it π¦π
signing off with all the love: this was packit srpm manual, version 1.16.3, dated 2026-09-04. mwah, go build something cute π β¨π
π¦ where this page comes from
- fedora 43: packit 1.16.3-1.fc43 Β· MIT
- fedora 44: packit 1.16.3-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms