diff --git a/rust.spec b/rust.spec index bada8f3..b963115 100644 --- a/rust.spec +++ b/rust.spec @@ -501,6 +501,9 @@ find %{buildroot}%{_libdir} -maxdepth 1 -type f -name '*.so' \ # Remove installer artifacts (manifests, uninstall scripts, etc.) find %{buildroot}%{rustlibdir} -maxdepth 1 -type f -exec rm -v '{}' '+' +# Remove backup files from %%configure munging +find %{buildroot}%{rustlibdir} -type f -name '*.orig' -exec rm -v '{}' '+' + # FIXME: __os_install_post will strip the rlibs # -- should we find a way to preserve debuginfo?