mirror of
https://src.fedoraproject.org/rpms/nextcloud.git
synced 2025-01-10 10:51:54 +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
b379529877
commit
5fe8e1ea11
@ -77,7 +77,7 @@ Requires: php-session
|
|||||||
Requires: php-simplexml
|
Requires: php-simplexml
|
||||||
Requires: php-smbclient
|
Requires: php-smbclient
|
||||||
Requires: php-spl
|
Requires: php-spl
|
||||||
Requires: php-sodiumm
|
Requires: php-sodium
|
||||||
Requires: php-opcache
|
Requires: php-opcache
|
||||||
Requires: php-xmlwriter
|
Requires: php-xmlwriter
|
||||||
Requires: php-zip
|
Requires: php-zip
|
||||||
@ -351,10 +351,10 @@ done
|
|||||||
install -pm 755 occ %{buildroot}%{_datadir}/%{name}
|
install -pm 755 occ %{buildroot}%{_datadir}/%{name}
|
||||||
|
|
||||||
# symlink config dir
|
# 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
|
# 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
|
# set default config
|
||||||
install -pm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/config.php
|
install -pm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/config.php
|
||||||
|
Loading…
Reference in New Issue
Block a user