%define pkgname ohai
Summary: Profiles your system and emits JSON
Name: ruby-%{pkgname}
-Version: 6.20.0
-Release: 3
+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
%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