[packagers] Git specfile update

Tom G. Christensen tgc at statsbiblioteket.dk
Fri Jul 13 16:02:32 CEST 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: git-update.patch
Type: text/x-patch
Size: 3253 bytes
Desc: not available
Url : http://lists.rpmforge.net/pipermail/packagers/attachments/20070713/12bfb003/git-update.bin


More information about the packagers mailing list