[wesnoth] Fix translations installation.

Jon Ciesla limb at fedoraproject.org
Fri Jul 27 13:07:01 UTC 2012


commit bd7bc004490b083d83e5a34492ccc2da58cc54cb
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Fri Jul 27 08:06:26 2012 -0500

    Fix translations installation.

 wesnoth.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/wesnoth.spec b/wesnoth.spec
index b6f3304..43739ee 100644
--- a/wesnoth.spec
+++ b/wesnoth.spec
@@ -3,7 +3,7 @@
 
 Name:           wesnoth
 Version:        1.10.3
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Turn-based strategy game with a fantasy theme
 
 Group:          Amusements/Games
@@ -181,6 +181,9 @@ ln -s /usr/share/fonts/wqy-zenhei/wqy-zenhei.ttc $RPM_BUILD_ROOT/%{_datadir}/fon
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/locale
 cp -pr translations/* $RPM_BUILD_ROOT/%{_datadir}/locale/
 
+#So wesnoth can still find the translations. . .
+ln -s %{_datadir}/locale/ $RPM_BUILD_ROOT/%{_datadir}/wesnoth/translations
+
 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man6
 pushd doc
 pushd man
@@ -344,6 +347,9 @@ fi
 #%endif
 
 %changelog
+* Fri Jul 27 2012 Jon Ciesla <limburgher at gmail.com> - 1.10.3-5
+- Fix for translation issue, BZ 840916.
+
 * Thu Jul 26 2012 Jon Ciesla <limburgher at gmail.com> - 1.10.3-4
 - Rebuild for boost 1.50.
 


More information about the scm-commits mailing list