Add rpmlintrc and fix a few rpmlint warnings

This commit is contained in:
Timm Bäder 2021-11-10 10:09:21 +01:00
parent 6dd5cb570c
commit d433a74d30
2 changed files with 10 additions and 3 deletions

7
compiler-rt.rpmlintrc Normal file
View File

@ -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/")

View File

@ -50,7 +50,7 @@ instrumentation, and Blocks C language extension.
%py3_shebang_fix lib/hwasan/scripts/hwasan_symbolize %py3_shebang_fix lib/hwasan/scripts/hwasan_symbolize
%build %build
%cmake -GNinja \ %cmake -GNinja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLLVM_CONFIG_PATH:FILEPATH=%{_bindir}/llvm-config-%{__isa_bits} \ -DLLVM_CONFIG_PATH:FILEPATH=%{_bindir}/llvm-config-%{__isa_bits} \
-DCMAKE_SKIP_RPATH:BOOL=ON \ -DCMAKE_SKIP_RPATH:BOOL=ON \
@ -112,13 +112,13 @@ popd
%endif %endif
%changelog %changelog
* Fri Oct 01 2021 Tom Stellard <tstellar@redhat.com> -13.0.0-1 * Fri Oct 01 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-1
- 13.0.0 Release - 13.0.0 Release
* Wed Sep 22 2021 Tom Stellard <tsellar@redhat.com> - 13.0.0~rc3-1 * Wed Sep 22 2021 Tom Stellard <tsellar@redhat.com> - 13.0.0~rc3-1
- 13.0.0-rc3 Release - 13.0.0-rc3 Release
* Mon Aug 09 2021 Tom Stellard <tstellar@redhat.com> = 13.0.0~rc1-1 * Mon Aug 09 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc1-1
- 13.0.0-rc1 Release - 13.0.0-rc1 Release
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.1-2 * Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.1-2