From 11f62f90544fb2e35891c1856ac98f6aec028ad232ae43833f245fb615bfc25f Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 1 Aug 2012 05:14:02 +0000 Subject: [PATCH] updated with gem2rpm OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-mixlib-log?expand=0&rev=3 --- mixlib-log-1.3.0.gem | 3 -- mixlib-log-1.4.1.gem | 3 ++ rubygem-mixlib-log.changes | 5 +++ rubygem-mixlib-log.spec | 74 ++++++++++++++++++++++++++------------ 4 files changed, 59 insertions(+), 26 deletions(-) delete mode 100644 mixlib-log-1.3.0.gem create mode 100644 mixlib-log-1.4.1.gem diff --git a/mixlib-log-1.3.0.gem b/mixlib-log-1.3.0.gem deleted file mode 100644 index 2705e06..0000000 --- a/mixlib-log-1.3.0.gem +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d06702c453454d7a75b6bbc74cbe7114f72e231f07f482e7cb39e7f05e4ca912 -size 10240 diff --git a/mixlib-log-1.4.1.gem b/mixlib-log-1.4.1.gem new file mode 100644 index 0000000..9397722 --- /dev/null +++ b/mixlib-log-1.4.1.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2887ef2b2a1e028a9d692cea7ed369de4ae3418f17c4bcd97697a61d68899371 +size 12288 diff --git a/rubygem-mixlib-log.changes b/rubygem-mixlib-log.changes index 6af4840..8b70189 100644 --- a/rubygem-mixlib-log.changes +++ b/rubygem-mixlib-log.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 1 05:05:27 UTC 2012 - coolo@suse.com + +- updated to version 1.4.1 + ------------------------------------------------------------------- Thu Apr 21 23:45:47 CEST 2011 - berendt@b1-systems.de diff --git a/rubygem-mixlib-log.spec b/rubygem-mixlib-log.spec index 6e2e302..5d73465 100644 --- a/rubygem-mixlib-log.spec +++ b/rubygem-mixlib-log.spec @@ -1,7 +1,7 @@ # -# spec file for package rubygem-mixlib-log (Version 1.1.0) +# spec file for package rubygem-mixlib-log # -# Copyright (c) 2010 B1 Systems GmbH, Vohburg, Germany. +# Copyright (c) 2012 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 @@ -12,39 +12,67 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# norootforbuild +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + Name: rubygem-mixlib-log -Version: 1.3.0 +Version: 1.4.1 Release: 0 %define mod_name mixlib-log -# -Group: Development/Languages/Ruby -License: GPLv2+ or Ruby -# +%define mod_full_name %{mod_name}-%{version} + BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: rubygems_with_buildroot_patch -%rubygems_requires -# +BuildRequires: ruby-macros >= 1 Url: http://www.opscode.com -Source: %{mod_name}-%{version}.gem -# +Source: %{mod_full_name}.gem Summary: A gem that provides a simple mixin for log functionality +License: GPLv2+ or Ruby +Group: Development/Languages/Ruby + %description A gem that provides a simple mixin for log functionality -%prep -%build -%install -%gem_install %{S:0} +%package doc +Summary: RDoc documentation for %{mod_name} +Group: Development/Languages/Ruby +Requires: %{name} = %{version} -%clean -%{__rm} -rf %{buildroot} +%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 %files %defattr(-,root,root,-) -%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ -%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec -%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ +%{_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