From d24faa2277ba8eebecdd7550f7f86c091cdba10b8080c1279602664ec7157e1b Mon Sep 17 00:00:00 2001 From: Eric Schirra Date: Wed, 24 May 2017 20:59:15 +0000 Subject: [PATCH] Accepting request 498186 from home:ecsos:server Some other litle changes for 12.0 OBS-URL: https://build.opensuse.org/request/show/498186 OBS-URL: https://build.opensuse.org/package/show/server:php:applications/nextcloud?expand=0&rev=18 --- nextcloud.changes | 2 +- nextcloud.spec | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/nextcloud.changes b/nextcloud.changes index f65633d..104ba5c 100644 --- a/nextcloud.changes +++ b/nextcloud.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Mon May 22 15:28:21 UTC 2017 - ecsos@opensuse.org -- upstram update to version 12.0.0 +- upstream update to version 12.0.0 no changelog from upstream at this time See https://github.com/nextcloud/server/issues?q=is%3Aissue+milestone%3A%22Nextcloud+12.0%22+is%3Aclosed diff --git a/nextcloud.spec b/nextcloud.spec index e707da3..0283457 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -119,9 +119,13 @@ cp %{SOURCE2} . cp %{SOURCE3} . cp %{SOURCE4} . cp %{SOURCE5} . -#%%patch0 -p0 -# git files should not be removed, otherwise nextcloud rise up ntegrity check failure. -#rm `find . -name ".gitignore" -or -name ".gitkeep"` +# delete unneeded gitfiles +rm -r `find . -name ".gitignore" -or -name ".gitkeep" -or -name ".github"` +# remove entries in signature.json to prevent integrity check failure +find . -iname signature.json \ + -exec sed -i "/\/.gitignore\": ./d" "{}" \; \ + -exec sed -i "/\/.gitkeep\": ./d" "{}" \; \ + -exec sed -i "/\/.github\": ./d" "{}" \; %build