Skip to content
ᴀɴᴛᴏɴ ɴᴏᴠᴏᴊɪʟᴏᴠ edited this page Jun 23, 2024 · 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.

Clone this wiki locally