From 60ee47bc654477f15c867dc7edf2238afe0c5a2b Mon Sep 17 00:00:00 2001 From: Mosaab Alzoubi Date: Fri, 17 Jan 2014 08:34:11 +0200 Subject: [PATCH] Fix find locale #2 try --- goldendict.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/goldendict.spec b/goldendict.spec index 38f90f7..cfb3d6d 100644 --- a/goldendict.spec +++ b/goldendict.spec @@ -40,7 +40,9 @@ make %{?_smp_mflags} make install INSTALL_ROOT=%{buildroot} INSTALL="install -p" rm -rf %{buildroot}/%{_datadir}/app-install desktop-file-install %{buildroot}%{_datadir}/applications/%{name}.desktop -%find_lang %{name} --with-qt +install -d %{buildroot}/%{_datadir}/goldendict/locale +install -pm 644 locale/*.qm %{buildroot}/%{_datadir}/goldendict/locale +%find_lang %{name} %files -f %{name}.lang %doc LICENSE.txt