[packages/ruby-ohai] add LXC detection

glen glen at pld-linux.org
Tue Mar 4 00:17:27 CET 2014


commit 2fa93c4d0b3e4dce9ced4338fb9d0bad0dff5709
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Mar 4 01:16:34 2014 +0200

    add LXC detection

 ruby-ohai.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/ruby-ohai.spec b/ruby-ohai.spec
index 6f7f722..bc5b70f 100644
--- a/ruby-ohai.spec
+++ b/ruby-ohai.spec
@@ -6,13 +6,15 @@
 Summary:	Profiles your system and emits JSON
 Name:		ruby-%{pkgname}
 Version:	6.20.0
-Release:	2
+Release:	3
 License:	Apache v2.0
 Group:		Development/Languages
 Source0:	https://github.com/opscode/ohai/archive/%{version}/%{pkgname}-%{version}.tar.gz
 # Source0-md5:	1a3091bb1d06fda9e15447edbc4a2f77
 Patch0:		virtualization-vserver.patch
 Patch1:		php-builddate.patch
+Patch2:		https://github.com/glensc/ruby-ohai/compare/OHAI-295.patch
+# Patch2-md5:	7e0f3de1daa40df05a2aa82547d7ca67
 URL:		http://docs.opscode.com/ohai.html
 BuildRequires:	rpm-rubyprov
 BuildRequires:	rpmbuild(macros) >= 1.665
@@ -57,6 +59,7 @@ This package contains documentation for %{name}.
 %setup -q -n ohai-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 %{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
 
 # no plist and not darwin so don't care
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-ohai.git/commitdiff/2fa93c4d0b3e4dce9ced4338fb9d0bad0dff5709



More information about the pld-cvs-commit mailing list