[packages/cvs-fast-export] - avoid hiding python dependencies behind /usr/bin/env - drop scripts from explicit make targets (no

qboosh qboosh at pld-linux.org
Mon May 4 21:28:03 CEST 2015


commit e7bd56f377da9fa125331a8e08f7e5b1ca1ce84a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 4 21:29:10 2015 +0200

    - avoid hiding python dependencies behind /usr/bin/env
    - drop scripts from explicit make targets (nothing to do)

 cvs-fast-export.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/cvs-fast-export.spec b/cvs-fast-export.spec
index aa677b3..3f1d738 100644
--- a/cvs-fast-export.spec
+++ b/cvs-fast-export.spec
@@ -13,6 +13,7 @@ Source0:	http://www.catb.org/~esr/cvs-fast-export/%{name}-%{version}.tar.gz
 # Source0-md5:	94d9fbd3374ea4c736c4e9175938cc3c
 URL:		http://www.catb.org/~esr/cvs-fast-export/
 BuildRequires:	asciidoc
+BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # debugedit is broken:
@@ -45,8 +46,10 @@ ze zdalnych serwerów CVS.
 %prep
 %setup -q
 
+%{__sed} -i -e '1s,/usr/bin/env python,/usr/bin/python,' cvsconvert cvsreduce
+
 %build
-%{__make} cvs-fast-export cvssync cvsconvert man \
+%{__make} cvs-fast-export man \
 	CC="%{__cc}" \
 	EXTRA_CFLAGS="%{rpmcflags}" \
 	LDFLAGS="%{rpmldflags}"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cvs-fast-export.git/commitdiff/e7bd56f377da9fa125331a8e08f7e5b1ca1ce84a



More information about the pld-cvs-commit mailing list