[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, master, updated. debian/1.6.1-1-5-g4add7d3
Stig Sandbeck Mathisen
ssm at debian.org
Wed Oct 12 09:32:38 UTC 2011
The following commit has been merged in the master branch:
commit c75bf5e7e48c41e908f7750f0351c6b817cd0b30
Author: Stig Sandbeck Mathisen <ssm at debian.org>
Date: Wed Oct 12 11:15:28 2011 +0200
Patch: do not require rubygems
diff --git a/debian/patches/no-require-rubygems b/debian/patches/no-require-rubygems
new file mode 100644
index 0000000..8ecd973
--- /dev/null
+++ b/debian/patches/no-require-rubygems
@@ -0,0 +1,15 @@
+From: Stig Sandbeck Mathisen <ssm at debian.org>
+Forwarded: not-needed
+Subject: Do not require rubygems
+ We do not require rubygems; the apt repository should contain all
+ dependencies.
+--- a/lib/facter/application.rb
++++ b/lib/facter/application.rb
+@@ -35,7 +35,6 @@
+ # Print the facts as JSON and exit
+ if options[:json]
+ begin
+- require 'rubygems'
+ require 'json'
+ puts JSON.dump(facts)
+ exit(0)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..dd4dba1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no-require-rubygems
--
Packaging of Facter for debian
More information about the Pkg-puppet-devel
mailing list