patch-git: Add auto-generated/ prefix to Source: files
This suppresses a centpkg pre-push-check failure. Resolves: RHEL-121748
This commit is contained in:
parent
0cdd6d71bb
commit
c3e975cbcf
@ -576,12 +576,18 @@ local function emit_sources()
|
||||
max = tointeger(k)
|
||||
end
|
||||
end
|
||||
|
||||
-- The centpkg pre-push-check recognizes this prefix on Source
|
||||
-- files and does not fail if these sources are neither committed
|
||||
-- to the Git repository nor listed in the sources file.
|
||||
local auto_generated = 'auto-generated/'
|
||||
|
||||
local function emit(name)
|
||||
max = max + 1
|
||||
print('Source' .. max .. ': ' .. name .. '\n')
|
||||
end
|
||||
emit(git_commit_file)
|
||||
emit(git_log_file)
|
||||
emit(auto_generated .. git_commit_file)
|
||||
emit(auto_generated .. git_log_file)
|
||||
emit('patch-git.lua') -- This file.
|
||||
end
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user