<div dir="ltr">On 8 September 2016 at 20:19, Mark Hatle <span dir="ltr"><<a href="mailto:mark.hatle@windriver.com" target="_blank">mark.hatle@windriver.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">> -Â Â Â rm -f ${D}/${mandir}/man8/rpmcache.<wbr>8*<br>
> -Â Â Â rm -f ${D}/${mandir}/man8/rpmgraph.<wbr>8*<br>
> -Â Â Â rm -f ${D}/${mandir}/*/man8/<wbr>rpmcache.8*<br>
> -Â Â Â rm -f ${D}/${mandir}/*/man8/<wbr>rpmgraph.8*<br>
> -Â Â Â rm -rf ${D}/${mandir}/{fr,ko}<br>
<br>
</span>Above cases need to be removed. We do not support the rpmcache or rpmgraph, and<br>
at least for a long time the man pages were being generated for them. (If this<br>
is no longer true, and man pages ARE being generated they should be removed.)</blockquote><div><br></div><div>These manpages are not installed in the first place.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">
> -Â Â Â rm -f ${D}/${includedir}/popt.h<br>
> -Â Â Â rm -f ${D}/${libdir}/libpopt.*<br>
> -Â Â Â rm -f ${D}/${libdir}/pkgconfig/popt.<wbr>pc<br>
> -Â Â Â rm -f ${D}/${datadir}/locale/*/LC_<wbr>MESSAGES/popt.mo<br>
> -Â Â Â rm -f ${D}/${mandir}/man3/popt.3<br>
<br>
</span>We can use either an internal or external version of the popt library. If the<br>
internal version is used, we MUST remove all of these files. If the external<br>
version is used, the RPM won't end up doing anything.</blockquote><div><br></div><div>Okay, restored.</div><div>Â </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">
> -Â Â Â rm -f ${D}/${mandir}/man1/xar.1*<br>
> -Â Â Â rm -f ${D}/${bindir}/xar<br>
> -Â Â Â rm -rf ${D}/${includedir}/xar<br>
> -Â Â Â rm -f ${D}/${libdir}/libxar*<br></span></blockquote><div><br></div><div>xar is a PACKAGECONFIG which is disabled by default, so removing the files if it is enabled seems wrong.</div><div>Â </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">
> -Â Â Â rm -f ${D}/${bindir}/lz*<br>
> -Â Â Â rm -f ${D}/${bindir}/unlzma<br>
> -Â Â Â rm -f ${D}/${bindir}/unxz<br>
> -Â Â Â rm -f ${D}/${bindir}/xz*<br>
> -Â Â Â rm -rf ${D}/${includedir}/lzma*<br>
> -Â Â Â rm -f ${D}/${mandir}/man1/lz*.1<br>
> -Â Â Â rm -f ${D}/${libdir}/pkgconfig/<wbr>liblzma*<br>
<br>
</span>Above files may be generated in some configurations. (Possible that is no<br>
longer true.</blockquote><div><br></div><div>Doesn't appear to be true any more: rpm links to an external xz.</div><div>Â </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Â > -Â Â Â rm -f ${D}${PYTHON_SITEPACKAGES_DIR}<wbr>/*.a</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">
>Â Â Â Â rm -f ${D}${PYTHON_SITEPACKAGES_DIR}<wbr>/*.la<br>
> -Â Â Â rm -f ${D}${PYTHON_SITEPACKAGES_DIR}<wbr>/rpm/*.a<br>
>Â Â Â Â rm -f ${D}${PYTHON_SITEPACKAGES_DIR}<wbr>/rpm/*.la<br>
<br>
</span>The .a files were removed because we didn't want anyone statically linking to<br>
python.a, not sure they they were being produced to begin with.. but that is why<br>
that was there.</blockquote><div><br></div><div>Nothing is installing these but I suspect this is a side-effect of Poky's no-static-libs change, so I'll remove this. <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">> -   rm -f ${D}/${libdir}/rpm/libsqldb.*<br>
> -<br>
<br>
</span>If 'sqlite' support is enabled in RPM, the above should be removed. It will<br>
clash with external components.</blockquote><div><br></div><div>Done.</div><div>Â </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-"><br>
> -Â Â Â # We don't want, nor need the Mandriva multiarch items<br>
> -Â Â Â rm -f ${D}/${bindir}/multiarch-<wbr>dispatch<br>
> -Â Â Â rm -f ${D}/${bindir}/multiarch-<wbr>platform<br>
> -Â Â Â rm -f ${D}/${libdir}/rpm/check-<wbr>multiarch-files<br>
> -Â Â Â rm -f ${D}/${libdir}/rpm/mkmultiarch<br>
> -Â Â Â rm -f ${D}/${includedir}/multiarch-<wbr>dispatch.h<br>
> -<br>
<br>
</span>Again, some configs may produce these.. if they're not produced in our config we<br>
can remove it.</blockquote><div><br></div><div>Not anymore apparently:</div><div><br></div><div>noinst_SCRIPTS += multiarch-dispatch multiarch-platform</div><div>noinst_SCRIPTS += check-multiarch-files mkmultiarch</div><div>noinst_HEADERS = multiarch-dispatch.h</div><div>Â </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="gmail-">
>Â Â Â Â rm -f ${D}/${libdir}/rpm/gstreamer.<wbr>sh<br>
>Â Â Â Â rm -f ${D}/${libdir}/rpm/gem_helper.<wbr>rb<br>
>Â Â Â Â rm -f ${D}/${libdir}/rpm/rubygems.rb<br>
> @@ -610,12 +567,10 @@ do_install_append() {<br>
>Â Â Â Â rm -f ${D}/${libdir}/rpm/macros.d/<wbr>kernel<br>
>Â Â Â Â rm -f ${D}/${libdir}/rpm/macros.d/<wbr>gstreamer<br>
>Â Â Â Â rm -f ${D}/${libdir}/rpm/bin/mgo<br>
> -Â Â Â rm -f ${D}/${libdir}/rpm/bin/<wbr>dbconvert<br>
<br>
</span>dbconvert is not useful for us.. it used to be provided, so we removed it.</blockquote><div><br></div><div>This doesn't get installed anymore.</div><div><br></div><div>V2 incoming.</div><div><br></div><div>Ross</div></div></div></div>