rpm-software-management / spec-cleaner

spec-cleaner
BSD 3-Clause "New" or "Revised" License
28 stars 34 forks source link

Whitespace option #168

Closed matejcik closed 7 years ago

matejcik commented 7 years ago

This introduces the capability to retain empty lines in the preamble section. They are treated same as comments, IOW, empty lines attach to the top of the nearest non-empty, non-comment line.

This allows users to separate sections in preamble by empty lines, without spec-cleaner messing up their stuff.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.06%) to 92.889% when pulling 04f4a4bd0f67cd5b7df4b2e3698cbcd27e2ef019 on matejcik:whitespace-option into c2737753e11a027f18647f44b174e91e9ef3ae27 on openSUSE:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.06%) to 92.889% when pulling 04f4a4bd0f67cd5b7df4b2e3698cbcd27e2ef019 on matejcik:whitespace-option into c2737753e11a027f18647f44b174e91e9ef3ae27 on openSUSE:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.06%) to 92.889% when pulling 04f4a4bd0f67cd5b7df4b2e3698cbcd27e2ef019 on matejcik:whitespace-option into c2737753e11a027f18647f44b174e91e9ef3ae27 on openSUSE:master.

scarabeusiv commented 7 years ago

This looks like subset of the other pull... you should've submitted from different braches to have it in 2 parts, anyway it looks fine so I shall merge the one containing all things.