autospecnew: master branch should track origin/master

Because 'make koji' expects that master should track origin/master,
initialize the tracking branch during the autospecnew.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
Patrick McCarty
2018-04-12 17:46:01 -07:00
parent ded920ccb3
commit 71d9699bdd
+1
View File
@@ -204,6 +204,7 @@ autospecnew: localreponotice
cd $(TOPLVL)/packages/$(NAME); \
git init; \
git remote add origin $(PKG_BASE_URL)/$(NAME); \
git branch -u origin/master master; \
$(call gitoliteurl,packages/$(NAME)); \
$(call subjectprefix,$(NAME)); \
); \