From: Ronan Le Martret Date: Tue, 7 Oct 2014 14:35:57 +0000 (+0200) Subject: Clean spec file build section X-Git-Tag: accepted/tizen/common/20141009.220904~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fdae67f97076078ff579977c240f0ee3fc28f23d;p=platform%2Fupstream%2Fevolution-data-server.git Clean spec file build section - change lang package fix for yocto compatibility. Change-Id: I15a4bddb988052b867dd6eed7f142b06918da9e9 Signed-off-by: Ronan Le Martret --- diff --git a/packaging/evolution-data-server.spec b/packaging/evolution-data-server.spec index 6b9aa98..6051770 100644 --- a/packaging/evolution-data-server.spec +++ b/packaging/evolution-data-server.spec @@ -281,13 +281,13 @@ cp %{SOURCE1001} . --disable-examples \ # end of configure line -make %{?_smp_mflags} V=1 +%__make %{?_smp_mflags} V=1 %install %make_install mkdir -p %{buildroot}/%{_datadir}/help -%find_lang evolution-data-server-%{_evo_version} -mv evolution-data-server-%{_evo_version}.lang evolution-data-server.lang +find %{buildroot} -name evolution-data-server-%{_evo_version}.mo -execdir mv {} evolution-data-server.mo \; +%find_lang evolution-data-server %fdupes %{buildroot} %lang_package