summaryrefslogtreecommitdiff
path: root/macros.in
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2013-01-28 22:34:11 +0200
committerPanu Matilainen <pmatilai@redhat.com>2013-01-29 08:15:25 +0200
commit85ea5143ddb0eefb1296544f1f8a485a73a08b8e (patch)
tree7ff5087c84d2ee6bec6f56411cf7bdec947745ad /macros.in
parentbd587d5bff20c0eb10d4cb14e29ef948231df142 (diff)
downloadlibrpm-tizen-85ea5143ddb0eefb1296544f1f8a485a73a08b8e.tar.gz
librpm-tizen-85ea5143ddb0eefb1296544f1f8a485a73a08b8e.tar.bz2
librpm-tizen-85ea5143ddb0eefb1296544f1f8a485a73a08b8e.zip
Dont mess with global user identity in __scm_setup_bzr
- Bzr defaults to global value on "bzr whoami", so we would mess up user identity on "%autosetup -S bzr". Oops. Move identity setting after repo initialization and set the identity per-branch, not global. The notion of "per-branch identity" seems odd, but then bzr is... I guess this would be bzr-speak for "per-directory identity" (cherry picked from commit 58f41cb4e1721d410017732a55613056b6acb24c)
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index 319be283a..cd7bc3199 100644
--- a/macros.in
+++ b/macros.in
@@ -1074,8 +1074,8 @@ done \
# Bzr
%__scm_setup_bzr(q)\
-%{__bzr} whoami "%{__scm_author}"\
%{__bzr} init %{-q}\
+%{__bzr} whoami --branch "%{__scm_author}"\
%{__bzr} add .\
%{__bzr} commit %{-q} -m "%{name}-%{version} base"