Hello community,

here is the log from the commit of package rubygem-ohai for openSUSE:Factory 
checked in at 2013-06-05 13:37:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-ohai (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-ohai.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-ohai"

Changes:
--------
New Changes file:

--- /dev/null   2013-05-23 01:40:31.032032505 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ohai.new/rubygem-ohai.changes   
2013-06-05 13:37:21.000000000 +0200
@@ -0,0 +1,41 @@
+-------------------------------------------------------------------
+Mon May 27 15:58:23 UTC 2013 - [email protected]
+
+- license update: Apache-2.0
+  See data/LICENSE
+
+-------------------------------------------------------------------
+Sat May 25 13:40:55 UTC 2013 - [email protected]
+
+- updated to version 6.16.0, see
+  http://www.opscode.com/blog/2013/01/17/ohai-6-16-0-released/
+
+-------------------------------------------------------------------
+Fri Apr  5 11:21:41 UTC 2013 - [email protected]
+
+- Package LICENSE
+
+-------------------------------------------------------------------
+Wed Mar 13 13:45:34 UTC 2013 - [email protected]
+
+- Conflict with 'lsb' and require 'lsb-release' on SLE_11_SP2:
+  /etc/lsb-release contains useless crap on SP2 which makes
+  "ohai lsb" report nothing. However, if /usr/bin/lsb_release is available,
+  it reports more useful stuff (altough the service pack patch level is 
+  missing at the moment). Check lib/ohai/plugins/linux/lsb.rb if in doubt.
+
+-------------------------------------------------------------------
+Wed Aug  1 05:05:58 UTC 2012 - [email protected]
+
+- updated to version 6.14.0
+
+-------------------------------------------------------------------
+Wed Nov 24 15:31:01 UTC 2010 - [email protected]
+
+- spec recreated by gem2rpm-opensuse
+
+-------------------------------------------------------------------
+Mon Nov 22 15:31:57 UTC 2010 - [email protected]
+
+- initial package (spec partly imported from fedora)
+

New:
----
  ohai-6.16.0.gem
  rubygem-ohai.changes
  rubygem-ohai.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-ohai.spec ++++++
#
# spec file for package rubygem-ohai
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           rubygem-ohai
Version:        6.16.0
Release:        0
%define mod_name ohai
%define mod_full_name %{mod_name}-%{version}

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  ruby-macros >= 1
Url:            http://wiki.opscode.com/display/chef/Ohai
Source:         http://rubygems.org/gems/%{mod_full_name}.gem
Summary:        Ohai profiles your system and emits JSON
License:        Apache-2.0
Group:          Development/Languages/Ruby
%define mod_branch -%{version}
%define mod_weight 6
PreReq:         update-alternatives
# NOTE(saschpe): /etc/lsb-release contains useless crap on SP2 which makes
# "ohai lsb" report nothing. However, if /usr/bin/lsb_release is available,
# it reports more useful stuff (altough the service pack patch level is 
# missing at the moment). Check lib/ohai/plugins/linux/lsb.rb if in doubt.
# MANUAL
%if 0%{?suse_version} == 1110
Conflicts:      lsb
Requires:       lsb-release
%endif

%description
Ohai profiles your system and emits JSON

%package doc
Summary:        RDoc documentation for %{mod_name}
Group:          Development/Languages/Ruby
Requires:       %{name} = %{version}

%description doc
Documentation generated at gem installation time.
Usually in RDoc and RI formats.

%package testsuite
Summary:        Test suite for %{mod_name}
Group:          Development/Languages/Ruby
Requires:       %{name} = %{version}

%description testsuite
Test::Unit or RSpec files, useful for developers.

%prep
#gem_unpack
#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
#gem_build

%build

%install
%gem_install -f
mv %{buildroot}%{_bindir}/ohai{,%{mod_branch}}
ln -s ohai%{mod_branch} %{buildroot}%{_bindir}/ohai
mkdir -p %{buildroot}%{_docdir}/%{name}
ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc

%post
/usr/sbin/update-alternatives --install \
    %{_bindir}/ohai ohai %{_bindir}/ohai%{mod_branch} %{mod_weight}

%preun
if [ "$1" = 0 ] ; then
    /usr/sbin/update-alternatives --remove ohai %{_bindir}/ohai%{mod_branch}
fi

%files
%defattr(-,root,root,-)
%{_docdir}/%{name}
%{_bindir}/ohai%{mod_branch}
%ghost %{_bindir}/ohai
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec

%files doc
%defattr(-,root,root,-)
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/

%files testsuite
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec

%changelog
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to