Alien:...ge::Lsb(3pm)

πŸ‘‘ NAME πŸ‘‘

Alien::Package::Lsb β€” bestie, it's literally an object that represents a lsb package πŸ’…βœ¨


✨ DESCRIPTION ✨

okay so real talk: this is an object class, and what it represents is a lsb package. that's the whole vibe. and the way it's derived from Alien::Package::Rpm? iconic. it inherits everything, it just has its own little lsb-flavored twist πŸŽ€


🧚 METHODS 🧚

checkfile

so how do we even know something's a lsb file? lsb files are rpm's with a lsb- prefix, and they depend on a package called lsb and nothing else. that's it. that's the whole check. no cap 🫢

scan

this one uses the parent scan method to actually read the file. and then? lsb gets added to the depends. slay πŸ’–

prep

the parent's prep method is what generates the spec file. but first β€” and this is the important part β€” the package's name gets munged to make it lsb compliant (sorta 😭), and lsb gets added to its dependencies. so yeah, two little makeovers before the real work starts πŸ’…

revert

this undoes the changes that prep made. ctrl+z energy, but make it official 🌸

build

uses the parent's build method. and if a lsb-rpmbuild is available, it uses that to build the package instead. fancy πŸ¦‹

incrementrelease

nope. LSB package versions are not changed. periodt. they stay exactly how they are πŸ’€


πŸ’œ AUTHOR πŸ’œ

Joey Hess <joey@kitenet.net> β€” the icon who wrote this, we love them for it πŸ‘‘


and that's a wrap, bestie πŸŽ€ this page came to you courtesy of perl v5.40.1, dated 2025-10-08. go forth and lsb responsibly 🌈⭐

πŸ“¦ where this page comes from