spec-beautifier(1)

πŸ“¦
this version Β· 2 versions
, in debian bookworm, debian trixie, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing

✨ Name ✨

spec-beautifier β€” bestie's lil program that cleans up RPM .spec files πŸ’…


🌸 Syntax 🌸

spec-beautifier [-d|-r] [file...]

πŸ¦‹ Description πŸ¦‹

okay so. spec-beautifier is your new main character ✨ It checks .spec files β€” yk, the ones rpmbuild(1) uses β€” for inconsistencies, and where it can, it just... fixes them. slay. πŸ’–

But when it can't fix something? it doesn't ghost you. it emits a warning to let you know that manual intervention is required β€” like, bestie, this one's on you fr fr πŸ™ˆ


πŸ’… Options πŸ’…

lowkey iconic: if you pass no options at all, the files get processed and the result goes straight to stdout. it's giving... dry run energy. you get to see the glow-up before committing to it πŸŽ€

  • -d β€” instead of printing the substituted text, it prints a diff-like output with - and + lines, showing you exactly which differences got applied. so you can vibe check every single change πŸ‘‘
  • -r β€” not-so-dry run: it modifies files in place. no takebacks. the changes are real now, bestie πŸ’€
heads up: -r edits your actual files. dry run first if you're feeling cautious. 🫢

🌈 See also 🌈


that's the whole thing, my love 🧚 this page came to you from hxtools, dated 2010-12-01 β€” iconic since way back, no cap ⭐ hope this helped!! mwah πŸ’–πŸ’…

πŸ“¦ where this page comes from