diff --git a/nextcloud.spec b/nextcloud.spec index bf9a259..980e197 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -77,7 +77,7 @@ Requires: php-session Requires: php-simplexml Requires: php-smbclient Requires: php-spl -Requires: php-sodiumm +Requires: php-sodium Requires: php-opcache Requires: php-xmlwriter Requires: php-zip @@ -351,10 +351,10 @@ done install -pm 755 occ %{buildroot}%{_datadir}/%{name} # symlink config dir -ln -sf %{_sysconfdir}/%{name} %{buildroot}%{_datadir}/%{name}/config +ln -s ../../../%{_sysconfdir}/%{name} %{buildroot}%{_datadir}/%{name}/config # nextcloud looks for ca-bundle.crt in config dir -ln -sf %{_sysconfdir}/pki/tls/certs/ca-bundle.crt %{buildroot}%{_sysconfdir}/%{name}/ca-bundle.crt +ln -s ../pki/tls/certs/ca-bundle.crt %{buildroot}%{_sysconfdir}/%{name}/ca-bundle.crt # set default config install -pm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/config.php