Skip to contentSkip to conversation

git-core rpm requires

DISCUSSION Andreas Ericsson 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

I tried git on one of our not too updated servers and noticed that git-update-index requires zlib >= 1.2, which introduced the *Bound functions.

It took a while to track down due to lazy symbol resolution and the fact that the problem was hidden by stderr redirection in the first git version I tried (some months ago).

Here's a cut'n paste solution if you have sed >= 4.0.9 installed and have some sort of aversion to manual editors. Feels a bit silly to send a patch for a one-liner.

sed -i 's/^Requires:./&zlib >= 1.2, /' git-core.spec.in

Signature · 3 lines
Andreas Ericsson                   [email protected]
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231