[git] Package git translations.

Adam Tkac atkac at fedoraproject.org
Mon Jan 30 14:40:08 UTC 2012


commit df0d1ad6ab4e589c6884a784d27d624815d802eb
Author: Adam Tkac <atkac at redhat.com>
Date:   Mon Jan 30 15:39:46 2012 +0100

    Package git translations.
    
    Signed-off-by: Adam Tkac <atkac at redhat.com>

 git.spec |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/git.spec b/git.spec
index 979772e..0e0b1b3 100644
--- a/git.spec
+++ b/git.spec
@@ -421,6 +421,9 @@ desktop-file-install \
 %endif
     --dir=%{buildroot}%{_datadir}/applications %{SOURCE5}
 
+# find translations
+%find_lang %{name} %{name}.lang
+
 # quiet some rpmlint complaints
 chmod -R g-w %{buildroot}
 find %{buildroot} -name git-mergetool--lib | xargs chmod a-x
@@ -433,7 +436,7 @@ find contrib -type f | xargs chmod -x
 rm -rf %{buildroot}
 
 
-%files -f bin-man-doc-files
+%files -f bin-man-doc-files -f %{name}.lang
 %defattr(-,root,root)
 %{_datadir}/git-core/
 %dir %{gitcoredir}


More information about the scm-commits mailing list