From d433a74d305c929e1405b52d6cdf1327e1c277aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Wed, 10 Nov 2021 10:09:21 +0100 Subject: [PATCH] Add rpmlintrc and fix a few rpmlint warnings --- compiler-rt.rpmlintrc | 7 +++++++ compiler-rt.spec | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 compiler-rt.rpmlintrc diff --git a/compiler-rt.rpmlintrc b/compiler-rt.rpmlintrc new file mode 100644 index 0000000..6fda4c2 --- /dev/null +++ b/compiler-rt.rpmlintrc @@ -0,0 +1,7 @@ +# This is a devel package +addFilter("W: devel-file-in-non-devel-package") + +# These symlinks are dangling on x64_64 +addFilter("compiler-rt.x86_64: W: dangling-relative-symlink /usr/lib64/clang/[0-9]+.[0-9]+.[0-9]+/") + +addFilter("E: hardcoded-library-path in ../../lib/clang/") diff --git a/compiler-rt.spec b/compiler-rt.spec index 961455f..e5e6810 100644 --- a/compiler-rt.spec +++ b/compiler-rt.spec @@ -50,7 +50,7 @@ instrumentation, and Blocks C language extension. %py3_shebang_fix lib/hwasan/scripts/hwasan_symbolize %build -%cmake -GNinja \ +%cmake -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DLLVM_CONFIG_PATH:FILEPATH=%{_bindir}/llvm-config-%{__isa_bits} \ -DCMAKE_SKIP_RPATH:BOOL=ON \ @@ -112,13 +112,13 @@ popd %endif %changelog -* Fri Oct 01 2021 Tom Stellard -13.0.0-1 +* Fri Oct 01 2021 Tom Stellard - 13.0.0-1 - 13.0.0 Release * Wed Sep 22 2021 Tom Stellard - 13.0.0~rc3-1 - 13.0.0-rc3 Release -* Mon Aug 09 2021 Tom Stellard = 13.0.0~rc1-1 +* Mon Aug 09 2021 Tom Stellard - 13.0.0~rc1-1 - 13.0.0-rc1 Release * Wed Jul 21 2021 Fedora Release Engineering - 12.0.1-2