CYB-89: Make sure that rpm and debian packages created for Cyb work is similar to what CDAP has

Change deb and rpm packages creating.
because this scripts are same for bouth deb and rpm