From 82e795c7b947bdfa8113103b10a907e4bea31fa7a08ab4485e2e7900ef5ba759 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Thu, 15 Sep 2016 19:41:01 +0000 Subject: [PATCH] Use kf5_find_lang everywhere OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5:LTS/kgamma5?expand=0&rev=4 --- kgamma5.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kgamma5.spec b/kgamma5.spec index a6fe3f0..340f127 100644 --- a/kgamma5.spec +++ b/kgamma5.spec @@ -58,6 +58,9 @@ gamma. %install %kf5_makeinstall -C build +%if %{with_lang} + %kf5_find_lang +%endif %files %defattr(-,root,root) @@ -70,8 +73,7 @@ gamma. %doc %{_kf5_htmldir}/en/*/ %if %{with lang} -%files lang -%{_kf5_localedir} +%files lang -f %{name}.lang %endif %changelog