Hello community,

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

Package is "rubygem-coderay"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-coderay/rubygem-coderay.changes  
2013-10-06 14:57:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-coderay.new/rubygem-coderay.changes     
2014-10-23 14:20:49.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Oct 22 07:22:22 UTC 2014 - tboer...@suse.com
+
+- Updated to new ruby macros
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rubygem-coderay.spec ++++++
--- /var/tmp/diff_new_pack.WRwOdT/_old  2014-10-23 14:20:50.000000000 +0200
+++ /var/tmp/diff_new_pack.WRwOdT/_new  2014-10-23 14:20:50.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-coderay
 #
-# 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
@@ -21,15 +21,12 @@
 Release:        0
 %define mod_name coderay
 %define mod_full_name %{mod_name}-%{version}
-%define mod_branch -%{version}
-%define mod_weight 10100
-
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 1
-Requires:       ruby >= 1.8.6
-BuildRequires:  ruby-devel >= 1.8.6
+BuildRequires:  %{ruby >= 1.8.6}
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{rubygem rdoc > 3.10}
+BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
-BuildRequires:  rubygem(rdoc) > 3.10
 Url:            http://coderay.rubychan.de
 Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        Fast syntax highlighting for selected languages
@@ -41,62 +38,15 @@
 Fast and easy syntax highlighting for selected languages, written in Ruby.
 Comes with RedCloth integration and LOC counter.
 
-%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}%{_sysconfdir}/alternatives
-mv %{buildroot}%{_bindir}/coderay{,%{mod_branch}}
-touch %{buildroot}%{_sysconfdir}/alternatives/coderay
-ln -s %{_sysconfdir}/alternatives/coderay %{buildroot}%{_bindir}/coderay
-
-%post
-/usr/sbin/update-alternatives --install \
-    %{_bindir}/coderay coderay %{_bindir}/coderay%{mod_branch} %{mod_weight}
-
-%preun
-if [ "$1" = 0 ] ; then
-    /usr/sbin/update-alternatives --remove coderay 
%{_bindir}/coderay%{mod_branch}
-fi
-
-%files
-%defattr(-,root,root,-)
-%{_bindir}/coderay%{mod_branch}
-%{_bindir}/coderay
-%ghost %{_sysconfdir}/alternatives/coderay
-%{_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 \
+  --symlink-binaries \
+  -f
+
+%gem_packages
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to