|
@@ -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 \
|