Update to git-1.6.5.rc2

Enable Linus' block-sha1 implementation. This allows git to not link most
    binaries with libcrypto (from openssl). Combined with the upstream
    changes to not link to libcurl except when needed, this slims down the
    git binaries a bit.
This commit is contained in:
Todd Zullinger 2009-09-28 15:01:54 +00:00
parent 38399517f7
commit b79693427a
3 changed files with 13 additions and 7 deletions

View File

@ -1 +1 @@
git-1.6.4.4.tar.bz2
git-1.6.5.rc2.tar.bz2

View File

@ -1,12 +1,13 @@
# Pass --without docs to rpmbuild if you don't want the documentation
%global snap .rc2
Name: git
Version: 1.6.4.4
Release: 1%{?dist}
Version: 1.6.5
Release: 0.2%{?snap}%{?dist}
Summary: Fast Version Control System
License: GPLv2
Group: Development/Tools
URL: http://git-scm.com/
Source0: http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.bz2
Source0: http://kernel.org/pub/software/scm/git/%{name}-%{version}%{?snap}.tar.bz2
Source1: git-init.el
Source2: git.xinetd
Source3: git.conf.httpd
@ -186,7 +187,7 @@ Requires: git = %{version}-%{release}, emacs-common >= 22.2
%endif
%prep
%setup -q
%setup -q -n %{name}-%{version}%{?snap}
%patch0 -p1
%patch1 -p1
%patch2 -p1
@ -196,6 +197,7 @@ Requires: git = %{version}-%{release}, emacs-common >= 22.2
%define make_git \
make %{_smp_mflags} V=1 CFLAGS="$RPM_OPT_FLAGS" \\\
ASCIIDOC="asciidoc --unsafe" ASCIIDOC8=1 ASCIIDOC_NO_ROFF=1 \\\
BLK_SHA1=1 \\\
ETC_GITCONFIG=%{_sysconfdir}/gitconfig \\\
DESTDIR=$RPM_BUILD_ROOT \\\
INSTALL="install -p" \\\
@ -211,7 +213,7 @@ cat << \EOF > %{name}-req
sed -e '/perl(packed-refs)/d'
EOF
%global __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
%global __perl_requires %{_builddir}/%{name}-%{version}%{?snap}/%{name}-req
chmod +x %{__perl_requires}
%build
@ -386,6 +388,10 @@ rm -rf $RPM_BUILD_ROOT
# No files for you!
%changelog
* Mon Sep 28 2009 Todd Zullinger <tmz@pobox.com> - 1.6.5-0.2.rc2
- git-1.6.5.rc2
- Enable Linus' block-sha1 implementation
* Wed Sep 16 2009 Todd Zullinger <tmz@pobox.com> - 1.6.4.4-1
- git-1.6.4.4

View File

@ -1 +1 @@
b150352782998ca1f84185e6af53ec26 git-1.6.4.4.tar.bz2
e9cfec47e38232948dc90188927f7782 git-1.6.5.rc2.tar.bz2