mirror of
https://src.fedoraproject.org/rpms/nextcloud.git
synced 2025-01-10 19:01:53 +01:00
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
This commit is contained in:
parent
1ae20eb59d
commit
2e6f991588
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user