diff --git a/nextcloud-17.0.2.tar.bz2 b/nextcloud-17.0.2.tar.bz2 deleted file mode 100644 index e166990..0000000 --- a/nextcloud-17.0.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f32596ffc057ef88a5e92a71016fc8685f57f518bfd8f97d1d9b4ae73d553de3 -size 65475747 diff --git a/nextcloud-18.0.0.tar.bz2 b/nextcloud-18.0.0.tar.bz2 new file mode 100644 index 0000000..9c54434 --- /dev/null +++ b/nextcloud-18.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:194095a5586d84040bc455f77b8aa6c80f9a6a6dd713c9aebdad046713d4267b +size 85867628 diff --git a/nextcloud.changes b/nextcloud.changes index f1bbc3f..2432f7f 100644 --- a/nextcloud.changes +++ b/nextcloud.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Jan 17 18:37:04 UTC 2020 - ecsos@opensuse.org + +- Update to 18.0.0 + No changelog from upstream at this time. + +- Add "occ maintenance:repair" during package update to fix possible (db) errors. + ------------------------------------------------------------------- Thu Dec 19 14:59:58 UTC 2019 - ecsos@opensuse.org diff --git a/nextcloud.spec b/nextcloud.spec index 460ca89..4b840e2 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -1,7 +1,7 @@ # # spec file for package nextcloud # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -49,7 +49,7 @@ %endif Name: nextcloud -Version: 17.0.2 +Version: 18.0.0 Release: 0 Summary: File hosting service License: AGPL-3.0-only @@ -91,8 +91,8 @@ Requires: php-posix Requires: php-zip # %if 0%{?fedora_version} || 0%{?rhel} || 0%{?rhel_version} || 0%{?centos_version} -Requires: php <= 7.3.0 -Requires: php >= 7.0.0 +Requires: php < 7.5.0 +Requires: php >= 7.2.0 Requires: php-process Requires: php-xml # @@ -101,8 +101,8 @@ Recommends: sqlite # %if 0%{?suse_version} Requires: apache2 -Requires: mod_php_any < 7.4.0 -Requires: mod_php_any >= 7.0.0 +Requires: mod_php_any < 7.5.0 +Requires: mod_php_any >= 7.2.0 Requires: php-ctype Requires: php-curl # SUSE does not include the fileinfo module in php-common. @@ -279,6 +279,8 @@ if [ -s %{statedir}/apache_stopped_during_nextcloud_install ]; then fi if [ -s %{statedir}/occ_maintenance_mode_during_nextcloud_install ]; then +echo "%{name}: occ maintenance:repair (fix possible errors)" +su %{oc_user} -s /bin/sh -c "cd %{oc_dir}; PATH=%{ocphp_bin}:$PATH php ./occ maintenance:repair" || true echo "%{name}: occ upgrade" su %{oc_user} -s /bin/sh -c "cd %{oc_dir}; PATH=%{ocphp_bin}:$PATH php ./occ upgrade" || true echo "%{name}: occ maintenance:mode --off"