Skip to content

Commit

Permalink
Make rpmbuild's _tmppath respect fpm --workdir
Browse files Browse the repository at this point in the history
Fixes #714
  • Loading branch information
jordansissel committed Jun 19, 2014
1 parent b903a5b commit 66ccd6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/fpm/package/rpm.rb
Expand Up @@ -358,6 +358,7 @@ def output(output_path)
"--define", "_topdir #{build_path}",
"--define", "_sourcedir #{build_path}",
"--define", "_rpmdir #{build_path}/RPMS",
"--define", "_tmppath #{attributes[:workdir]}"
]

args += ["--sign"] if attributes[:rpm_sign?]
Expand Down

0 comments on commit 66ccd6d

Please sign in to comment.