[Starlingx-discuss] huge number of duplicated .pyo and .pyc files in packages

Dominig ar Foll (Intel Open Source) dominig.arfoll at fridu.net
Mon Sep 16 17:15:47 UTC 2019


Hello,

I have just reworked the package "starlingx-dashboard" to read source
from git.
At build time, I have 189 warning which leads to an error (badness >100)
which is well deserved.

Obviously I can hide the error with an %fdupes macro but I do not like it.

Do we need all those duplication in the installed packages ?
Could it be made a bit cleaner by the package owner ?

Thanks.

-- 
Dominig ar Foll
Senior Software Architect
Intel Open Source Technology Centre

....
[   11s] starlingx-dashboard.noarch: W: files-duplicate /usr/lib/python2.7/site-packages/starlingx_dashboard/templatetags/getvalue.pyo /usr/lib/python2.7/site-packages/starlingx_dashboard/templatetags/getvalue.pyc
[   11s] starlingx-dashboard.noarch: W: files-duplicate /usr/lib/python2.7/site-packages/starlingx_dashboard/utils/__init__.pyo /usr/lib/python2.7/site-packages/starlingx_dashboard/utils/__init__.pyc
[   11s] starlingx-dashboard.noarch: W: files-duplicate /usr/lib/python2.7/site-packages/starlingx_dashboard/utils/objectify.pyc /usr/lib/python2.7/site-packages/starlingx_dashboard/utils/objectify.pyo
[   11s] starlingx-dashboard.noarch: W: files-duplicate /usr/lib/python2.7/site-packages/starlingx_dashboard/version.pyc /usr/lib/python2.7/site-packages/starlingx_dashboard/version.pyo
[   11s] starlingx-dashboard.noarch: W: no-version-in-last-changelog
[   11s] starlingx-dashboard.src: W: no-version-in-last-changelog
[   11s] The latest changelog entry doesn't contain a version. Please insert the
[   11s] version that is coherent with the version of the package and rebuild it.
[   11s] ...
[   11s] 2 packages and 0 specfiles checked; 1 errors, 189 warnings.
[   11s] starlingx-dashboard.noarch: E: files-duplicated-waste (Badness: 100) 916345






More information about the Starlingx-discuss mailing list