2 require 'rake/gempackagetask'
4 if `ruby -Ilib ./bin/rpmer --version` =~ /\S+$/
7 CURRENT_VERSION = "0.0.0"
18 spec = Gem::Specification.new do |s|
19 s.platform = Gem::Platform::RUBY
20 s.summary = "rpm packaging tools"
23 s.requirements << 'cmdparse'
24 s.require_path = 'lib'
25 s.autorequire = 'rake'
26 s.files = PKG_FILES.to_a
28 rpmer is a tool to assist the creation of rpm spec files.
32 Rake::GemPackageTask.new(spec) do |pkg|