[packages/subunit] - avoid hiding script dependencies behind /usr/bin/env

qboosh qboosh at pld-linux.org
Sun May 24 11:46:57 CEST 2015


commit 12c2eecdf1072c4db2dc136fed57d6d9cb86a21b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun May 24 11:48:03 2015 +0200

    - avoid hiding script dependencies behind /usr/bin/env

 subunit.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/subunit.spec b/subunit.spec
index 437bfe3..74445f7 100644
--- a/subunit.spec
+++ b/subunit.spec
@@ -25,6 +25,7 @@ BuildRequires:	python-devel
 BuildRequires:	rpm-perlprov
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
+BuildRequires:	sed >= 4.0
 Requires:	python-subunit = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -137,6 +138,8 @@ Obsługa protokołu Subunit dla języka Python.
 %setup -q
 %patch0 -p1
 
+%{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' filters/*subunit*
+
 %build
 %{__libtoolize}
 %{__aclocal}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/subunit.git/commitdiff/12c2eecdf1072c4db2dc136fed57d6d9cb86a21b



More information about the pld-cvs-commit mailing list