From 5eabb0b0b3358077e1d1decf26dc6ba290f3c804 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 10 Aug 2018 12:41:09 -0700 Subject: [PATCH] Remove backup files from %%configure munging --- rust.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rust.spec b/rust.spec index a876a1c..04de83a 100644 --- a/rust.spec +++ b/rust.spec @@ -494,6 +494,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?