brp-verify_elf: Set default lint mode to "relaxed", add "default" mode
This commit is contained in:
parent
77c93a9c97
commit
d908f56dc4
@ -27,7 +27,7 @@ cd "$RPM_BUILD_ROOT"
|
||||
|
||||
export VERIFY_ELF_ARCH=normal
|
||||
export VERIFY_ELF_FHS=normal
|
||||
export VERIFY_ELF_LINT=normal
|
||||
export VERIFY_ELF_LINT=relaxed
|
||||
export VERIFY_ELF_RPATH=normal
|
||||
export VERIFY_ELF_STACK=normal
|
||||
export VERIFY_ELF_TEXTREL=normal
|
||||
@ -60,6 +60,15 @@ for t in `printf %s "$RPM_VERIFY_ELF_METHOD" |tr , ' '`; do
|
||||
unresolved=?*)
|
||||
VERIFY_ELF_UNRESOLVED="${t#unresolved=}"
|
||||
;;
|
||||
default)
|
||||
VERIFY_ELF_ARCH=normal
|
||||
VERIFY_ELF_FHS=normal
|
||||
VERIFY_ELF_LINT=relaxed
|
||||
VERIFY_ELF_RPATH=normal
|
||||
VERIFY_ELF_STACK=normal
|
||||
VERIFY_ELF_TEXTREL=normal
|
||||
VERIFY_ELF_UNRESOLVED=normal
|
||||
;;
|
||||
normal)
|
||||
VERIFY_ELF_ARCH=normal
|
||||
VERIFY_ELF_FHS=normal
|
||||
|
Loading…
Reference in New Issue
Block a user