git.spec: Workaround localized messages not put in any RPM
commit969f3860c8314dd2e9a478f4281050f1a14376ca
authorJakub Narebski <jnareb@gmail.com>
Fri, 3 Feb 2012 21:42:46 +0000 (3 22:42 +0100)
committerJakub Narebski <jnareb@gmail.com>
Fri, 3 Feb 2012 21:42:46 +0000 (3 22:42 +0100)
tree460674b9be0e2aacd0969107aa298cd0a5583a85
parent3c5f10918e75dafd06738309742856997095f692
git.spec: Workaround localized messages not put in any RPM

Currently building git RPM from tarball results in the following
error:

  RPM build errors:
     Installed (but unpackaged) file(s) found:
     /usr/share/locale/is/LC_MESSAGES/git.mo

This is caused by the fact that localized messages do not have their
place in some RPM package.  Let's postpone decision where they should
be put (be it git-i18n-Icelandic, or git-i18n, or git package itself)
for later by removing locale files at the end of install phase.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
git.spec.in