From 3ac3f3b803c831eeb9a1ec1887128bb7c99ca59e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Thu, 28 Oct 2021 13:23:54 +0200 Subject: [PATCH] Add a few rpmlint exceptions --- llvm.rpmlintrc | 16 ++++++++++++++++ llvm.spec | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/llvm.rpmlintrc b/llvm.rpmlintrc index 9fc0be6..7ae23e2 100644 --- a/llvm.rpmlintrc +++ b/llvm.rpmlintrc @@ -1,2 +1,18 @@ # This library has no dependencies. addFilter("llvm-libs.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libRemarks.so.[0-9]+") +addFilter("llvm-googletest.x86_64: W: devel-file-in-non-devel-package") + +# same for llvm-test utilities +addFilter("llvm-test.x86_64: W: no-manual-page-for-binary") + +# Don't warn about libs in llvm-libs +addFilter("llvm-libs.x86_64: W: devel-file-in-non-devel-package /usr/lib64/lib") +# These is ok in the llvm gold plugin +addFilter("llvm-libs.x86_64: W: shared-lib-calls-exit /usr/lib64/LLVMgold.so") +addFilter("llvm-libs.x86_64: W: no-soname /usr/lib64/LLVMgold.so") + +# These are without documentation +addFilter("llvm-googletest.x86_64: W: no-documentation") +addFilter("llvm-libs.x86_64: W: no-documentation") +addFilter("llvm-static.x86_64: W: no-documentation") +addFilter("llvm-test.x86_64: W: no-documentation") diff --git a/llvm.spec b/llvm.spec index 00ca698..201fc93 100644 --- a/llvm.spec +++ b/llvm.spec @@ -221,7 +221,7 @@ LLVM's modified googletest sources. %endif # force off shared libs as cmake macros turns it on. -%cmake -G Ninja \ +%cmake -G Ninja \ -DBUILD_SHARED_LIBS:BOOL=OFF \ -DLLVM_PARALLEL_LINK_JOBS=1 \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \