DOKK / manpages / debian 12 / hxtools / spec-beautifier.1.en
spec-beautifier(1) hxtools spec-beautifier(1)

spec-beautifier — program to clean up RPM .spec files

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

spec-beautifier checks .spec files, as used for rpmbuild(1), for inconsistencies and corrects them where possible, or emits a warnings to notify the user of required manual intervention.

Without any options, the files are processed and the result is written to stdout (sort of a dry run).

Instead of printing the substituted text, print a diff-like output with "-" and "+" lines, showing the differences applied.
Not so dry run: Modify files in place.

hxtools(7)

2010-12-01 hxtools