]> git.pld-linux.org Git - packages/ruby.git/commitdiff
- obsoletes rdoc
authoraredridel <aredridel@pld-linux.org>
Thu, 25 Dec 2003 17:35:25 +0000 (17:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fix /usr/local/bin

Changed files:
    ruby.spec -> 1.51

ruby.spec

index ffa2cad1b47e83b4436cebeaa8eb25ad68a293c5..0e394923a2274c32c00291bd0275f6ef29aa461a 100644 (file)
--- a/ruby.spec
+++ b/ruby.spec
@@ -5,7 +5,7 @@ Summary(pt_BR): Linguagem de script orientada a objeto
 Summary(zh_CN):        ruby - Ò»ÖÖ¿ìËÙ¸ßЧµÄÃæÏò¶ÔÏó½Å±¾±à³ÌÓïÑÔ
 Name:          ruby
 Version:       1.8.1
-Release:       1
+Release:       2
 License:       GPL
 Group:         Development/Languages
 Source0:       ftp://ftp.ruby-lang.org/pub/%{name}/%{name}-%{version}.tar.gz
@@ -30,6 +30,7 @@ BuildRequires:        tk-devel
 Requires(post,postun):/sbin/ldconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     ruby-doc
+Obsoletes:     rdoc
 Obsoletes:     ruby-REXML
 
 %description
@@ -87,7 +88,7 @@ Biblioteki programistyczne interpretera j
 %setup -q -a1 -a2 -a3 -a5
 %patch0 -p1
 
-perl -pi -e "s#local/bin/ruby#bin/ruby#" sample/*
+find . -name '*.rb' -or -name '*.cgi' -or -name '*.test' | xargs perl -pi -e "s#/usr/local/bin#bin#"
 
 %build
 cd oniguruma
This page took 0.043204 seconds and 4 git commands to generate.