Hello community, here is the log from the commit of package rubygem-yajl-ruby for openSUSE:Factory checked in at 2013-12-23 22:21:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-yajl-ruby (Old) and /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-yajl-ruby" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-yajl-ruby/rubygem-yajl-ruby.changes 2012-07-30 09:46:30.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new/rubygem-yajl-ruby.changes 2013-12-23 22:21:27.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Dec 20 12:02:53 UTC 2013 - [email protected] + +- updated to version 1.2.0, no changelog + +------------------------------------------------------------------- Old: ---- yajl-ruby-1.1.0.gem New: ---- yajl-ruby-1.2.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-yajl-ruby.spec ++++++ --- /var/tmp/diff_new_pack.M91ik8/_old 2013-12-23 22:21:28.000000000 +0100 +++ /var/tmp/diff_new_pack.M91ik8/_new 2013-12-23 22:21:28.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-yajl-ruby # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -17,43 +17,70 @@ Name: rubygem-yajl-ruby -Version: 1.1.0 +Version: 1.2.0 Release: 0 %define mod_name yajl-ruby -# -# -Provides: rubygem-%{mod_name}-1 = %{version} -Provides: rubygem-%{mod_name}-1_1 = %{version} +%define mod_full_name %{mod_name}-%{version} + BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: rubygems_with_buildroot_patch -%rubygems_requires -# +BuildRequires: ruby-macros >= 1 +Requires: ruby >= 1.8.6 +BuildRequires: ruby-devel >= 1.8.6 Url: http://github.com/brianmario/yajl-ruby -Source: %{mod_name}-%{version}.gem -# -Summary: Ruby C bindings to the excellent Yajl JSON stream-based parser library +Source: http://rubygems.org/gems/%{mod_full_name}.gem +Summary: Ruby C bindings to the excellent Yajl JSON stream-based parser License: MIT and BSD-3-Clause Group: Development/Languages/Ruby %description Ruby C bindings to the excellent Yajl JSON stream-based parser library. +%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 %{S:0} +%gem_install -f %gem_cleanup -pushd %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ext/yajl -rm *.c *.h - -%clean -%{__rm} -rf %{buildroot} +mkdir -p %{buildroot}%{_docdir}/%{name} +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/CHANGELOG.md %buildroot/%{_docdir}/%{name}/CHANGELOG.md +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/MIT-LICENSE %buildroot/%{_docdir}/%{name}/MIT-LICENSE +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md %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}/ +%{_docdir}/%{name} +%{_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]
