[CentOS-devel] git upgrade

Nico Kadel-Garcia

nkadel at gmail.com
Mon Nov 10 13:22:58 UTC 2014


I took a look at it. The existing git18 SRPM is a bit silly, but
workable, and I've published some building tools for git-2.1. at
https://github.com/nkadel/git21-srpm. I basically did this.

*. Grab the '.gitignore' and the 'Makefile' I like to use form
https://github.com/nkadel/subversion-1.8.x-srpm.
* Get or make a new tarball from the git 2.1.2 repo tag
* Get the git18 SRPM from
http://dl.iuscommunity.org/pub/ius/archive/CentOS/6/SRPMS/git18-1.8.5.5-3.ius.centos6.src.rpm
* Extract its contents with "rpm2cpio" in a direcoty with the Makefile
and .gitignore
       *) Replace the references to "1.8.2" (rpm -U) can work)
       *) Disable the "Patch5" Makefile patch, that's already included
upstream these days.
       *) Make empty placeholders for the htmldocs and manpages
tarballs. Those only exist there because RHEL 4 and DentOS 4 can't
compile the documentation.
       *) Make RPM's and SRPM's on your revelevant CentOS system, or
use 'mock' to build them.


On Sun, Oct 26, 2014 at 8:00 AM, cybernet <cybernet2u at yahoo.com> wrote:
> already did, yesterday: https://bugzilla.redhat.com/show_bug.cgi?id=1157180
>
> i want to compile the last version of git 2.1.2, but i don't know how to
> make a install kit ( rpm archive )
>
> can you help ?
>
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> http://lists.centos.org/mailman/listinfo/centos-devel
>



More information about the CentOS-devel mailing list