# HG changeset patch # User Michael Schloh von Bennewitz # Date 1364497880 -3600 # Node ID 3d752068b7fb0aebedbc11354397380f3aa61f18 # Parent bafc40b5f6349c4cc99197d060d1228331c58aed Update to major new vendor software version and adjust accordingly. diff -r bafc40b5f634 -r 3d752068b7fb ruby/ruby.spec --- a/ruby/ruby.spec Sun Mar 03 13:09:02 2013 +0100 +++ b/ruby/ruby.spec Thu Mar 28 20:11:20 2013 +0100 @@ -22,9 +22,9 @@ ## # package versions -%define V_dist 1.9.3-p286 -%define V_subdir 1.9.3-p286 -%define V_opkg 1.9.3p286 +%define V_dist 2.0.0-p0 +%define V_subdir 2.0.0-p0 +%define V_opkg 2.0.0p0 # package information Name: ruby @@ -63,6 +63,14 @@ %prep %setup -q -n ruby-%{V_subdir} + l_stackprot=yes + case "%{l_platform -t}" in + *-sunos* ) l_stackprot=broken ;; + esac + %{l_shtool} subst \ + -e 's;#!\ /bin/sh;#! %{l_bash};' \ + -e 's;stack_protector=yes;stack_protector=$l_stackprot;g' \ + configure %build CC="%{l_cc}" \ @@ -71,9 +79,9 @@ ./configure \ --prefix=%{l_prefix} \ --mandir=%{l_prefix}/man \ - --with-ldflags="%{l_ldflags}" \ + --disable-dtrace \ --disable-shared - %{l_make} %{l_mflags -O} + %{l_make} %{l_mflags -O} V=1 %install %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}