diff options
-rw-r--r-- | owncloud.spec | 6 |
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 |