Add rpmlintrc

This suppresses errors incorrectly generated for tensile modules.

Signed-off-by: Egbert Eich <eich@suse.com>
This commit is contained in:
2025-08-02 12:04:14 +02:00
parent 09a815cc30
commit 78c6468afd
2 changed files with 6 additions and 0 deletions

3
rocblas.rpmlintrc Normal file
View File

@@ -0,0 +1,3 @@
# librocblas4-arch-.* are no shared libraries but modules loaded onto the GPU.
addFilter("rocblas-arch-.*: W: shared-lib-without-dependency-information")
addFilter("rocblas-arch-.*: E: shlib-fixed-dependency.")

View File

@@ -124,6 +124,7 @@ Url: https://github.com/ROCmSoftwarePlatform/%{upstreamname}
License: MIT AND BSD-3-Clause License: MIT AND BSD-3-Clause
Source0: %{url}/archive/refs/tags/rocm-%{rocm_version}.tar.gz#/%{upstreamname}-%{rocm_version}.tar.gz Source0: %{url}/archive/refs/tags/rocm-%{rocm_version}.tar.gz#/%{upstreamname}-%{rocm_version}.tar.gz
Source1: rocblas.rpmlintrc
Patch2: 0001-fixup-install-of-tensile-output.patch Patch2: 0001-fixup-install-of-tensile-output.patch
Patch4: 0001-offload-compress-option.patch Patch4: 0001-offload-compress-option.patch
Patch6: 0001-option-to-disable-roctracer-logging.patch Patch6: 0001-option-to-disable-roctracer-logging.patch
@@ -333,6 +334,8 @@ export LD_LIBRARY_PATH=%{_vpath_builddir}/library/src:$LD_LIBRARY_PATH
* Fri Aug 1 2025 Egbert Eich <eich@suse.com> - 6.4.2-5 * Fri Aug 1 2025 Egbert Eich <eich@suse.com> - 6.4.2-5
- Fix build and runtime dependencies of test package. - Fix build and runtime dependencies of test package.
- Enable Ninja on SUSE and Move bcond_with* settings to the top of spec file. - Enable Ninja on SUSE and Move bcond_with* settings to the top of spec file.
- Add rpmlitrc to suppress erroneous error messages when
building tensile module package.
* Tue Jul 29 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-4 * Tue Jul 29 2025 Tom Rix <Tom.Rix@amd.com> - 6.4.2-4
- Remove -mtls-dialect cflag - Remove -mtls-dialect cflag