summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-01 17:53:39 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-01 17:53:39 +0200
commit1fbfeb1d44059ac7ada36f77d9b741417e20640e (patch)
tree15bd189528d6fb329adedb72f6ee6803474d2529
parent47102d03ab8ef1137a01de831f4e304a0d31117a (diff)
owncloud: more clean bis
-rw-r--r--owncloud.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/owncloud.spec b/owncloud.spec
index bd88af0..82631c7 100644
--- a/owncloud.spec
+++ b/owncloud.spec
@@ -433,8 +433,10 @@ work with an SQLite 3 database stored on the local system.
%patch10 -p1
%endif
-# patch backup files
-find . -name \*.orig -type f -exec rm {} \;
+# patch backup files and .git stuff
+find . -name \*.orig -type f -exec rm {} \; -print
+find . -name .gitignore -type f -exec rm {} \; -print
+find . -name .github -type d -prune -exec rm -r {} \; -print
# prepare package doc
cp %{SOURCE3} README.fedora