Code

RPM packaging: use %global inside %{!?...}
authorJunio C Hamano <gitster@pobox.com>
Sun, 31 Jan 2010 19:11:16 +0000 (11:11 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 31 Jan 2010 19:33:44 +0000 (11:33 -0800)
commit9f7a3c19dee2064b24b6b9fd5d6f6e770d4d539c
treea56763b3f54702ef1b62f73d987a93679a53e04f
parent6ddf75ae5d0ff55844cd936a1b850ca9ae5abbe5
RPM packaging: use %global inside %{!?...}

According to
https://www.redhat.com/archives/fedora-devel-list/2010-January/msg00093.html

scope of %define lasts until the end brace; earlier RPM up to Fedora 12
didn't necessarily honor the scope, but later versions corrected the bug.

Problem and solution both pointed out by Todd Zullinger.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git.spec.in