Hi, 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
%define __provides_exclude_from ^%{_datadir}/.*$ %define __requires_exclude ^libstdc*$ 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: ERROR [libstdc++.so.6(CXXABI_1.3.8)] Cannot require shared library: 'libstdc++.so.6(CXXABI_1.3.8)' ERROR [libstdc++.so.6(CXXABI_1.3.9)] Cannot require shared library: 'libstdc++.so.6(CXXABI_1.3.9)' ERROR [libstdc++.so.6(GLIBCXX_3.4.20)] Cannot require shared library: 'libstdc++.so.6(GLIBCXX_3.4.20)' ERROR [libstdc++.so.6(GLIBCXX_3.4.21)] Cannot require shared library: 'libstdc++.so.6(GLIBCXX_3.4.21)' ERROR [libstdc++.so.6(GLIBCXX_3.4.22)] Cannot require shared library: 'libstdc++.so.6(GLIBCXX_3.4.22)' Please note that, at this stage, I would prefer to ship libstdc++ lib version with the application. Cheers, Rinigus
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org