[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-commit
Subject:    commit rubygem-text-hyphen for openSUSE:Factory
From:       root () hilbert ! suse ! de (h_root)
Date:       2015-08-31 20:59:14
Message-ID: 20150831205914.6D6BFAE037 () hilbert ! suse ! de
[Download RAW message or body]

Hello community,

here is the log from the commit of package rubygem-text-hyphen for openSUSE:Factory \
checked in at 2015-08-31 22:59:12 \
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing \
/work/SRC/openSUSE:Factory/rubygem-text-hyphen (Old)  and      \
/work/SRC/openSUSE:Factory/.rubygem-text-hyphen.new (New) \
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-text-hyphen"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-text-hyphen/rubygem-text-hyphen.changes	2013-07-02 \
                07:44:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-text-hyphen.new/rubygem-text-hyphen.changes	2015-08-31 \
22:59:13.000000000 +0200 @@ -1,0 +2,5 @@
+Fri Aug 28 19:06:48 UTC 2015 - jmassaguerpla@suse.com
+
+- update to new packaging scheme
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rubygem-text-hyphen.spec ++++++
--- /var/tmp/diff_new_pack.JP7OJV/_old	2015-08-31 22:59:14.000000000 +0200
+++ /var/tmp/diff_new_pack.JP7OJV/_new	2015-08-31 22:59:14.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-text-hyphen
 #
-# Copyright (c) 2012 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
@@ -21,14 +21,17 @@
 Release:        0
 %define mod_name text-hyphen
 %define mod_full_name %{mod_name}-%{version}
-
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 1
-BuildRequires:  rubygem(rdoc) > 3.10
-Source:         %{mod_full_name}.gem
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{rubygem rdoc > 3.10}
+BuildRequires:  %{ruby}
+BuildRequires:  ruby-macros >= 5
+BuildRequires:  update-alternatives
+Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        Text::Hyphen is a Ruby library to hyphenate words in various
 License:        GPL-2.0+
 Group:          Development/Languages/Ruby
+PreReq:         update-alternatives
 
 %description
 Text::Hyphen is a Ruby library to hyphenate words in various languages using
@@ -49,48 +52,16 @@
 1.8 support is deprecated and I will not be providing any bug fixes related to
 Ruby 1.8. New features will be developed and tested against Ruby 1.9 only.
 
-%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
-%gem_unpack
-# Drop hyphen data due to insufficent licensing terms (bnc#827573):
-cat /dev/null >! lib/text/hyphen/language/{1.8,1.9}/{en_us,es,pt,hu1}.rb  
-%gem_build
 
 %build
 
 %install
-%gem_install -f
+%gem_install \
+  --symlink-binaries \
+  --doc-files="History.rdoc License.rdoc README.rdoc" \
+  -f
 
-%files
-%defattr(-,root,root,-)
-%{_bindir}/ruby-hyphen
-%{_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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic