SPECS: ruby.spec - add version ( < 1.8.4 ) to O: ruby-doc - subpkg...

twittner twittner at pld-linux.org
Tue Dec 27 09:48:27 CET 2005


Author: twittner                     Date: Tue Dec 27 08:48:27 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add version ( < 1.8.4 ) to O: ruby-doc - subpkg. ruby-doc is restored
- extend s,/usr/local/bin,%{_bindir} changes (not only shebangs in scripts)
- rel. 3 - STBR again please

---- Files affected:
SPECS:
   ruby.spec (1.123 -> 1.124) 

---- Diffs:

================================================================
Index: SPECS/ruby.spec
diff -u SPECS/ruby.spec:1.123 SPECS/ruby.spec:1.124
--- SPECS/ruby.spec:1.123	Tue Dec 27 02:15:32 2005
+++ SPECS/ruby.spec	Tue Dec 27 09:48:22 2005
@@ -7,7 +7,7 @@
 Summary(zh_CN):	ruby - ŇťÖÖżěËٸßЧľÄĂćĎňśÔĎó˝ĹąžąŕłĚÓďŃÔ
 Name:		ruby
 Version:	1.8.4
-Release:	2	
+Release:	3
 Epoch:		1
 License:	The Ruby License
 Group:		Development/Languages
@@ -50,7 +50,7 @@
 Requires(post,postun):	/sbin/ldconfig
 Obsoletes:	rdoc
 Obsoletes:	ruby-REXML
-Obsoletes:	ruby-doc
+Obsoletes:	ruby-doc < 1.8.4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_ulibdir	%{_prefix}/lib
@@ -188,7 +188,9 @@
 %patch1 -p1
 #%patch3 -p1
 
-find . -name '*.rb' -or -name '*.cgi' -or -name '*.test' | xargs %{__sed} -i '1s,#!.*/local/bin/,#!%{_bindir}/,'
+find . -name '*.rb' -o -name '*.cgi' -o -name '*.test' -o -name 'ruby.1' \
+	-o -name 'ruby.info*' -o -name '*.html' -o -name '*.tcl' -o -name '*.texi' \
+	| xargs %{__sed} -i 's,/usr/local/bin/,%{_bindir}/,'
 
 %build
 cp -f /usr/share/automake/config.sub .
@@ -385,6 +387,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.124  2005/12/27 08:48:22  twittner
+- add version ( < 1.8.4 ) to O: ruby-doc - subpkg. ruby-doc is restored
+- extend s,/usr/local/bin,%{_bindir} changes (not only shebangs in scripts)
+- rel. 3 - STBR again please
+
 Revision 1.123  2005/12/27 01:15:32  twittner
 - rel. 2, STBR
 
================================================================

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



More information about the pld-cvs-commit mailing list