packages: ruby/ruby.spec - use make rdoc instead of hand-made hack to build...
baggins
baggins at pld-linux.org
Fri Feb 26 12:18:47 CET 2010
Author: baggins Date: Fri Feb 26 11:18:47 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- use make rdoc instead of hand-made hack to build rdoc
---- Files affected:
packages/ruby:
ruby.spec (1.201 -> 1.202)
---- Diffs:
================================================================
Index: packages/ruby/ruby.spec
diff -u packages/ruby/ruby.spec:1.201 packages/ruby/ruby.spec:1.202
--- packages/ruby/ruby.spec:1.201 Fri Feb 26 11:46:46 2010
+++ packages/ruby/ruby.spec Fri Feb 26 12:18:41 2010
@@ -216,46 +216,13 @@
%{__autoconf}
%configure \
--enable-shared \
- --with-default-kcode=utf8 \
--enable-pthread
%{__make}
%if %{with doc}
-mkdir rdoc
-
-RUBYLIB=".:lib:$(find ext .ext -type d | tr '\n' ':')"
-export RUBYLIB
-LD_LIBRARY_PATH=$(pwd)
-export LD_LIBRARY_PATH
-
-./miniruby bin/rdoc --inline-source --op rdoc/core \
- array.c bignum.c class.c compar.c dir.c dln.c dmyext.c enum.c \
- error.c eval.c file.c gc.c hash.c inits.c io.c lex.c main.c marshal.c \
- math.c numeric.c object.c pack.c parse.c prec.c process.c random.c range.c \
- re.c regex.c ruby.c signal.c sprintf.c st.c string.c struct.c time.c util.c \
- variable.c version.c \
- lib/English.rb lib/abbrev.rb lib/base64.rb lib/benchmark.rb lib/cgi.rb \
- lib/cgi/session.rb lib/complex.rb lib/date.rb lib/fileutils.rb lib/find.rb \
- lib/generator.rb lib/logger.rb lib/matrix.rb lib/observer.rb \
- lib/pathname.rb lib/set.rb lib/shellwords.rb lib/singleton.rb \
- lib/tempfile.rb lib/test/unit.rb lib/thread.rb lib/thwait.rb \
- lib/time.rb lib/yaml.rb
-
+%{__make} rdoc
mv ruby-doc-stdlib-%{stdlibdoc_version}/stdlib rdoc/stdlib
-mv ri/%{ruby_ver}/site ri/%{ruby_ver}/system
-
-./miniruby bin/rdoc --ri -o ri/%{ruby_ver}/system \
- array.c bignum.c class.c compar.c dir.c dln.c \
- dmyext.c enum.c error.c eval.c file.c gc.c hash.c inits.c io.c lex.c main.c \
- marshal.c math.c numeric.c object.c pack.c parse.c prec.c process.c \
- random.c range.c re.c regex.c ruby.c signal.c sprintf.c st.c string.c \
- struct.c time.c util.c variable.c version.c \
- lib/English.rb lib/abbrev.rb lib/base64.rb lib/benchmark.rb lib/cgi.rb \
- lib/cgi/session.rb lib/complex.rb lib/date.rb lib/fileutils.rb lib/find.rb \
- lib/generator.rb lib/logger.rb lib/matrix.rb lib/observer.rb lib/pathname.rb \
- lib/set.rb lib/shellwords.rb lib/singleton.rb lib/tempfile.rb \
- lib/test/unit.rb lib/thread.rb lib/thwait.rb lib/time.rb lib/yaml.rb
%endif
%install
@@ -421,6 +388,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.202 2010/02/26 11:18:41 baggins
+- use make rdoc instead of hand-made hack to build rdoc
+
Revision 1.201 2010/02/26 10:46:46 baggins
- info is no more
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ruby/ruby.spec?r1=1.201&r2=1.202&f=u
More information about the pld-cvs-commit
mailing list