Hello community,

here is the log from the commit of package rubygem-pg for openSUSE:Factory 
checked in at 2013-06-05 19:33:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-pg (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-pg.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-pg"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-pg/rubygem-pg.changes    2012-12-21 
15:02:46.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-pg.new/rubygem-pg.changes       
2013-06-05 19:33:53.000000000 +0200
@@ -1,0 +2,5 @@
+Sat May 25 11:12:04 UTC 2013 - [email protected]
+
+- updated to version 0.15.1
+
+-------------------------------------------------------------------

Old:
----
  pg-0.14.1.gem

New:
----
  pg-0.15.1.gem

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

Other differences:
------------------
++++++ rubygem-pg.spec ++++++
--- /var/tmp/diff_new_pack.RBsmTn/_old  2013-06-05 19:33:53.000000000 +0200
+++ /var/tmp/diff_new_pack.RBsmTn/_new  2013-06-05 19:33:53.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-pg
 #
-# 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,30 +17,42 @@
 
 
 Name:           rubygem-pg
-Version:        0.14.1
+Version:        0.15.1
 Release:        0
 %define mod_name pg
 %define mod_full_name %{mod_name}-%{version}
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros >= 1
-# MANUAL
-BuildRequires:  openssl-devel
-BuildRequires:  postgresql-devel
-
 Requires:       ruby >= 1.8.7
 BuildRequires:  ruby-devel >= 1.8.7
 BuildRequires:  rubygem(rdoc) > 3.10
+# MANUAL
+BuildRequires:  openssl-devel
+BuildRequires:  postgresql-devel
 Url:            https://bitbucket.org/ged/ruby-pg
-Source:         %{mod_full_name}.gem
+Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        Pg is the Ruby interface to the PostgreSQL
-License:        Ruby
+License:        Ruby and PostgreSQL
 Group:          Development/Languages/Ruby
 
 %description
 Pg is the Ruby interface to the {PostgreSQL
 RDBMS}[http://www.postgresql.org/].
-It works with {PostgreSQL 8.3 and later}[http://bit.ly/6AfPhm].
+It works with {PostgreSQL 8.4 and
+later}[http://www.postgresql.org/support/versioning/].
+A small example usage:
+#!/usr/bin/env ruby
+require 'pg'
+# Output a table of current connections to the DB
+conn = PG.connect( dbname: 'sales' )
+conn.exec( "SELECT * FROM pg_stat_activity" ) do |result|
+puts "     PID | User             | Query"
+result.each do |row|
+puts " %7d | %-16s | %s " %
+row.values_at('procpid', 'usename', 'current_query')
+end
+end
 
 %package doc
 Summary:        RDoc documentation for %{mod_name}
@@ -71,9 +83,14 @@
 %gem_cleanup
 # MANUAL
 rm 
%{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/sample/test_binary_values.rb
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/History.rdoc 
%buildroot/%{_docdir}/%{name}/History.rdoc
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc
 
 %files
 %defattr(-,root,root,-)
+%{_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

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

Reply via email to