rpm-software-management / spec-cleaner

spec-cleaner
BSD 3-Clause "New" or "Revised" License
27 stars 33 forks source link

spec-cleaner doesn't care about `%{python_sitelib}/*` in `%files` #312

Closed MeggyCal closed 10 months ago

MeggyCal commented 10 months ago

There are still packages which end their files section with %{python_sitelib}/*.

But this is improper and rpmlint complains about it. It is considered a better approach to substitute the line with

%{python_sitelib}/packagename
%{python_sitelib}/packagename-%{version}*-info

Currently spec-cleaner doesn't do that, but it would be nice if it did. I don't know how to implement it, sorry.