[packagers] Git specfile update

Tom G. Christensen tgc at statsbiblioteket.dk
Mon Jul 16 09:47:31 CEST 2007


Tom G. Christensen wrote:
> Hi,
> 
> It has these updates:
> Update to release 1.5.2.4.
> 
> Use the pre-compiled upstream manpages instead of txt version
> Since they're nice enough to provide them I think we should take 
> advantage of that.
> This also means that git help <command> will actually provide output.
> 
> Don't trash all the hardlinks in %%{_bindir} during install.
> Running perl -pi -e on all the files in %{_bindir} kills the hardlinks 
> and balloons the rpm up to a whopping 20+ megs, not ideal so I commented 
> it out :)
> I checked afterwards and nothing seems to actually need fixing anyway so 
> should be safe.
> 
> Add gitk to -gui package.
> 
> I've added perl(Error) as a BuildRequires, without it perl-Git installs 
> its own copy and actually ends up providing perl(Error).
> Alternatively you can leave out the BR and nuke the private copy in 
> %install stage.
> I also added expat-devel to BR since it's not pulled in by any of the 
> other BRs and the build needs it.
> 
> The specfile was buildtested in my mock setup for el3,4,5 and I've done 
> a few small tests with the el4 binaries without issues.
> It was "upgrade" testet on el4 against a local modified build of the 
> upstream src.rpm and it did the right thing (replaced all the small 
> packages, pulled in new git-gui and perl-Git).
> 
> -tgc
> 
Here a new revision, this time it's diffed against what's in SVN.
Compared to the last diff it further contains these changes:
For BR curl-devel I believe the true minimum requirement is 7.8.1 not 7.9
git-gui package should Obsolete/Provide gitk to properly match upstream 
gitk package.

-tgc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: git-update-v2.patch
Type: text/x-patch
Size: 3514 bytes
Desc: not available
Url : http://lists.rpmforge.net/pipermail/packagers/attachments/20070716/59b96a9e/git-update-v2.bin


More information about the packagers mailing list