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
parent
50b3555c48
commit
c49d3c8a88
|
@ -1,7 +1,5 @@
|
||||||
# Pass --without docs to rpmbuild if you don't want the documentation
|
# Pass --without docs to rpmbuild if you don't want the documentation
|
||||||
|
|
||||||
%define python_path /usr/bin/python
|
|
||||||
|
|
||||||
Name: git
|
Name: git
|
||||||
Version: @@VERSION@@
|
Version: @@VERSION@@
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
@ -98,7 +96,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT \
|
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT \
|
||||||
prefix=%{_prefix} mandir=%{_mandir} \
|
prefix=%{_prefix} mandir=%{_mandir} \
|
||||||
ETC_GITCONFIG=/etc/gitconfig \
|
ETC_GITCONFIG=/etc/gitconfig \
|
||||||
PYTHON_PATH=%{python_path} \
|
|
||||||
INSTALLDIRS=vendor install %{!?_without_docs: install-doc}
|
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 .packlist -exec rm -f {} ';'
|
||||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
||||||
|
|
Loading…
Reference in New Issue