Hello community, here is the log from the commit of package rubygem-fastercsv for openSUSE:Factory checked in at 2014-10-15 16:20:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-fastercsv (Old) and /work/SRC/openSUSE:Factory/.rubygem-fastercsv.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-fastercsv" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-fastercsv/rubygem-fastercsv.changes 2012-07-23 10:17:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-fastercsv.new/rubygem-fastercsv.changes 2014-10-15 16:20:17.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Oct 12 11:01:42 UTC 2014 - [email protected] + +- adapt to new rubygem packaging style + +------------------------------------------------------------------- New: ---- gem2rpm.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-fastercsv.spec ++++++ --- /var/tmp/diff_new_pack.9hT1Fl/_old 2014-10-15 16:20:18.000000000 +0200 +++ /var/tmp/diff_new_pack.9hT1Fl/_new 2014-10-15 16:20:18.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-fastercsv # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -15,63 +15,42 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: rubygem-fastercsv Version: 1.5.5 Release: 0 %define mod_name fastercsv %define mod_full_name %{mod_name}-%{version} -# -Group: Development/Languages/Ruby -License: GPL-2.0 or Ruby -# BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: rubygems_with_buildroot_patch -Provides: rubygem-%{mod_name}-1_5 = %{version} -%rubygems_requires -# +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{rubygem rdoc > 3.10} +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 Url: http://fastercsv.rubyforge.org -Source: %{mod_full_name}.gem -# +Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml Summary: FasterCSV is CSV, but faster, smaller, and cleaner +License: GPL-2.0 or Ruby +Group: Development/Languages/Ruby + %description -FasterCSV is intended as a complete replacement to the CSV standard library. It +FasterCSV is intended as a complete replacement to the CSV standard library. +It is significantly faster and smaller while still being pure Ruby code. It also strives for a better interface. -%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. - %prep + %build + %install -%gem_install %{S:0} +%gem_install \ + --doc-files="CHANGELOG COPYING LICENSE README" \ + -f +# MANUAL find %{buildroot}%{_libdir}/ruby/gems/ -name *.rb | xargs sed -i -e 's,/usr/local/bin/ruby,/usr/bin/ruby,' +# /MANUAL -%files -%defattr(-,root,root,-) -%{_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 +%gem_packages %changelog ++++++ gem2rpm.yml ++++++ # --- # ## used by gem2rpm # :summary: this is a custom summary # ## used by gem2rpm # :description: |- # this is a custom description # # it can be multiline # ## used by gem2rpm # :license: MIT or Ruby # ## used by gem2rpm and gem_packages # :version_suffix: -x_y # ## used by gem2rpm and gem_packages # :disable_docs: true # ## used by gem2rpm # :disable_automatic_rdoc_dep: true # ## used by gem2rpm # :preamble: |- # BuildRequires: foobar # Requires: foobar # ## used by gem2rpm # :patches: # foo.patch: -p1 # bar.patch: # ## used by gem2rpm # :sources: # - foo.desktop # - bar.desktop # :gem_install_args: '....' # ## used by gem2rpm # :pre_install: |- # %if 0%{?use_system_libev} # export USE_VENDORED_LIBEV="no" # %endif # ## used by gem2rpm :post_install: |- find %{buildroot}%{_libdir}/ruby/gems/ -name *.rb | xargs sed -i -e 's,/usr/local/bin/ruby,/usr/bin/ruby,' # # delete custom files here or do other fancy stuff # install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse # ## used by gem2rpm # :testsuite_command: |- # (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) # ## used by gem2rpm # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem2rpm # :scripts: # :post: |- # /bin/echo foo # ## used by gem_packages # :main: # :preamble: |- # Requires: util-linux # Recommends: pwgen # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem_packages # :custom: # apache: # :preamble: |- # Requires: ..... # :filelist: |- # /etc/apache2/conf.d/passenger.conf # :summary: Custom summary is optional # :description: |- # Custom description is optional # # bar # :post: |- # /bin/echo foo # --- :license: GPL-2.0 or GPL-3.0 or Ruby :sources: - rubygem-unicorn-rpmlintrc - series :patches: unicorn-4.6.3_fix_shebangline.patch: -p0 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
