Commit 2f511b36148863ff1f5d76d5d80f2ab03620d900

Authored by Macartur Sousa
1 parent 2929246f

Fixed noosfero spec to create cache dir in /var/lib/noosfero and change cron to crontabs

Showing 1 changed file with 4 additions and 2 deletions   Show diff stats
specs/noosfero/noosfero.spec
... ... @@ -3,7 +3,7 @@
3 3  
4 4 Name: noosfero
5 5 Version: 1.1~rc2.5
6   -Release: 3%{?dist}
  6 +Release: 6%{?dist}
7 7 Summary: Social Networking Platform
8 8 Group: Applications/Publishing
9 9 License: AGPLv3
... ... @@ -14,7 +14,7 @@ Patch1: 0001-Enhance-existing-backup-task-and-add-a-restore-one.patch
14 14 Patch2: 0001-Fix-backup-task.patch
15 15 BuildArch: noarch
16 16 BuildRequires: noosfero-deps, gettext, po4a
17   -Requires: noosfero-deps, po4a, tango-icon-theme, memcached,cron
  17 +Requires: noosfero-deps, po4a, tango-icon-theme, memcached,crontabs
18 18  
19 19 %description
20 20 Noosfero is a web platform for social and solidarity economy networks with blog,
... ... @@ -120,6 +120,8 @@ fi
120 120 for dir in %{writable_dirs}; do
121 121 mkdir -p /var/lib/noosfero/public/$dir
122 122 done
  123 +mkdir -p /var/lib/noosfero/cache
  124 +
123 125 chown -R noosfero:noosfero /var/lib/noosfero
124 126  
125 127 /etc/init.d/noosfero setup
... ...