From 5fe8e1ea11422b7f3fecddc9c5cbf91cbcc58277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Mon, 22 Apr 2024 18:46:47 +0100 Subject: [PATCH] Fix typo and 2 RPM build warnings absolute symlink: /etc/nextcloud/ca-bundle.crt -> /etc/pki/tls/certs/ca-bundle.crt absolute symlink: /usr/share/nextcloud/config -> /etc/nextcloud --- nextcloud.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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