[libreoffice] some of our build tools do different things when they see .git
David Tardon
dtardon at fedoraproject.org
Wed Apr 16 10:09:40 UTC 2014
commit a0480201e0967c288452d391a427c2bef5a82549
Author: David Tardon <dtardon at redhat.com>
Date: Wed Apr 16 12:09:12 2014 +0200
some of our build tools do different things when they see .git
libreoffice.spec | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libreoffice.spec b/libreoffice.spec
index 52c44ec..e17d18f 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -1090,6 +1090,11 @@ git add -A
git commit -q -a -m 'fix translations'
%endif
+# Seeing .git dir makes some of the build tools change their behavior.
+# We do not want that. Note: it is still possible to use
+# git --git-dir=.git-rpm
+mv .git .git-rpm
+
%build
echo build start time is `date`, diskspace: `df -h . | tail -n 1`
echo building localizations: %{langpack_langs}
More information about the scm-commits
mailing list