[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, upstream, updated. 51bcebe38cab6088c901f1006339bbe40a36d161
James Turnbull
james at lovedthanlost.net
Wed Aug 18 05:56:07 UTC 2010
The following commit has been merged in the upstream branch:
commit 51bcebe38cab6088c901f1006339bbe40a36d161
Author: James Turnbull <james at lovedthanlost.net>
Date: Wed Aug 18 05:02:45 2010 +1000
Fixed Rakefile package task version detection
diff --git a/Rakefile b/Rakefile
index 1e8fd29..e472e3a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -12,11 +12,14 @@ end
Dir['tasks/**/*.rake'].each { |t| load t }
-require 'facter.rb'
require 'rake'
require 'rake/packagetask'
require 'rake/gempackagetask'
+module Facter
+ FACTERVERSION = File.read('lib/facter.rb')[/FACTERVERSION *= *'(.*)'/,1] or fail "Couldn't find FACTERVERSION"
+end
+
FILES = FileList[
'[A-Z]*',
'install.rb',
--
Packaging of Facter for debian
More information about the Pkg-puppet-devel
mailing list