[packages/ruby-ohai/chef-14] up to 14.1.7

glen glen at pld-linux.org
Mon Jul 16 15:15:33 CEST 2018


commit b5b87a62bc781a13e841b7979c0f34791d687e5b
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Jul 16 16:13:19 2018 +0300

    up  to 14.1.7

 platform-pld.patch | 16 ++++++++--------
 ruby-ohai.spec     | 10 +++++-----
 2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/ruby-ohai.spec b/ruby-ohai.spec
index 37ccb7b..6df828a 100644
--- a/ruby-ohai.spec
+++ b/ruby-ohai.spec
@@ -7,14 +7,14 @@
 %define pkgname ohai
 Summary:	Profiles your system and emits JSON
 Name:		ruby-%{pkgname}
-Version:	8.16.0
-Release:	0.1
+Version:	14.1.7
+Release:	1
 License:	Apache v2.0
 Group:		Development/Languages
-Source0:	https://github.com/opscode/ohai/archive/%{version}/%{pkgname}-%{version}.tar.gz
-# Source0-md5:	7a2182e562bab7dcc48e0b68e07daf92
+Source0:	https://github.com/opscode/ohai/archive/v%{version}/%{pkgname}-%{version}.tar.gz
+# Source0-md5:	60da59482b6c812752449993288f3260
 Patch1:		platform-pld.patch
-URL:		http://docs.getchef.com/ohai.html
+URL:		https://docs.getchef.com/ohai.html
 BuildRequires:	rpm-rubyprov
 BuildRequires:	rpmbuild(macros) >= 1.665
 BuildRequires:	ruby-rake
diff --git a/platform-pld.patch b/platform-pld.patch
index 85e8d97..5032da8 100644
--- a/platform-pld.patch
+++ b/platform-pld.patch
@@ -3,14 +3,14 @@ set one in linux/platform
 
 [1] https://github.com/opscode/ohai/blob/7.4.0/lib/ohai/plugins/platform.rb#L26
 
---- ohai-8.16.0/lib/ohai/plugins/linux/platform.rb~	2016-05-12 01:13:29.000000000 +0300
-+++ ohai-8.16.0/lib/ohai/plugins/linux/platform.rb	2016-06-01 22:53:00.774030283 +0300
-@@ -199,6 +199,8 @@
-       platform_family "arch"
+--- ohai-14.1.7/lib/ohai/plugins/linux/platform.rb~	2018-05-29 19:14:33.000000000 +0300
++++ ohai-14.1.7/lib/ohai/plugins/linux/platform.rb	2018-07-16 16:13:58.058756979 +0300
+@@ -147,6 +147,8 @@
+       "arch"
      when /exherbo/
-       platform_family "exherbo"
+       "exherbo"
 +    when /pld/
-+      platform_family "pld"
++      "pld"
      when /alpine/
-       platform_family "alpine"
-     end
+       "alpine"
+     when /clearlinux/
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list