diff options
author | Eygene Ryabinkin <rea-git@codelabs.ru> | 2007-03-29 14:07:47 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-31 23:59:42 -0700 |
commit | faced1af7112353bcb67e033cd2a4fb47e21b201 (patch) | |
tree | 10cd4f456fefc27b05dba2582437f9f1012f3924 /git.spec.in | |
parent | 5250929d6010083779d334634dcd6766de045b1f (diff) | |
download | git-faced1af7112353bcb67e033cd2a4fb47e21b201.tar.gz |
Added correct Python path to the RPM specfile.
Signed-off-by: Eygene Ryabinkin <rea-git@codelabs.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.spec.in')
-rw-r--r-- | git.spec.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/git.spec.in b/git.spec.in index 4bf7a8f618..1d3934bba5 100644 --- a/git.spec.in +++ b/git.spec.in @@ -1,4 +1,7 @@ # 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} @@ -93,12 +96,13 @@ Perl interface to Git %build make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" WITH_P4IMPORT=YesPlease \ - prefix=%{_prefix} all %{!?_without_docs: doc} + prefix=%{_prefix} PYTHON_PATH=%{python_path} all %{!?_without_docs: doc} %install rm -rf $RPM_BUILD_ROOT make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT \ WITH_P4IMPORT=YesPlease prefix=%{_prefix} mandir=%{_mandir} \ + 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 {} ';' |