Browse Source

git: update to 1.9.2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8365 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 10 years ago
parent
commit
30dfa8db44
1 changed files with 12 additions and 2 deletions
  1. 12 2
      g/git/git-vl.spec

+ 12 - 2
g/git/git-vl.spec

@@ -3,14 +3,14 @@
 
 # Pass --without docs to rpmbuild if you don't want the documentation
 Name: 		git
-Version: 	1.8.5.2
+Version: 	1.9.2
 Release:        1%{?_dist_release}
 Summary:  	Core git tools
 Summary(ja):	Core git ツール
 License: 	GPLv2
 Group: 		Development/Tools
 URL: 		http://git-scm.com/
-Source: 	http://git-core.googlecode.com/files/%{name}-%{version}.tar.gz
+Source: 	http://git-core.googlecode.com/files/%{name}-%{version}.tar.bz2
 Source1:	vine-default-git.el
 Source2:	git.xinetd
 Source3:	git.conf.httpd
@@ -185,6 +185,16 @@ Header files for git-core.
 %patch0 -p1
 %__mv contrib/diff-highlight/README contrib/diff-highlight/README.diff-highlight
 
+# Filter bogus perl requires
+cat << \EOF > %{name}-req
+#!/bin/sh
+%{__perl_requires} $* |\
+sed -e '/perl(packed-refs)/d'
+EOF
+
+%global __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
+chmod +x %{__perl_requires}	
+
 %build
 make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
      ETC_GITCONFIG=/etc/gitconfig \