summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2015-05-04 19:29:10 (GMT)
committerJakub Bogusz2015-05-04 19:29:10 (GMT)
commite7bd56f377da9fa125331a8e08f7e5b1ca1ce84a (patch)
treeb3fbc78f341c58eb3936dbc6fd7093d84067f5c4
parent44c23e2e5b8af8050dd7fb610a89a6f1063aae55 (diff)
downloadcvs-fast-export-e7bd56f377da9fa125331a8e08f7e5b1ca1ce84a.zip
cvs-fast-export-e7bd56f377da9fa125331a8e08f7e5b1ca1ce84a.tar.gz
- avoid hiding python dependencies behind /usr/bin/env
- drop scripts from explicit make targets (nothing to do)
-rw-r--r--cvs-fast-export.spec5
1 files changed, 4 insertions, 1 deletions
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}"