Hello community, here is the log from the commit of package rubygem-mocha for openSUSE:Factory checked in at 2012-08-04 13:24:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-mocha (Old) and /work/SRC/openSUSE:Factory/.rubygem-mocha.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-mocha", Maintainer is "JMassaguerPla@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-mocha/rubygem-mocha.changes 2012-05-21 07:32:20.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-mocha.new/rubygem-mocha.changes 2012-08-04 13:24:39.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Aug 1 05:05:29 UTC 2012 - coolo@suse.com + +- updated to version 0.12.1 + +------------------------------------------------------------------- Old: ---- mocha-0.11.4.gem New: ---- mocha-0.12.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-mocha.spec ++++++ --- /var/tmp/diff_new_pack.wjtulQ/_old 2012-08-04 13:24:41.000000000 +0200 +++ /var/tmp/diff_new_pack.wjtulQ/_new 2012-08-04 13:24:41.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-mocha # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, 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 @@ -15,44 +15,30 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: rubygem-mocha -Version: 0.11.4 +Version: 0.12.1 Release: 0 %define mod_name mocha %define mod_full_name %{mod_name}-%{version} -# -Group: Development/Languages/Ruby -License: Ruby or MIT -# + BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: rubygems_with_buildroot_patch -BuildRequires: rubygem-rake -%rubygems_requires -Requires: rubygem-rake -# metaclass ~> 0.0.1 -BuildRequires: rubygem-metaclass-0_0 >= 0.0.1 -Requires: rubygem-metaclass-0_0 >= 0.0.1 -# -Url: http://mocha.rubyforge.org +BuildRequires: ruby-macros >= 1 +Url: http://gofreerange.com/mocha/docs Source: %{mod_full_name}.gem -# -Summary: A library for mocking and stubbing using a syntax like that of JMock -%description -Mocha is a library for mocking and stubbing using a syntax like that of JMock. - -It can be used with many testing frameworks e.g. Test::Unit, RSpec, test/spec, -expectations, Dust, MiniTest and even JtestR. +Summary: Mocking and stubbing library +License: Ruby or MIT +Group: Development/Languages/Ruby -Mocha provides a unified, simple and readable syntax for both traditional -mocking and partial mocking. +%description +Mocking and stubbing library with JMock/SchMock syntax, which allows mocking +and stubbing of methods on real (non-mock) classes. %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. @@ -61,16 +47,19 @@ 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 %{S:0} -%clean -%{__rm} -rf %{buildroot} +%install +%gem_install -f %files %defattr(-,root,root,-) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org