Hello community, here is the log from the commit of package rubygem-ruby-shadow for openSUSE:Factory checked in at 2013-05-07 16:02:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-ruby-shadow (Old) and /work/SRC/openSUSE:Factory/.rubygem-ruby-shadow.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-ruby-shadow" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-ruby-shadow/rubygem-ruby-shadow.changes 2012-11-16 14:33:15.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-ruby-shadow.new/rubygem-ruby-shadow.changes 2013-05-07 16:02:42.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Apr 29 14:02:06 UTC 2013 - boris@steki.net + +- update gem extconf.rb to support ruby 2.0 + +------------------------------------------------------------------- New: ---- rubygem-ruby-shadow-2.1.4-rb20_fixes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-ruby-shadow.spec ++++++ --- /var/tmp/diff_new_pack.bzpkvd/_old 2013-05-07 16:02:43.000000000 +0200 +++ /var/tmp/diff_new_pack.bzpkvd/_new 2013-05-07 16:02:43.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package ruby-shadow +# spec file for package rubygem-ruby-shadow # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -27,13 +27,14 @@ Requires: ruby >= 1.8 BuildRequires: ruby-devel >= 1.8 Url: https://github.com/apalmblad/ruby-shadow -Source: %{mod_full_name}.gem +Source0: %{mod_full_name}.gem Source1: README.LICENSE +Patch0: rubygem-ruby-shadow-2.1.4-rb20_fixes.patch Summary: *nix Shadow Password Module -# License really is "Free for any use with your own risk!" -# Look in README.LICENSE for clarification License: BSD-3-Clause Group: Development/Languages/Ruby +# License really is "Free for any use with your own risk!" +# Look in README.LICENSE for clarification %description This module provides access to shadow passwords on Linux and Solaris @@ -47,9 +48,9 @@ Usually in RDoc and RI formats. %prep -#gem_unpack -#if you need patches, apply them here and replace the # with a % sign in the surrounding lines -#gem_build +%gem_unpack +%patch0 +%gem_build %build cp %{SOURCE1} README.LICENSE ++++++ rubygem-ruby-shadow-2.1.4-rb20_fixes.patch ++++++ --- x/extconf.rb 1970-01-01 01:00:00.000000000 +0100 +++ extconf.rb 2013-04-29 16:04:50.713835819 +0200 @@ -1,12 +1,13 @@ # -*- ruby -*- # extconf.rb # +# Modified at: <2013/4/29 15:44:00 by bmanojlovic> # Modified at: <1999/8/19 06:38:55 by ttate> # require 'mkmf' -$CFLAGS = RUBY_VERSION =~ /1\.9/ ? '-DRUBY19' : '' +$CFLAGS = RUBY_VERSION =~ /(1\.9|2\.[0-9])/ ? '-DRUBY19' : '' #$LDFLAGS = "-lshadow" -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org