Re: Running make rpm fails on a CentOS 6.3 machine

2014-02-03 Thread Erez Zilber
On Sun, Feb 2, 2014 at 11:07 PM, Todd Zullinger t...@pobox.com wrote: Hi Erez, Erez Zilber wrote: Thanks. I will try to use the rpm from Todd's build. BTW - if I want to create such a build on Fedora that will create el6 packages (e.g. git-1.8.5.3-2.el6.x86_64.rpm), what's the procedure?

Re: Running make rpm fails on a CentOS 6.3 machine

2014-02-03 Thread Todd Zullinger
Erez Zilber wrote: Thanks. Just making sure - I need to do all of this on a fedora machine, not a RHEL/CentOS machine, right? Nope. An el6 box makes a fine mock host for el6 and (usually) fedora targets (though the mock package in EPEL doesn't always have config files for the very latest

Re: Running make rpm fails on a CentOS 6.3 machine

2014-02-03 Thread Martin Langhoff
On Sun, Feb 2, 2014 at 4:07 PM, Todd Zullinger t...@pobox.com wrote: # Install fedpkg $ yum install fedpkg fedpkg is amazing. I (ab)use it (and the associated build machinery) for lots of private package builds. # Create an el6 srpm $ fedpkg --dist el6 srpm here I just say fedpkg --dist el6

Re: Running make rpm fails on a CentOS 6.3 machine

2014-02-03 Thread Todd Zullinger
Martin Langhoff wrote: # Create an el6 srpm $ fedpkg --dist el6 srpm here I just say fedpkg --dist el6 mockbuild and it makes the srpm and the binaries in mock. Automagic. Heh, and I thought I mentioning that, but since I never use it I didn't want to have to test it before including it

Re: Running make rpm fails on a CentOS 6.3 machine

2014-02-03 Thread Junio C Hamano
Todd Zullinger t...@pobox.com writes: I know the Fedora/EPEL spec file and what's in git.git have grown apart a good bit, unfortunately. That's the cost of having a spec file that is meant to work across a very wide array of RPM-based systems, I guess. The Fedora/EPEL spec file is fairly

Re: Running make rpm fails on a CentOS 6.3 machine

2014-02-02 Thread Erez Zilber
Thanks. I will try to use the rpm from Todd's build. BTW - if I want to create such a build on Fedora that will create el6 packages (e.g. git-1.8.5.3-2.el6.x86_64.rpm), what's the procedure? Thanks, Erez On Thu, Jan 30, 2014 at 8:51 PM, Todd Zullinger t...@pobox.com wrote: Hello, Jonathan

Re: Running make rpm fails on a CentOS 6.3 machine

2014-02-02 Thread Todd Zullinger
Hi Erez, Erez Zilber wrote: Thanks. I will try to use the rpm from Todd's build. BTW - if I want to create such a build on Fedora that will create el6 packages (e.g. git-1.8.5.3-2.el6.x86_64.rpm), what's the procedure? Something like this (this is from memory): # Install fedpkg $ yum

Re: Running make rpm fails on a CentOS 6.3 machine

2014-01-30 Thread Jonathan Nieder
Hi, Erez Zilber wrote: Writing perl.mak for Git Writing perl.mak for Git rename MakeMaker.tmp = perl.mak: No such file or directory at /usr/share/perl5/ExtUtils/MakeMaker.pm line 1024. make[3]: perl.mak: No such file or directory make[3]: perl.mak: No such file or directory make[3]: ***

Re: Running make rpm fails on a CentOS 6.3 machine

2014-01-30 Thread Todd Zullinger
Hello, Jonathan Nieder wrote: Erez Zilber wrote: Writing perl.mak for Git Writing perl.mak for Git rename MakeMaker.tmp = perl.mak: No such file or directory at /usr/share/perl5/ExtUtils/MakeMaker.pm line 1024. make[3]: perl.mak: No such file or directory make[3]: perl.mak: No such file or

Running make rpm fails on a CentOS 6.3 machine

2014-01-28 Thread Erez Zilber
Hi, I'm trying to build the git RPM (using tag v1.8.5.3) on a CentOS 6.3 64 bit machine. I was able to run 'make', but then I fail when running 'make rpm'. Can anyone help with the following error? [erez.zilber@erez-lx:~/work/ git]$ make rpm sed -e 's/@@VERSION@@/1.8.5.3/g' git.spec.in