Skip to content

Commit

Permalink
Update rpm.rb
Browse files Browse the repository at this point in the history
Fix how buildroot is specified to better conform with the rpmbuild CLI. The old way was failing with `File not found` errors.
  • Loading branch information
wheaney authored Oct 29, 2024
1 parent d81a1ad commit b852c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fpm/package/rpm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def output(output_path)
args += ["--define", "dist .#{attributes[:rpm_dist]}"] if attributes[:rpm_dist]

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

0 comments on commit b852c59

Please sign in to comment.