1 attributes[:workdir] is empty when invoked via fpm-cookery
2 just rely on os value, don't define at all
4 --- ./lib/fpm/package/rpm.rb~ 2015-08-10 23:07:09.000000000 +0300
5 +++ ./lib/fpm/package/rpm.rb 2015-08-21 17:11:59.163252070 +0300
7 "--define", "_topdir #{build_path}",
8 "--define", "_sourcedir #{build_path}",
9 "--define", "_rpmdir #{build_path}/RPMS",
10 - "--define", "_tmppath #{attributes[:workdir]}"
11 +# "--define", "_tmppath #{attributes[:workdir]}"
14 args += ["--sign"] if attributes[:rpm_sign?]