RC 1.1.0 error creating rpm

I’m trying to create rpm for Centos 7 and I got compiling error -

Compiling /builddir/build/BUILDROOT/rocketchat-1.1.0-1.el7.centos.x86_64/opt/Rocket.Chat/programs/server/npm/node_modules/emojione/lib/python/emojipy/create_ruleset.py …
File “/opt/Rocket.Chat/programs/server/npm/node_modules/emojione/lib/python/emojipy/create_ruleset.py”, line 6
/* [[[cog
SyntaxError: invalid syntax

Inside create_ruleset.py:

line 1. #!/usr/bin/env python3
line 2. # -- coding: utf-8; --
line 3.
line 4. # This is autogenerated python file DO NOT try to edit
line 5.
line 6. /* [[[cog

  • Version of Rocket.Chat Server: 1.1.0
  • Operating System: Centos 7
  • Deployment Method: tar
  • NodeJS Version: 8.11.4

No compiling issues observed building rpm for previous version of RC like 1.0.3

cog - missed python module.
cog is a file generation tool. It lets you use pieces of Python code as generators in your source files to generate whatever text you need. - https://nedbatchelder.com/code/cog/

I’m going to create chef cookbook to deploy RC instead of creating rpm :slight_smile: