Hello community,

here is the log from the commit of package rubygem-mysql for openSUSE:Factory
checked in at Wed Aug 3 11:43:39 CEST 2011.



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

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/rubygem-mysql/rubygem-mysql.changes    
2011-06-30 15:09:42.000000000 +0200
@@ -0,0 +1,19 @@
+-------------------------------------------------------------------
+Thu Jun 30 13:07:30 UTC 2011 - [email protected]
+
+- add provides/obsolete for the old ruby-mysql package
+- cleanup %build section
+  - no more manual deleting of files. let gem_cleanup handle it
+  - drop fdupes
+- drop norootforbuild
+
+-------------------------------------------------------------------
+Fri Jun 11 10:00:01 UTC 2010 - [email protected]
+
+- use rubygems_requires macro
+
+-------------------------------------------------------------------
+Tue Dec  1 12:46:19 UTC 2009 - [email protected]
+
+- initial pkg 2.8.1
+

calling whatdependson for head-i586


New:
----
  mysql-2.8.1.gem
  rubygem-mysql.changes
  rubygem-mysql.rpmlintrc
  rubygem-mysql.spec

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

Other differences:
------------------
++++++ rubygem-mysql.spec ++++++
#
# spec file for package rubygem-mysql
#
# Copyright (c) 2011 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-mysql
Version:        2.8.1
Release:        1
%define mod_name mysql
#
Group:          Development/Languages/Ruby
License:        GPLv2+ or Ruby
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  rubygems_with_buildroot_patch
%rubygems_requires
#
Requires:       ruby >= 1.8.6
BuildRequires:  ruby-devel >= 1.8.6
BuildRequires:  libmysqlclient-devel
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
#
Summary:        This is the MySQL API module for Ruby

%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 is a conversion of tmtm's original extension into a proper RubyGems.

%prep

%build

%install
%gem_install %{S:0}
%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}

%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}/

%changelog
++++++ rubygem-mysql.rpmlintrc ++++++
addFilter("hidden-file-or-dir")
addFilter("no-soname")
addFilter("non-executable-script")

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



Remember to have fun...

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

Reply via email to