From 57c78c4d81a6bc6b4c5e9ce2366d77ae31d2d09b 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 8384ede..8fde3e7 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 @@ -352,10 +352,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