Skip to content

Commit e90e592

Browse files
cursoragentlovasoa
andcommitted
Disable debug packages for Rust binaries
Co-authored-by: contact <[email protected]>
1 parent 3d047cf commit e90e592

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rpm/sqlpage.spec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ Source0: https://github.com/sqlpage/SQLPage/archive/v%{version}.tar.gz
1010
# Disable automatic shebang mangling - Rust source files use #! for attributes, not shebangs
1111
%undefine __brp_mangle_shebangs
1212

13+
# Disable automatic debug packages - Rust binaries don't work well with standard RPM debug extraction
14+
%global debug_package %{nil}
15+
1316
# Note: cargo/rust listed for local builds; CI uses --nodeps flag with toolchain action
1417
BuildRequires: rust >= 1.70
1518
BuildRequires: cargo >= 1.70

0 commit comments

Comments
 (0)