[packages/ruby-ohai] require lsb-release for platform detection

glen glen at pld-linux.org
Tue Jun 18 23:22:31 CEST 2013


commit c40b9b81974ecf6a93874063eb44c08749a43c57
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jun 19 00:21:44 2013 +0300

    require lsb-release for platform detection

 ruby-ohai.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/ruby-ohai.spec b/ruby-ohai.spec
index ee86c1f..b7b84f4 100644
--- a/ruby-ohai.spec
+++ b/ruby-ohai.spec
@@ -6,7 +6,7 @@
 Summary:	Profiles your system and emits JSON
 Name:		ruby-%{gemname}
 Version:	6.16.0
-Release:	2
+Release:	3
 License:	Apache v2.0
 Group:		Development/Languages
 Source0:	https://github.com/opscode/ohai/archive/%{version}.tar.gz
@@ -26,6 +26,7 @@ BuildRequires:	ruby-rspec
 BuildRequires:	ruby-systemu
 BuildRequires:	ruby-yajl
 %endif
+Requires:	lsb-release
 Requires:	ruby-ipaddress
 Requires:	ruby-mixlib-cli
 Requires:	ruby-mixlib-config
@@ -57,7 +58,7 @@ This package contains documentation for %{name}.
 # no plist and not darwin so don't care
 rm spec/unit/plugins/darwin/system_profiler_spec.rb
 
-# can't figure how ti fix -r rubygems does not help
+# can't figure how to fix -r rubygems does not help
 # ohai-6.16.0/spec/unit/plugins/ruby_spec.rb:52:in `block in <top (required)>': uninitialized cons tant Gem (NameError)
 rm spec/unit/plugins/ruby_spec.rb
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list