Rakefile in facter-1.5.5 vs Rakefile in facter-1.5.6
- old
+ new
@@ -19,10 +19,11 @@
spec = Gem::Specification.new do |spec|
spec.platform = Gem::Platform::RUBY
spec.name = 'facter'
spec.files = FILES.to_a
+ spec.executables = %w{facter}
spec.version = Facter::FACTERVERSION
spec.summary = 'Facter, a system inventory tool'
spec.author = 'Reductive Labs'
spec.email = 'puppet@reductivelabs.com'
spec.homepage = 'http://reductivelabs.com'
@@ -86,11 +87,11 @@
end
type, parent, name = $1, $2, $3
# Create all of the patches
- sh "git format-patch -C -M -s -n #{parent}..HEAD"
+ sh "git format-patch -C -M -s -n --subject-prefix='PATCH/facter' #{parent}..HEAD"
# And then mail them out.
# If we've got more than one patch, add --compose
if Dir.glob("00*.patch").length > 1
@@ -98,10 +99,10 @@
else
compose = ""
end
# Now send the mail.
- sh "git send-email #{compose} --no-chain-reply-to --no-signed-off-by-cc --suppress-from --no-thread --to puppet-dev@googlegroups.com 00*.patch"
+ sh "git send-email #{compose} --no-signed-off-by-cc --suppress-from --to puppet-dev@googlegroups.com 00*.patch"
# Finally, clean up the patches
sh "rm 00*.patch"
end