<div dir="ltr">Bump. Any takers (see below)? Would really help me out with mess induced by <a href="https://build.merproject.org/package/show/home:rinigus:maps/mapbox-demo-sfos">https://build.merproject.org/package/show/home:rinigus:maps/mapbox-demo-sfos</a> at the corresponding repo.<div><br></div><div>Rinigus</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 16, 2017 at 10:17 AM, rinigus <span dir="ltr"><<a href="mailto:rinigus.git@gmail.com" target="_blank">rinigus.git@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I have a trouble with excluding libstdc++ requirements from RPM. In my case, I compile the code with gcc-6.4 and include libstdc++ as an app-shipped library through /usr/share/appname/lib . Maybe someone could help to construct exclude define - I didn't managed to cure the requirements in spec using macro section</div><div>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(205,139,0)"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#000000"><span style="text-decoration-line:underline">%</span>define __provides_exclude_from ^<span style="text-decoration-line:underline">%</span>{_datadir}/.*$</font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font color="#000000"><span style="text-decoration-line:underline">%</span>define __requires_exclude ^libstdc*$</font></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(205,139,0)"><br></span></pre>Not sure what I am doing wrong in this case. It would really speed me up if I can get over this bump. RPM checker errors are:<pre style="margin-top:0px;margin-bottom:0px"><br></pre></div><div>
<p style="margin:0px"><span style="color:rgb(170,0,0)">ERROR</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">libstdc++.so.6(CXXABI_1.3.8)</span><span style="color:rgb(0,0,0)">] Cannot require shared library: 'libstdc++.so.6(CXXABI_1.3.8)'</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">ERROR</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">libstdc++.so.6(CXXABI_1.3.9)</span><span style="color:rgb(0,0,0)">] Cannot require shared library: 'libstdc++.so.6(CXXABI_1.3.9)'</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">ERROR</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">libstdc++.so.6(GLIBCXX_3.4.<wbr>20)</span><span style="color:rgb(0,0,0)">] Cannot require shared library: 'libstdc++.so.6(GLIBCXX_3.4.<wbr>20)'</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">ERROR</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">libstdc++.so.6(GLIBCXX_3.4.<wbr>21)</span><span style="color:rgb(0,0,0)">] Cannot require shared library: 'libstdc++.so.6(GLIBCXX_3.4.<wbr>21)'</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">ERROR</span><span style="color:rgb(0,0,0)"> [</span><span style="color:rgb(0,0,170)">libstdc++.so.6(GLIBCXX_3.4.<wbr>22)</span><span style="color:rgb(0,0,0)">] Cannot require shared library: 'libstdc++.so.6(GLIBCXX_3.4.<wbr>22)'</span></p><p style="margin:0px"><span style="color:rgb(0,0,0)"><br></span></p><p style="margin:0px"><span style="color:rgb(0,0,0)">Please note that, at this stage, I would prefer to ship libstdc++ lib version with the application.</span></p><p style="margin:0px"><span style="color:rgb(0,0,0)"><br></span></p><p style="margin:0px"><span style="color:rgb(0,0,0)">Cheers,</span></p><p style="margin:0px"><span style="color:rgb(0,0,0)"><br></span></p><p style="margin:0px"><span style="color:rgb(0,0,0)">Rinigus</span></p></div></div>
</blockquote></div><br></div></div>