From e5cc19a0745136cabd6d55d3975c9105e78b3011 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 9 Mar 2015 13:25:59 -0300 Subject: [PATCH] noosfero: compile translations during build --- specs/noosfero/noosfero.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/specs/noosfero/noosfero.spec b/specs/noosfero/noosfero.spec index ae8a5b9..84ece9c 100644 --- a/specs/noosfero/noosfero.spec +++ b/specs/noosfero/noosfero.spec @@ -1,7 +1,7 @@ %define writable_dirs javascripts/cache stylesheets/cache articles image_uploads thumbnails Name: noosfero -Version: 1.1~rc1 +Version: 1.1~rc2 Release: 1%{?dist} Summary: Social Networking Platform Group: Applications/Publishing @@ -23,8 +23,11 @@ participate and contribute to this free software project! %build -# FIXME build .mo -# FIXME docs +ln -sf /usr/lib/noosfero/Gemfile . +ln -sf /usr/lib/noosfero/Gemfile.lock . +ln -sf /usr/lib/noosfero/.bundle . +ln -sfT /usr/lib/noosfero/vendor/bundle vendor/bundle +bundle exec rake -f Rakefile.release noosfero:translations:compile %install mkdir -p %{buildroot}/usr/lib/noosfero -- libgit2 0.21.2