diff --git a/rust-rpmlintrc b/rust-rpmlintrc index 063c1d4..43fe48f 100644 --- a/rust-rpmlintrc +++ b/rust-rpmlintrc @@ -20,4 +20,4 @@ addFilter("clippy.x86_64: W: useless-provides clippy") addFilter("rustfmt.x86_64: W: useless-provides rustfmt") # error when building with bootstrap. ignore for now -addFilter(".*shlib-policy-name-error.*libLLVM-8.*") +addFilter(".*shlib-policy-name-error.*libLLVM-11.*") diff --git a/rust.changes b/rust.changes index ad785fc..f97ae76 100644 --- a/rust.changes +++ b/rust.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Nov 20 13:40:04 UTC 2020 - Manfred Hollstein + +- Make all shared libraries in %{common_libdir} executable; otherwise + fdupes will not find any duplicates in %{rustlibdir}. + +------------------------------------------------------------------- +Thu Nov 5 09:27:56 UTC 2020 - Manfred Hollstein + +- rust-rpmlintrc: Reflect updated LLVM name in the filter. + ------------------------------------------------------------------- Sun Oct 11 22:43:36 UTC 2020 - William Brown diff --git a/rust.spec b/rust.spec index fc8cac1..496bb3c 100644 --- a/rust.spec +++ b/rust.spec @@ -518,6 +518,9 @@ rm %{buildroot}%{_docdir}/%{name}/*.old # Remove installer artifacts (manifests, uninstall scripts, etc.) find %{buildroot}%{rustlibdir} -maxdepth 1 -type f -exec rm -v '{}' '+' +# The shared libraries should be executable to allow fdupes find duplicates. +find %{buildroot}%{common_libdir} -maxdepth 1 -type f -name '*.so' -exec chmod -v +x '{}' '+' + # The shared libraries should be executable for debuginfo extraction. find %{buildroot}%{rustlibdir} -maxdepth 1 -type f -name '*.so' -exec chmod -v +x '{}' '+'