]> git.pld-linux.org Git - packages/ruby.git/commitdiff
- adapterized; adapter friendly sed
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 26 Dec 2005 21:04:09 +0000 (21:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ruby.spec -> 1.122

ruby.spec

index b32542cad03beeee55933fa61f75ceee49ff80eb..6721d2f2769ea0f69410f7c896c1c2e0059b9e9c 100644 (file)
--- a/ruby.spec
+++ b/ruby.spec
@@ -47,9 +47,9 @@ BuildRequires:        texinfo
 BuildRequires: tk-devel
 BuildRequires: unzip
 Requires(post,postun): /sbin/ldconfig
-Obsoletes:     ruby-doc
 Obsoletes:     rdoc
 Obsoletes:     ruby-REXML
+Obsoletes:     ruby-doc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _ulibdir        %{_prefix}/lib
@@ -146,7 +146,7 @@ Ruby static libraries.
 %description static -l pl
 Biblioteki statyczne Ruby.
 
-%package doc 
+%package doc
 Summary:       Ruby HTML documentation
 Summary(pl):   Dokumentacja HTML do Ruby
 Group:         Documentation
@@ -187,7 +187,7 @@ Przyk
 %patch1 -p1
 #%patch3 -p1
 
-find . -name '*.rb' -or -name '*.cgi' -or -name '*.test' | xargs %{__sed} -i "s#/usr/local/bin/#/usr/bin/#"
+find . -name '*.rb' -or -name '*.cgi' -or -name '*.test' | xargs %{__sed} -i '1s,#!.*/local/bin/,#!%{_bindir}/,'
 
 %build
 cp -f /usr/share/automake/config.sub .
This page took 0.090576 seconds and 4 git commands to generate.