Browse Source

git.spec.in: remove python_path

We do not depend on python nor customize scripts for it anymore.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Junio C Hamano 17 years ago
parent
commit
c49d3c8a88
  1. 3
      git.spec.in

3
git.spec.in

@ -1,7 +1,5 @@ @@ -1,7 +1,5 @@
# Pass --without docs to rpmbuild if you don't want the documentation

%define python_path /usr/bin/python

Name: git
Version: @@VERSION@@
Release: 1%{?dist}
@ -98,7 +96,6 @@ rm -rf $RPM_BUILD_ROOT @@ -98,7 +96,6 @@ rm -rf $RPM_BUILD_ROOT
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT \
prefix=%{_prefix} mandir=%{_mandir} \
ETC_GITCONFIG=/etc/gitconfig \
PYTHON_PATH=%{python_path} \
INSTALLDIRS=vendor install %{!?_without_docs: install-doc}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'

Loading…
Cancel
Save