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