Commit 2929246f3f1fa419743eed43450f89da5eea4ce9

Authored by Macartur Sousa
1 parent 4d259b30

Added cron as a dependencie and change cache links to /var/lib/noosfero/cache/

Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Showing 1 changed file with 9 additions and 4 deletions   Show diff stats
specs/noosfero/noosfero.spec
1   -%define writable_dirs javascripts/cache stylesheets/cache articles image_uploads thumbnails
  1 +%define writable_dirs articles image_uploads thumbnails
  2 +%define cache_dirs javascripts/cache stylesheets/cache
2 3  
3 4 Name: noosfero
4 5 Version: 1.1~rc2.5
5   -Release: 2%{?dist}
  6 +Release: 3%{?dist}
6 7 Summary: Social Networking Platform
7 8 Group: Applications/Publishing
8 9 License: AGPLv3
9 10 URL: http://noosfero.org
10 11 Source0: %{name}-%{version}.tar.gz
11   -Patch0: 0001-Use-as-placeholder-for-current-user-in-URLs.patch
  12 +Patch0: 0001-Use-as-placeholder-for-current-user-in-URLs.patch
12 13 Patch1: 0001-Enhance-existing-backup-task-and-add-a-restore-one.patch
13 14 Patch2: 0001-Fix-backup-task.patch
14 15 BuildArch: noarch
15 16 BuildRequires: noosfero-deps, gettext, po4a
16   -Requires: noosfero-deps, po4a, tango-icon-theme, memcached
  17 +Requires: noosfero-deps, po4a, tango-icon-theme, memcached,cron
17 18  
18 19 %description
19 20 Noosfero is a web platform for social and solidarity economy networks with blog,
... ... @@ -65,6 +66,10 @@ ln -sfT /etc/noosfero/plugins %{buildroot}/usr/lib/noosfero/config/plugins
65 66 for dir in %{writable_dirs}; do
66 67 ln -sfT /var/lib/noosfero/public/$dir %{buildroot}/usr/lib/noosfero/public/$dir
67 68 done
  69 +# symlink needed to cache
  70 +for dir in %{cache_dirs}; do
  71 + ln -sfT /var/lib/noosfero/cache %{buildroot}/usr/lib/noosfero/public/$dir
  72 +done
68 73 ln -sfT /var/tmp/noosfero %{buildroot}/usr/lib/noosfero/tmp
69 74 ln -sfT /var/log/noosfero %{buildroot}/usr/lib/noosfero/log
70 75  
... ...