summaryrefslogtreecommitdiff
path: root/macros.in
diff options
context:
space:
mode:
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros.in b/macros.in
index 406622d2f..cf4f77331 100644
--- a/macros.in
+++ b/macros.in
@@ -1163,7 +1163,7 @@ package or when debugging this package.\
# Git
%__scm_setup_git(q)\
-%{__git} init %{-q}\
+%{__git} init %{-q} --initial-branch=main\
%{__git} config user.name "%{__scm_username}"\
%{__git} config user.email "%{__scm_usermail}"\
%{__git} config gc.auto 0\
@@ -1172,7 +1172,7 @@ package or when debugging this package.\
--author "%{__scm_author}" -m "%{NAME}-%{VERSION} base"\
%{__git} branch rpm-build \
%{__git} checkout rpm-build \
-%{__git} branch --set-upstream-to=master
+%{__git} branch --set-upstream-to=main
%__scm_apply_git(qp:m:)\
%{__git} apply --index --reject %{-p:-p%{-p*}} -\