Skip to content

Commit f418d32

Browse files
cursoragentlovasoa
andcommitted
Disable shebang mangling for Rust source files
Co-authored-by: contact <[email protected]>
1 parent 4880aa5 commit f418d32

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
@@ -7,6 +7,9 @@ License: MIT
77
URL: https://sql-page.com
88
Source0: https://github.com/sqlpage/SQLPage/archive/v%{version}.tar.gz
99

10+
# Disable automatic shebang mangling - Rust source files use #! for attributes, not shebangs
11+
%undefine __brp_mangle_shebangs
12+
1013
BuildRequires: rust >= 1.70
1114
BuildRequires: cargo >= 1.70
1215
BuildRequires: openssl-devel

0 commit comments

Comments
 (0)