Accepting request 497378 from home:ecsos:server
minimal correction for update to 12.0.0 OBS-URL: https://build.opensuse.org/request/show/497378 OBS-URL: https://build.opensuse.org/package/show/server:php:applications/nextcloud?expand=0&rev=16
This commit is contained in:
14
README.SUSE
Normal file
14
README.SUSE
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
To speed up nextcloud you should enable PHP OPcache
|
||||||
|
|
||||||
|
The OPcache improves the performance of PHP applications by caching precompiled bytecode. We recommend at least following settings:
|
||||||
|
|
||||||
|
Put this in this insert in /etc/php5/apache2/php.ini
|
||||||
|
|
||||||
|
opcache.enable=On
|
||||||
|
opcache.enable_cli=1
|
||||||
|
opcache.interned_strings_buffer=8
|
||||||
|
opcache.max_accelerated_files=10000
|
||||||
|
opcache.memory_consumption=128
|
||||||
|
opcache.save_comments=1
|
||||||
|
opcache.revalidate_freq=1
|
||||||
|
|
@@ -59,7 +59,8 @@ Source0: https://download.nextcloud.com/server/releases/%{name}-%{version
|
|||||||
Source1: apache_secure_data
|
Source1: apache_secure_data
|
||||||
Source2: README
|
Source2: README
|
||||||
Source3: README.SELinux
|
Source3: README.SELinux
|
||||||
Source4: robots.txt
|
Source4: README.SUSE
|
||||||
|
Source5: robots.txt
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@@ -117,8 +118,10 @@ hosting services and using them.
|
|||||||
cp %{SOURCE2} .
|
cp %{SOURCE2} .
|
||||||
cp %{SOURCE3} .
|
cp %{SOURCE3} .
|
||||||
cp %{SOURCE4} .
|
cp %{SOURCE4} .
|
||||||
|
cp %{SOURCE5} .
|
||||||
#%%patch0 -p0
|
#%%patch0 -p0
|
||||||
rm `find . -name ".gitignore" -or -name ".gitkeep"`
|
# git files should not be removed, otherwise nextcloud rise up ntegrity check failure.
|
||||||
|
#rm `find . -name ".gitignore" -or -name ".gitkeep"`
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@@ -236,7 +239,7 @@ rm -f %{statedir}/occ_maintenance_mode_during_nextcloud_install
|
|||||||
%defattr(644,root,root,755)
|
%defattr(644,root,root,755)
|
||||||
%exclude %{apache_serverroot}/%{name}/README
|
%exclude %{apache_serverroot}/%{name}/README
|
||||||
%exclude %{apache_serverroot}/%{name}/README.SELinux
|
%exclude %{apache_serverroot}/%{name}/README.SELinux
|
||||||
%doc README README.SELinux
|
%doc README README.SUSE README.SELinux
|
||||||
%{apache_serverroot}/%{name}
|
%{apache_serverroot}/%{name}
|
||||||
%attr(-,wwwrun,www) %{apache_serverroot}/%{name}/occ
|
%attr(-,wwwrun,www) %{apache_serverroot}/%{name}/occ
|
||||||
%config(noreplace) %{apache_confdir}/nextcloud.conf
|
%config(noreplace) %{apache_confdir}/nextcloud.conf
|
||||||
|
Reference in New Issue
Block a user