SHA256
1
0
forked from pool/rust

Accepting request 849988 from devel:languages:rust

OBS-URL: https://build.opensuse.org/request/show/849988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust?expand=0&rev=59
This commit is contained in:
Dominique Leuenberger 2020-11-26 22:10:45 +00:00 committed by Git OBS Bridge
commit b11d3aea4d
3 changed files with 15 additions and 1 deletions

View File

@ -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.*")

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Nov 20 13:40:04 UTC 2020 - Manfred Hollstein <manfred.h@gmx.net>
- 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 <manfred.h@gmx.net>
- rust-rpmlintrc: Reflect updated LLVM name in the filter.
-------------------------------------------------------------------
Sun Oct 11 22:43:36 UTC 2020 - William Brown <william.brown@suse.com>

View File

@ -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 '{}' '+'