Igor Gnatenko 68ce99
diff --git a/build/pack.c b/build/pack.c
Igor Gnatenko 82285f
index ab72750be..e6cec1816 100644
Igor Gnatenko 68ce99
--- a/build/pack.c
Igor Gnatenko 68ce99
+++ b/build/pack.c
Igor Gnatenko 82285f
@@ -713,6 +713,7 @@ static rpmRC packageBinary(rpmSpec spec, Package pkg, const char *cookie, int ch
Igor Gnatenko 68ce99
     }
Igor Gnatenko 68ce99
 
Igor Gnatenko 82285f
     /* Copy changelog from src rpm */
Igor Gnatenko 82285f
+    #pragma omp critical
Igor Gnatenko 82285f
     headerCopyTags(spec->sourcePackage->header, pkg->header, copyTags);
Igor Gnatenko 82285f
 
Igor Gnatenko 82285f
     headerPutString(pkg->header, RPMTAG_RPMVERSION, VERSION);