diff --git a/moberg.spec.template b/moberg.spec.template
index a23250db3570a9b6e94913fca2d4afb4f10bd166..09fed3f7b688c051945e0157788a90b097083db1 100644
--- a/moberg.spec.template
+++ b/moberg.spec.template
@@ -147,6 +147,8 @@ cat adaptors/julia/Project.toml.template \
   cd ${RPM_BUILD_ROOT}/opt/julia/local/MobergIO
   git init
   git add Project.toml src/*.jl
+  git config user.email "mockbuild@$(hostname)"
+  git config user.name "Mockbuild"
   git commit -m 'Local version of moberg __MOBERG_VERSION__'
   git tag __MOBERG_VERSION__
 )