Neal Gompa
2b26fbdfa0
This request actually fixes two issues: - rust-rpmlintrc: Reflect updated LLVM name in the filter. #1: LLVM got updated to version 11, but the rpmlint filter does not reflect it. Fixes: rust.x86_64: E: shlib-policy-name-error (Badness: 10000) libLLVM-11-rust-1_47_0-stable Your package contains a single shared library but is not named after its SONAME. - Make all shared libraries in %{common_libdir} executable; otherwise the %{fdupes} macro will not find any duplicates in %{rustlibdir}. #2: Files which only differ in their protection bits (i.e. execution bit in this case) will not be replaced by a hard link using the %{fdupes} call. This patch fixes: rust.x86_64: E: files-duplicated-waste (Badness: 100) 4349464 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. Files in question are from /usr/lib/ and /usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/ OBS-URL: https://build.opensuse.org/request/show/849719 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=269
24 lines
962 B
Plaintext
24 lines
962 B
Plaintext
# filters for rust-src
|
|
addFilter("devel-dependency rust-std-static")
|
|
addFilter("devel-file-in-non-devel-package.*/usr/lib/rustlib/src/.*")
|
|
|
|
# rlib not in elf format
|
|
addFilter("binaryinfo-readelf-failed.*/usr/lib/rustlib/.*rlib")
|
|
|
|
# rust has no stable ABI as of yet, soname is of no use yet
|
|
addFilter("no-soname.*/usr/lib/rustlib/.*")
|
|
addFilter("no-soname.*/usr/lib/lib*")
|
|
|
|
# tool versions don't always change at same pace as rustc
|
|
addFilter("clippy.x86_64: W: no-version-in-last-changelog")
|
|
addFilter("rls.x86_64: W: no-version-in-last-changelog")
|
|
addFilter("rust-analysis.x86_64: W: no-version-in-last-changelog")
|
|
addFilter("rustfmt.x86_64: W: no-version-in-last-changelog")
|
|
|
|
# we use a "provides =" with version to set the version correctly
|
|
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-11.*")
|