Hello community,

here is the log from the commit of package rubygem-fastthread for 
openSUSE:Factory checked in at 2014-02-12 20:54:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-fastthread (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-fastthread.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-fastthread"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-fastthread/rubygem-fastthread.changes    
2012-08-04 09:39:11.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-fastthread.new/rubygem-fastthread.changes   
    2014-02-12 20:54:21.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Feb  6 08:32:05 UTC 2014 - [email protected]
+
+- use new macros
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rubygem-fastthread.spec ++++++
--- /var/tmp/diff_new_pack.eACIS6/_old  2014-02-12 20:54:21.000000000 +0100
+++ /var/tmp/diff_new_pack.eACIS6/_new  2014-02-12 20:54:21.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package rubygem-fastthread (Version 1.0.7)
+# spec file for package rubygem-fastthread
 #
-# Copyright (c) 2009 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,42 +15,69 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
+
 Name:           rubygem-fastthread
 Version:        1.0.7
 Release:        0
 %define mod_name fastthread
-#
-Group:          Development/Languages/Ruby
-License:        Ruby
-#
+%define mod_full_name %{mod_name}-%{version}
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  rubygems_with_buildroot_patch
-#ruby devel is needed for native extension
-BuildRequires:  ruby-devel
-%rubygems_requires
-#
-Url:            http://moonbase.rydia.net/
-Source:         %{mod_name}-%{version}.gem
-#
+BuildRequires:  ruby-macros >= 3
+BuildRequires:  rubygem(rdoc) > 3.10
+Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        Optimized replacement for thread.rb primitives
+License:        Ruby
+Group:          Development/Languages/Ruby
+
 %description
 Optimized replacement for thread.rb primitives
 
+%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 %{S:0}
+%gem_install -f
 %gem_cleanup
-
-%clean
-%{__rm} -rf %{buildroot}
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{gem_base}/gems/%{mod_full_name}/CHANGELOG 
%buildroot/%{_docdir}/%{name}/CHANGELOG
 
 %files
 %defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
+%{_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}/test
+%{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}/test
 
 %changelog


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

Reply via email to