add cost libs to rpm spec