On 02/02/2017 06:41 PM, Josh Stone wrote:
So my tentative plan is:
- Stop stripping .rustc from the libraries.
- Also have to set _find_debuginfo_opts -g, so eu-strip will
leave the unallocated section alone. (It's very eager.)
- Package the rustlib/ libraries in the base rust.rpm.
- Remove the %{_libdir} libraries that are identical anyway, and
instead install an entry to rustlib/ in /etc/ld.so.conf.d/.
- Continue the requires/provides filtering.
- Continue shipping *.rlib in rust-std-static.
- This still works for multilib/cross-compiling too.
I've done this -- everything seems to work great locally. See the spec
and its diff attached, and let me know if there's anything else you'd
like to tweak right now.
There will probably be a quick 1.15.1 point release for a soundness bug
in one of the new APIs (rust#39466), so I think I'll wait for that
before sending a proper build out to koji.