Skip to content

Commit

Permalink
Update rpm.rb
Browse files Browse the repository at this point in the history
Leave old `--define` argument in place for `buildroot`
  • Loading branch information
wheaney authored Nov 5, 2024
1 parent b852c59 commit 0fb0d26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/fpm/package/rpm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ def output(output_path)

args += [
"--buildroot", "#{build_path}/BUILD",
"--define", "buildroot #{build_path}/BUILD",
"--define", "_topdir #{build_path}",
"--define", "_sourcedir #{build_path}",
"--define", "_rpmdir #{build_path}/RPMS",
Expand Down

0 comments on commit 0fb0d26

Please sign in to comment.