Permalink
Browse files

Push tmppath under build/

  • Loading branch information...
1 parent 4e22a65 commit 6d425c00c199d3f299b4821e2e46db068f46a4d5 @bobmcwhirter bobmcwhirter committed Oct 5, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/cantiere/rpm.rb
View
@@ -75,7 +75,7 @@ def define_tasks
def build_rpm
Dir.chdir( File.dirname( @spec_file ) ) do
- @exec_helper.execute( "rpmbuild --define '_topdir #{@config.dir.root}/#{@config.dir.top}/#{@config.os_path}' --target #{@rpm_arch} -ba #{@simple_name}.spec" )
+ @exec_helper.execute( "rpmbuild --define '_tmppath #{@config.dir.root}/#{@config.dir.build}/tmp' --define '_topdir #{@config.dir.root}/#{@config.dir.top}/#{@config.os_path}' --target #{@rpm_arch} -ba #{@simple_name}.spec" )
end
Rake::Task[ 'rpm:repodata:force' ].reenable
@@ -178,4 +178,4 @@ def build_source_dependencies( rpm_file, version=nil, release=nil)
end
desc "Build all RPMs"
-task 'rpm:all'
+task 'rpm:all'

0 comments on commit 6d425c0

Please sign in to comment.