Hello community,

here is the log from the commit of package rubygem-ipaddress for 
openSUSE:Factory checked in at 2014-10-23 14:20:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-ipaddress (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-ipaddress.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-ipaddress"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-ipaddress/rubygem-ipaddress.changes      
2013-06-05 13:37:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-ipaddress.new/rubygem-ipaddress.changes 
2014-10-23 14:20:42.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Oct 22 07:26:10 UTC 2014 - [email protected]
+
+- Updated to new ruby macros
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rubygem-ipaddress.spec ++++++
--- /var/tmp/diff_new_pack.9bIaJb/_old  2014-10-23 14:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.9bIaJb/_new  2014-10-23 14:20:43.000000000 +0200
@@ -1,8 +1,7 @@
 #
 # spec file for package rubygem-ipaddress
 #
-# Copyright (c) 2012 B1 Systems GmbH, Vohburg, Germany.
-# Copyright (c) 2013 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
@@ -22,9 +21,10 @@
 Release:        0
 %define mod_name ipaddress
 %define mod_full_name %{mod_name}-%{version}
-
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 1
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{ruby}
+BuildRequires:  ruby-macros >= 5
 Url:            http://github.com/bluemonk/ipaddress
 Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        IPv4/IPv6 addresses manipulation library
@@ -37,50 +37,15 @@
 a layer of compatibility with Ruby's own IPAddr, while 
 addressing many of its issues.
 
-%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
-#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
-#gem_build
 
 %build
 
 %install
-%gem_install -f
-mkdir -p %{buildroot}%{_docdir}/%{name}
-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}/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_install \
+  --doc-files="CHANGELOG.rdoc LICENSE README.rdoc" \
+  -f
+
+%gem_packages
 
 %changelog

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

Reply via email to