Hello community,
here is the log from the commit of package ruby
checked in at Fri Apr 7 17:08:07 CEST 2006.
--------
--- ruby/ruby.changes 2006-01-25 21:41:14.000000000 +0100
+++ ruby/ruby.changes 2006-04-03 16:57:20.000000000 +0200
@@ -1,0 +2,20 @@
+Mon Apr 3 16:53:27 CEST 2006 - mrueckert@suse.de
+
+- reworked the ruby-1.8.4-no-eaccess.diff patch
+ it broke when build on old distros
+
+-------------------------------------------------------------------
+Thu Jan 26 14:23:55 CET 2006 - mrueckert@suse.de
+
+- added upstream patch for eaccess
+- disabled openssl tests on pcc
+
+-------------------------------------------------------------------
+Wed Jan 25 21:43:32 CET 2006 - mrueckert@suse.de
+
+- added ruby-1.8.4_linkerflags.patch
+ patch removes -L. from the linker flags.
+ it seems libtool otherwise expands it to -L$PWD.
+ this leads to trouble with our build system.
+
+-------------------------------------------------------------------
New:
----
ruby-1.8.4-warnings.patch
ruby-1.8.4_linkerflags.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ruby.spec ++++++
--- /var/tmp/diff_new_pack.uXkEfi/_old 2006-04-07 17:07:49.000000000 +0200
+++ /var/tmp/diff_new_pack.uXkEfi/_new 2006-04-07 17:07:49.000000000 +0200
@@ -5,7 +5,7 @@
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://bugs.opensuse.org
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
@@ -15,7 +15,7 @@
%define rb_ver %(echo %{version} | sed -e 's/\\\.[0-9]\\\+$//')
URL: http://www.ruby-lang.org/
Version: 1.8.4
-Release: 2
+Release: 9
License: GPL, Other License(s), see package
Group: Development/Languages/Ruby
Summary: An Interpreted Object-Oriented Scripting Language
@@ -27,6 +27,8 @@
Patch2: ruby-1.8.4-no-eaccess.diff
Patch4: ruby-1.8.2-tcltk-multilib.patch
Patch7: ruby-socket_ipv6.patch
+Patch8: ruby-1.8.4-warnings.patch
+Patch9: ruby-1.8.4_linkerflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -179,11 +181,14 @@
%patch2
%patch4
%patch7
+#%patch8
+%patch9
find . -type f | xargs -n 1 sed -i "s@#!\s*/usr/local/bin/ruby@#!/usr/bin/ruby@"
+touch parse.y
%build
autoreconf -fi
-export CFLAGS="%{optflags} -fno-strict-aliasing"
+export CFLAGS="%{optflags} -g -save-temps"
%configure \
--with-default-kcode=none \
--with-mantype=man \
@@ -197,6 +202,9 @@
#
%{__mkdir} unused.test
%{__mv} test/soap/ test/webrick/ unused.test/
+%ifarch ppc ppc64 s390x
+%{__mv} test/openssl/ unused.test/
+%endif
#
# -> LD_LIBRARY_PATH => we need to find libruby.so.%{rb_ver}
# the test suite uses LD_PRELOAD=./libruby.so.%{rb_ver}
@@ -207,7 +215,7 @@
#
# run the test suites
#
-%{__make} test
+%{__make} check
#
# TODO:
# the big test suite fails with some weird openssl errors on ppc
@@ -218,6 +226,9 @@
# restore the tests
#
%{__mv} unused.test/{soap,webrick} test/
+%ifarch ppc ppc64 s390x
+%{__mv} unused.test/openssl/ test/
+%endif
#
# TODO: patch the .document files to include all needed modules.
#
@@ -412,6 +423,17 @@
%doc %{_docdir}/%{name}/examples
%changelog -n ruby
+* Mon Apr 03 2006 - mrueckert@suse.de
+- reworked the ruby-1.8.4-no-eaccess.diff patch
+ it broke when build on old distros
+* Thu Jan 26 2006 - mrueckert@suse.de
+- added upstream patch for eaccess
+- disabled openssl tests on pcc
+* Wed Jan 25 2006 - mrueckert@suse.de
+- added ruby-1.8.4_linkerflags.patch
+ patch removes -L. from the linker flags.
+ it seems libtool otherwise expands it to -L$PWD.
+ this leads to trouble with our build system.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 15 2006 - kukuk@suse.de
++++++ ruby-1.8.4-no-eaccess.diff ++++++
--- /var/tmp/diff_new_pack.uXkEfi/_old 2006-04-07 17:07:49.000000000 +0200
+++ /var/tmp/diff_new_pack.uXkEfi/_new 2006-04-07 17:07:49.000000000 +0200
@@ -1,14 +1,62 @@
---- file.c
-+++ file.c 2006/01/15 21:34:57
-@@ -849,6 +849,7 @@
+see bug:
+http://rubyforge.org/tracker/?func=detail&atid=1698&aid=3317&group_id=426
+
+adapted patch from:
+http://www.atdot.net/~ko1/w3ml/w3ml.cgi/ruby-cvs/msg/16358
+
+
+Index: ChangeLog
+===================================================================
+--- ChangeLog.orig
++++ ChangeLog
+@@ -1,3 +1,8 @@
++Wed Jan 25 22:29:04 2006 Nobuyoshi Nakada