Hello community,

here is the log from the commit of package rubygem-pg for openSUSE:Factory 
checked in at 2014-11-15 11:41:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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    2014-08-03 
15:36:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-pg.new/rubygem-pg.changes       
2014-11-15 12:27:49.000000000 +0100
@@ -1,0 +2,20 @@
+Thu Nov 13 11:54:35 UTC 2014 - dmuel...@suse.com
+
+- add rubygem-pg-0.17.1_shebang.patch 
+
+-------------------------------------------------------------------
+Wed Nov 12 13:42:20 UTC 2014 - tboer...@suse.com
+
+- Added rubygem-pg-rpmlintrc to sources list
+
+-------------------------------------------------------------------
+Wed Nov 12 13:40:10 UTC 2014 - tboer...@suse.com
+
+- Fixed licenses related to the upstream source code
+
+-------------------------------------------------------------------
+Mon Nov 10 12:55:42 UTC 2014 - tboer...@suse.com
+
+- Added new ruby macros
+
+-------------------------------------------------------------------

New:
----
  gem2rpm.yml
  rubygem-pg-0.17.1_shebang.patch

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

Other differences:
------------------
++++++ rubygem-pg.spec ++++++
--- /var/tmp/diff_new_pack.LUVAQL/_old  2014-11-15 12:27:50.000000000 +0100
+++ /var/tmp/diff_new_pack.LUVAQL/_new  2014-11-15 12:27:50.000000000 +0100
@@ -16,27 +16,37 @@
 #
 
 
+#
+# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
+# All sections marked as MANUAL, license headers, summaries and descriptions
+# can be maintained in that file. Please consult this file before editing any
+# of those fields
+#
+
 Name:           rubygem-pg
 Version:        0.17.1
 Release:        0
 %define mod_name pg
 %define mod_full_name %{mod_name}-%{version}
-
+# MANUAL
+BuildRequires:  openssl-devel
+BuildRequires:  postgresql-devel
+# /MANUAL
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 3
-Requires:       ruby >= 1.8.7
-BuildRequires:  ruby >= 1.8.7
-BuildRequires:  ruby-devel
-BuildRequires:  rubygem(rdoc) > 3.10
+BuildRequires:  %{rubydevel >= 1.8.7}
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{rubygem rdoc > 3.10}
+BuildRequires:  ruby-macros >= 5
 Url:            https://bitbucket.org/ged/ruby-pg
 Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        rubygem-pg-rpmlintrc
-Summary:        Pg is the Ruby interface to the PostgreSQL
-License:        Ruby and PostgreSQL
-Group:          Development/Languages/Ruby
+Source2:        gem2rpm.yml
 # MANUAL
-BuildRequires:  openssl-devel
-BuildRequires:  postgresql-devel
+Patch0:         rubygem-pg-0.17.1_shebang.patch
+# /MANUAL
+Summary:        Pg is the Ruby interface to the PostgreSQL RDBMS
+License:        BSD-2-Clause and Ruby
+Group:          Development/Languages/Ruby
 
 %description
 Pg is the Ruby interface to the {PostgreSQL
@@ -54,58 +64,21 @@
 puts " %7d | %-16s | %s " %
 row.values_at('procpid', 'usename', 'current_query')
 end
-end
-
-%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.
+end.
 
 %prep
-#gem_unpack
-#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
-#gem_build
+%gem_unpack
+%patch0 -p0
+%gem_build
 
 %build
 
 %install
-%gem_install -f
+%gem_install \
+  --doc-files="ChangeLog History.rdoc LICENSE README.rdoc" \
+  -f
 %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 %{gem_base}/gems/%{mod_full_name}/ChangeLog 
%buildroot/%{_docdir}/%{name}/ChangeLog
-ln -s %{gem_base}/gems/%{mod_full_name}/History.rdoc 
%buildroot/%{_docdir}/%{name}/History.rdoc
-ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
-ln -s %{gem_base}/gems/%{mod_full_name}/README.rdoc 
%buildroot/%{_docdir}/%{name}/README.rdoc
-
-%files
-%defattr(-,root,root,-)
-%{_docdir}/%{name}
-%{gem_base}/cache/%{mod_full_name}.gem
-%{gem_base}/gems/%{mod_full_name}/
-%{gem_extensions}/%{mod_full_name}
-%exclude %{gem_base}/gems/%{mod_full_name}/spec
-%{gem_base}/specifications/%{mod_full_name}.gemspec
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{gem_base}/doc
-
-%files testsuite
-%defattr(-,root,root,-)
-%{gem_base}/gems/%{mod_full_name}/spec
+
+%gem_packages
 
 %changelog

++++++ gem2rpm.yml ++++++
:summary: Pg is the Ruby interface to the PostgreSQL RDBMS
:license: BSD-2-Clause and Ruby

:patches:
  rubygem-pg-0.17.1_shebang.patch: -p0

:sources:
  - rubygem-pg-rpmlintrc

:preamble: |-
  BuildRequires:  openssl-devel
  BuildRequires:  postgresql-devel
++++++ rubygem-pg-0.17.1_shebang.patch ++++++
--- sample/test_binary_values.rb
+++ sample/test_binary_values.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby1.9.1
+#!/usr/bin/env ruby
 
 require 'pg'
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to