spec-beautifier(1)

spec-beautifier1

Program to clean up rpm .spec files

Usage

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

Overview

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.

Options

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

-d

Instead of printing the substituted text, print a diff-like output with "-" and "+" lines, showing the differences applied.

-r

Not so dry run: Modify files in place.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10–11
  2. 12–13

From hxtools 20231224-2+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.