git/git-python-install-fix.diff
Sascha Peilicke 01f4542b84 Accepting request 74766 from devel:tools:scm
- update to 1.7.6: major update from 1.7.5.x
 * Similar to branch names, tagnames that begin with "-" are now
   disallowed.
 * Simpler handling of a large file depending on core.bigfilethreshold
   value
 * A magic pathspec ":/" handling
 * Some new options and improvements in git-blame, git-commit, git-diff
   git-grep, git-format-patch, git-merge, git-svn, etc
 * More prepartaion for i18n/l10n.
 See Documentation/RelNotes/1.7.6.txt for details.

- updated to git 1.7.6: see git changelog for more details

OBS-URL: https://build.opensuse.org/request/show/74766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=64
2011-06-28 13:12:53 +00:00

28 lines
993 B
Diff

---
Makefile | 2 +-
git_remote_helpers/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/git_remote_helpers/Makefile
+++ b/git_remote_helpers/Makefile
@@ -29,7 +29,7 @@
$(QUIET)$(PYTHON_PATH) $(pysetupfile) $(QUIETSETUP) build
install: $(pysetupfile)
- $(PYTHON_PATH) $(pysetupfile) install --prefix $(DESTDIR_SQ)$(prefix)
+ $(PYTHON_PATH) $(pysetupfile) install --prefix $(prefix) --root $(DESTDIR_SQ)
instlibdir: $(pysetupfile)
@echo "$(DESTDIR_SQ)$(prefix)/$(PYLIBDIR)"
--- a/Makefile
+++ b/Makefile
@@ -1800,7 +1800,7 @@
$(patsubst %.py,%,$(SCRIPT_PYTHON)): % : %.py
$(QUIET_GEN)$(RM) $@ $@+ && \
INSTLIBDIR=`MAKEFLAGS= $(MAKE) -C git_remote_helpers -s \
- --no-print-directory prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' \
+ --no-print-directory prefix='$(prefix_SQ)' DESTDIR=\
instlibdir` && \
sed -e '1s|#!.*python|#!$(PYTHON_PATH_SQ)|' \
-e 's|\(os\.getenv("GITPYTHONLIB"\)[^)]*)|\1,"@@INSTLIBDIR@@")|' \