]> git.pld-linux.org Git - packages/ruby-ohai.git/blobdiff - ruby-ohai.spec
up to 6.22.0
[packages/ruby-ohai.git] / ruby-ohai.spec
index 73b47c5dcf0172f4b6e0f89fd103b854291d4477..07b741587fc4deaf46421284c4799f7b29849264 100644 (file)
@@ -5,14 +5,16 @@
 %define pkgname ohai
 Summary:       Profiles your system and emits JSON
 Name:          ruby-%{pkgname}
-Version:       6.20.0
+Version:       6.22.0
 Release:       1
 License:       Apache v2.0
 Group:         Development/Languages
 Source0:       https://github.com/opscode/ohai/archive/%{version}/%{pkgname}-%{version}.tar.gz
-# Source0-md5: 1a3091bb1d06fda9e15447edbc4a2f77
+# Source0-md5: 10631d1b5cfcfe960336680d0ad3b030
 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
@@ -33,6 +35,7 @@ Requires:     ruby-ipaddress
 Requires:      ruby-mixlib-cli
 Requires:      ruby-mixlib-config
 Requires:      ruby-mixlib-log
+Requires:      mount
 Requires:      ruby-mixlib-shellout
 Requires:      ruby-systemu >= 2.5.2
 Requires:      ruby-yajl
@@ -56,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
@@ -91,7 +95,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.rdoc CHANGELOG NOTICE
+%doc README.rdoc CHANGELOG.md NOTICE
 %attr(755,root,root) %{_bindir}/ohai
 %{_mandir}/man1/ohai.1*
 %{ruby_vendorlibdir}/%{pkgname}.rb
This page took 0.049135 seconds and 4 git commands to generate.