From 754b419ae73c8b6d098bfd00775fc765379d8033 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 26 Dec 2005 21:04:09 +0000 Subject: [PATCH] - adapterized; adapter friendly sed Changed files: ruby.spec -> 1.122 --- ruby.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ruby.spec b/ruby.spec index b32542c..6721d2f 100644 --- 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 . -- 2.43.0