SPECS: ruby.spec - adapterized; adapter friendly sed

glen glen at pld-linux.org
Mon Dec 26 22:04:14 CET 2005


Author: glen                         Date: Mon Dec 26 21:04:14 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- adapterized; adapter friendly sed

---- Files affected:
SPECS:
   ruby.spec (1.121 -> 1.122) 

---- Diffs:

================================================================
Index: SPECS/ruby.spec
diff -u SPECS/ruby.spec:1.121 SPECS/ruby.spec:1.122
--- SPECS/ruby.spec:1.121	Mon Dec 26 21:52:24 2005
+++ SPECS/ruby.spec	Mon Dec 26 22:04:09 2005
@@ -48,9 +48,9 @@
 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
@@ -147,7 +147,7 @@
 %description static -l pl
 Biblioteki statyczne Ruby.
 
-%package doc 
+%package doc
 Summary:	Ruby HTML documentation
 Summary(pl):	Dokumentacja HTML do Ruby
 Group:		Documentation
@@ -188,7 +188,7 @@
 %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 .
@@ -385,6 +385,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.122  2005/12/26 21:04:09  glen
+- adapterized; adapter friendly sed
+
 Revision 1.121  2005/12/26 20:52:24  twittner
 - fix typo: s/runnter/runner/
 - fix /usr/local/bin fix, use sed instead of perl, BR: sed >= 4.0
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ruby.spec?r1=1.121&r2=1.122&f=u



More information about the pld-cvs-commit mailing list