Hello community, here is the log from the commit of package rubygem-mysql for openSUSE:Factory checked in at 2013-06-13 22:35:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-mysql (Old) and /work/SRC/openSUSE:Factory/.rubygem-mysql.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-mysql" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-mysql/rubygem-mysql.changes 2013-01-07 17:40:51.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-mysql.new/rubygem-mysql.changes 2013-06-13 22:35:02.000000000 +0200 @@ -1,0 +2,8 @@ +Mon Jun 3 20:07:11 UTC 2013 - [email protected] + +- updated to version 2.9.1 + * Bugfixes: + * Use C89 comment style in source code. #13 [knu] + * Use ULL2NUM to return `affected_rows`. #11, #12 [cbandy] + +------------------------------------------------------------------- Old: ---- mysql-2.9.0.gem New: ---- mysql-2.9.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-mysql.spec ++++++ --- /var/tmp/diff_new_pack.NwvDC9/_old 2013-06-13 22:35:02.000000000 +0200 +++ /var/tmp/diff_new_pack.NwvDC9/_new 2013-06-13 22:35:02.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-mysql # -# 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,25 +17,22 @@ Name: rubygem-mysql -Version: 2.9.0 +Version: 2.9.1 Release: 0 %define mod_name mysql -# -# +%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.7 BuildRequires: libmysqlclient-devel BuildRequires: ruby-devel >= 1.8.6 +BuildRequires: ruby-devel >= 1.8.7 +BuildRequires: rubygem(rdoc) > 3.10 Provides: ruby-mysql = %{version} -# make it < with the next version update -Obsoletes: ruby-mysql <= %{version} -# -Url: http://mysql-win.rubyforge.org -Source: %{mod_name}-%{version}.gem -# +Obsoletes: ruby-mysql < %{version} +Url: http://github.com/luislavena/mysql-gem +Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary: This is the MySQL API module for Ruby License: GPL-2.0+ or Ruby Group: Development/Languages/Ruby @@ -43,28 +40,57 @@ %description This is the MySQL API module for Ruby. It provides the same functions for Ruby programs that the MySQL C API provides for C programs. +This package is offered as gem for easy installation using RubyGems. It wraps +unmodified tmtm's mysql-ruby extension into a proper gem. +Please note that tmtm (Tomita Mashahiro) has deprecated development of this +extension and only update it for bug fixes. + +%package doc +Summary: RDoc documentation for %{mod_name} +Group: Development/Languages/Ruby +Requires: %{name} = %{version} -This is a conversion of tmtm's original extension into a proper RubyGems. +%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 -# fix shebang -# test_mysql.rb -sed -i -e "s@^#!/usr/local/bin/ruby@#!/usr/bin/ruby@" %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/test/test_%{mod_name}.rb - -%clean -%{__rm} -rf %{buildroot} +mkdir -p %{buildroot}%{_docdir}/%{name} +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING %buildroot/%{_docdir}/%{name}/COPYING +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/History.txt %buildroot/%{_docdir}/%{name}/History.txt +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.txt %buildroot/%{_docdir}/%{name}/README.txt %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}/test +%{_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}/test %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
