]> git.pld-linux.org Git - packages/amaroc.git/commitdiff
- rpm autodeps
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 2 Mar 2008 12:27:52 +0000 (12:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amaroc.spec -> 1.12

amaroc.spec

index d11b53b38d0abc637a3836e0def0b309ccaf43a6..b67cc5d70cee209ba13346dcb552d905ac249211 100644 (file)
@@ -10,6 +10,7 @@ Source0:      http://dl.sourceforge.net/amaroc/%{name}-%{version}.tar.bz2
 # Source0-md5: 38308e04b2bd0f7df94d19f2455b70df
 Patch0:                %{name}-curses.patch
 URL:           http://sourceforge.net/projects/amaroc/
+BuildRequires: sed >= 4.0
 Requires:      amarok
 Requires:      python
 Requires:      python-modules
@@ -30,11 +31,12 @@ ułatwia używanie Amaroka przez sieć.
 %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
@@ -42,4 +44,4 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG README
-%attr(755,root,root) %{_bindir}/amaroc.py
+%attr(755,root,root) %{_bindir}/amaroc
This page took 0.060798 seconds and 4 git commands to generate.