Skip to content

Commit

Permalink
- add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Apr 15, 2011
1 parent 84b472e commit f5b88bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/fpm/target/rpm.rb
Expand Up @@ -7,6 +7,8 @@ def specfile(builddir)

def build!(params)
raise "No package name given. Can't assemble package" if !@name
# TODO(sissel): Abort if 'rpmbuild' tool not found.

%w(BUILD RPMS SRPMS SOURCES SPECS).each { |d| Dir.mkdir(d) }
args = ["rpmbuild", "-ba",
"--define", "buildroot #{Dir.pwd}/BUILD",
Expand Down

0 comments on commit f5b88bc

Please sign in to comment.