Skip to content
Anton Novojilov edited this page May 25, 2020 · 6 revisions

Description

Checks all spec data for useless spaces.

Problematic code

%install
rm -rf %{buildroot}

%{make_install} PREFIX=%{buildroot}%{_prefix} ↵

Correct code

%install
rm -rf %{buildroot}

%{make_install} PREFIX=%{buildroot}%{_prefix}↵

Rationale

Sometimes you can forget to remove spaces on the end of the lines.

notice

Clone this wiki locally