Fedora:...:Config(3)

πŸ“¦
version 0.12.1 Β· 2 versions
, in fedora 43

✨ NAME ✨

Fedora::Rebuild::Package::Config β€” the lil config bestie for building a package 🫢


πŸŽ€ DESCRIPTION πŸŽ€

okay so, this is the Configuration object for building a package. that's the whole vibe. it's giving "settings holder" and it's lowkey iconic at it.

heads up bestie: this object and its members are not shared. like, at all. no cap. everybody gets their own, don't go passing it around expecting shared state because that is not the vibe. πŸ™ˆ

🌸 Constructor arguments and read only accessors 🌸

these are the things you hand over when you construct it, and you can read them back after β€” read only, so no touching, just looking πŸ’…

⭐ mode

A "Mode" type. she's got three moods and you gotta pick one:

  • pass "local" β€” committing and building locally only
  • pass "mock" β€” committing localy and building in mock
  • pass "koji" β€” pushing commits and building in Koji

pick your fighter, periodt. πŸ‘‘

πŸ¦‹ repositories

Reference to array of repository URLs. usually points at a Fedora mirror or a Koji repository (that's baseurl in YUM terminology, iykyk). this one is needed for the "mock" build "mode", so don't come to the mock party without it. πŸŽ€

πŸ’œ architecture

RPM architecture name, e.g. x86_64. that's it, that's the whole thing, short and slay. ✨

🌈 mock_install_group

the yum group to install at mock chroot initialization. and listen:

  • "buildsys-build" is needed for mirrored Fedora repositories
  • "build" is needed for direct koji repositories

so like, choose based on which repo situation you're in, otherwise the chroot init is gonna be a whole mess. 😭


and that's the entire config page, bestie, you ate that πŸ’–

this lil cutie is documented as User Contributed Perl Documentation, running on perl v5.42.0, dated 2025-07-25. mwah, go build something gorgeous 🧚✨

πŸ“¦ where this page comes from