From 104a40bc8117643f735ab365845a59e59ba26333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Thu, 6 Jun 2024 12:36:23 +0100 Subject: [PATCH] Update nextcloud to 28.0.6 --- README.md | 6 +++--- nextcloud.spec | 9 ++++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9db76d6..e294b77 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ Nextcloud requires some additional steps after installation/upgrade that are not ### Other versions -Nextcloud maintains multiple stable branches at the same time. To install those, check out the [modular nextcloud package](https://src.fedoraproject.org/modules/nextcloud). +[modular nextcloud package Fedora and CentOS/RHEL](https://src.fedoraproject.org/modules/nextcloud) is over -### CentOS/RHEL +https://fedoraproject.org/wiki/Changes/RetireModularity -For CentOS/RHEL 8+, nextcloud is available through the [modular repository](https://src.fedoraproject.org/modules/nextcloud). Due to incompatible PHP versions, nextcloud is no longer available for CentOS/RHEL 7 or older. +Once Fedora Linux 38 reaches end of life, we will retire the Fedora instance of Module Build Service. diff --git a/nextcloud.spec b/nextcloud.spec index acc4a93..f790d57 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -1,5 +1,5 @@ Name: nextcloud -Version: 28.0.5 +Version: 28.0.6 Release: %autorelease Summary: Private file sync and share server License: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe @@ -297,10 +297,13 @@ work with an SQLite 3 database stored on the local system. %autosetup -n %{name} -p1 # patch backup files and .git stuff -find . -name \*.orig -type f -exec rm {} \; -print -find . -name .gitignore -type f -exec rm {} \; -print +find . -name \*.orig -type f -delete -print +find . -name .gitignore -type f -delete -print find . -name .github -type d -prune -exec rm -r {} \; -print +# fix CLI upgrade advise on splash screen +sed -i -e 's#./\(occ upgrade\)#sudo -u apache php /usr/share/nextcloud/\1#' core/templates/update.admin.php + # prepare package doc cp %{SOURCE300} README.fedora cp %{SOURCE301} README.mysql