SPECS: amaroc.spec - rpm autodeps

glen glen at pld-linux.org
Sun Mar 2 13:27:58 CET 2008


Author: glen                         Date: Sun Mar  2 12:27:58 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rpm autodeps

---- Files affected:
SPECS:
   amaroc.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/amaroc.spec
diff -u SPECS/amaroc.spec:1.11 SPECS/amaroc.spec:1.12
--- SPECS/amaroc.spec:1.11	Sat Apr  7 05:08:25 2007
+++ SPECS/amaroc.spec	Sun Mar  2 13:27:52 2008
@@ -11,6 +11,7 @@
 # Source0-md5:	38308e04b2bd0f7df94d19f2455b70df
 Patch0:		%{name}-curses.patch
 URL:		http://sourceforge.net/projects/amaroc/
+BuildRequires:	sed >= 4.0
 Requires:	amarok
 Requires:	python
 Requires:	python-modules
@@ -31,11 +32,12 @@
 %prep
 %setup -q
 %patch0 -p0
+%{__sed} -i -e '1s,^#!.*python,#!%{__python},' amaroc.py
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
-install amaroc.py $RPM_BUILD_ROOT%{_bindir}
+install amaroc.py $RPM_BUILD_ROOT%{_bindir}/amaroc
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -43,7 +45,7 @@
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG README
-%attr(755,root,root) %{_bindir}/amaroc.py
+%attr(755,root,root) %{_bindir}/amaroc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -51,6 +53,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2008-03-02 12:27:52  glen
+- rpm autodeps
+
 Revision 1.11  2007-04-07 03:08:25  shadzik
 - add URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/amaroc.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list