SPECS (DEVEL): amarok.spec - inline sed to have scripts proper int...

glen glen at pld-linux.org
Wed Apr 26 22:54:09 CEST 2006


Author: glen                         Date: Wed Apr 26 20:54:09 2006 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- inline sed to have scripts proper interpreter

---- Files affected:
SPECS:
   amarok.spec (1.106.2.15 -> 1.106.2.16) 

---- Diffs:

================================================================
Index: SPECS/amarok.spec
diff -u SPECS/amarok.spec:1.106.2.15 SPECS/amarok.spec:1.106.2.16
--- SPECS/amarok.spec:1.106.2.15	Wed Apr 26 22:43:17 2006
+++ SPECS/amarok.spec	Wed Apr 26 22:54:04 2006
@@ -24,7 +24,7 @@
 %endif
 
 %define		_beta	beta3c
-%define		_rel	1.1
+%define		_rel	1.2
 
 Summary:	A KDE audio player
 Summary(pl):	Odtwarzacz audio dla KDE
@@ -181,7 +181,6 @@
 Requires:	%{name} = %{version}-%{release}
 Requires:	kdebase-kdialog
 Requires:	python-PyQt
-Requires:	ruby
 Requires:	ruby-modules
 
 %description scripts
@@ -207,6 +206,13 @@
 # see kde bug #110909
 sed -i -e 's/amarok_live//' amarok/src/scripts/Makefile.am
 
+# kill env, call interpreter directly, so rpm automatics could rule
+sed -i -e '
+	1s,#!.*bin/env.*ruby,#!%{_bindir}/ruby,
+	1s,#!.*bin/env.*python,#!%{_bindir}/python,
+	1s,#!.*bin/env.*bash,#!/bin/bash,
+' amarok/src/scripts/*/*.{py,rb,sh}
+
 %build
 cp -f /usr/share/automake/config.sub admin
 %{__make} -f admin/Makefile.common cvs
@@ -428,6 +434,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.106.2.16  2006/04/26 20:54:04  glen
+- inline sed to have scripts proper interpreter
+
 Revision 1.106.2.15  2006/04/26 20:43:17  glen
 - fix -scripts, cleanups
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/amarok.spec?r1=1.106.2.15&r2=1.106.2.16&f=u



More information about the pld-cvs-commit mailing list