diff --git a/ruby.spec b/ruby.spec index bc837f5..ae34854 100644 --- a/ruby.spec +++ b/ruby.spec @@ -17,7 +17,7 @@ Name: ruby Version: %{rubyver}%{?dotpatchlevel} -Release: 1%{?dist} +Release: 2%{?dist} # Please check if ruby upstream changes this to "Ruby or GPLv2+" License: Ruby or GPLv2 URL: http://www.ruby-lang.org/ @@ -230,6 +230,22 @@ make OPT=-O0 RUBY_INSTALL_NAME=ruby \ %{?_smp_mflags} %endif +# Avoid multilib conflict on -libs (bug 649174) +# Maybe dlconfig.rb is unneeded anyway, however for now moving +# dlconfig.rb and add wrapper (need checking) +CONFIGARCH=$(./miniruby -rrbconfig -e "puts Config::CONFIG['arch']") +[ -z "$CONFIGARCH" ] && exit 1 +pushd ext/dl +mkdir $CONFIGARCH +mv dlconfig.rb $CONFIGARCH/ +cat > dlconfig.rb < - 1.8.7.302-2 +- Avoid multilib conflict on -libs subpackage (bug 649174) + * Mon Aug 23 2010 Mamoru Tasaka - 1.8.7.302-1 - Update to 1.8.7.302 - CVE-2010-0541 (bug 587731) is fixed in this version