Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Added correct Python path to the RPM specfile.
author
Eygene Ryabinkin
<rea-git@codelabs.ru>
Thu, 29 Mar 2007 10:07:47 +0000
(14:07 +0400)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 1 Apr 2007 06:59:42 +0000
(23:59 -0700)
Signed-off-by: Eygene Ryabinkin <rea-git@codelabs.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git.spec.in
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
5250929
)
diff --git
a/git.spec.in
b/git.spec.in
index 4bf7a8f6180d1ccb6955fc714e57dddcac66386c..1d3934bba5db3f2238ecc59b0418c7af679475ae 100644
(file)
--- a/
git.spec.in
+++ b/
git.spec.in
@@
-1,4
+1,7
@@
# 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
Version: @@VERSION@@
Release: 1%{?dist}
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 \
%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} \
%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 {} ';'
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 {} ';'