rpm-software-management / spec-cleaner

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

Do not set defattr on the files #194

Closed scarabeusiv closed 7 years ago

scarabeusiv commented 7 years ago

If in default value it is equal to what rpm already does -> less lines.

luizluca commented 6 years ago

@scarabeusiv , this introduces a warning for SLE12 packages. Should I add something in my project config or rpmlintrc to avoid it?

luizluca commented 6 years ago

For SLE11, it even breaks build

scarabeusiv commented 6 years ago

That is on purpose, the warning on SLE12 is nill and was there only for sle11 compatibility.

As having support in spec-files prepared for SLE15 to build them on sle11 is bit overkill we always plan to support -1 of the codestreams. You can fix this by projectcfg declaration in obs to make even sle11 work, it just does not have the default value that is present since openSUSE 12.0.