Changeset: 6b02de567955 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6b02de567955
Modified Files:
        MonetDB.spec
        buildtools/ChangeLog
Branch: default
Log Message:

Split ruby RPM package into two, calling them rubygem-*.
The Fedora packaging guidelines say that gems should be named
rubygem-%{gem_name}.


diffs (78 lines):

diff --git a/MonetDB.spec b/MonetDB.spec
--- a/MonetDB.spec
+++ b/MonetDB.spec
@@ -244,13 +244,14 @@ program.
 %defattr(-,root,root)
 %{_prefix}/%{perl_libdir}/*
 
-%package client-ruby
+%package -n rubygem-monetdb-sql
 Summary: MonetDB ruby interface
 Group: Applications/Databases
 Requires: ruby
+Obsoletes: %{name}-client-ruby
 BuildArch: noarch
 
-%description client-ruby
+%description -n rubygem-monetdb-sql
 MonetDB is a database management system that is developed from a
 main-memory perspective with use of a fully decomposed storage model,
 automatic index management, extensibility of data types and search
@@ -259,18 +260,39 @@ accelerators.  It also has an SQL fronte
 This package contains the files needed to use MonetDB from a Ruby
 program.
 
-%files client-ruby
+%files -n rubygem-monetdb-sql
+%defattr(-,root,root)
+%docdir %{gem_dir}/doc/ruby-monetdb-sql-0.1
+%{gem_dir}/doc/ruby-monetdb-sql-0.1/*
+%{gem_dir}/cache/ruby-monetdb-sql-0.1.gem
+# %dir %{gem_dir}/gems/ruby-monetdb-sql-0.1
+%{gem_dir}/gems/ruby-monetdb-sql-0.1
+%{gem_dir}/specifications/ruby-monetdb-sql-0.1.gemspec
+
+%package -n rubygem-activerecord-monetdb-adapter
+Summary: MonetDB ruby interface
+Group: Applications/Databases
+Requires: ruby
+Requires: rubygem-activerecord
+Requires: rubygem-monetdb-sql
+BuildArch: noarch
+
+%description -n rubygem-activerecord-monetdb-adapter
+MonetDB is a database management system that is developed from a
+main-memory perspective with use of a fully decomposed storage model,
+automatic index management, extensibility of data types and search
+accelerators.  It also has an SQL frontend.
+
+This package contains the activerecord adapter for MonetDB.
+
+%files -n rubygem-activerecord-monetdb-adapter
 %defattr(-,root,root)
 %docdir %{gem_dir}/doc/activerecord-monetdb-adapter-0.1
-%docdir %{gem_dir}/doc/ruby-monetdb-sql-0.1
 %{gem_dir}/doc/activerecord-monetdb-adapter-0.1/*
-%{gem_dir}/doc/ruby-monetdb-sql-0.1/*
-%{gem_dir}/cache/*.gem
+%{gem_dir}/cache/activerecord-monetdb-adapter-0.1.gem
 # %dir %{gem_dir}/gems/activerecord-monetdb-adapter-0.1
-# %dir %{gem_dir}/gems/ruby-monetdb-sql-0.1
 %{gem_dir}/gems/activerecord-monetdb-adapter-0.1
-%{gem_dir}/gems/ruby-monetdb-sql-0.1
-%{gem_dir}/specifications/*.gemspec
+%{gem_dir}/specifications/activerecord-monetdb-adapter-0.1.gemspec
 
 %package client-tests
 Summary: MonetDB Client tests package
diff --git a/buildtools/ChangeLog b/buildtools/ChangeLog
--- a/buildtools/ChangeLog
+++ b/buildtools/ChangeLog
@@ -1,3 +1,7 @@
 # ChangeLog file for buildtools
 # This file is updated with Maddlog
 
+* Thu Apr 19 2012 Sjoerd Mullender <[email protected]>
+- Split the MonetDB-client-ruby RPM package into two and named them in
+  accordance with the Fedora packaging guidelines as rubygem-<gem-name>.
+
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to