[Ilugc] Building RPMs in Ubuntu

  • From: 0@xxxxxxxxxxx (0)
  • Date: Wed, 04 Jan 2012 18:49:31 +0530


I have been using Ubuntu (debian) system all through the Linux life.
Recently I got into a situation where I am required to package a software
for a RPM system (CentOS). There are rpm build tools available in the
Ubuntu repos, but I my reading through the forums suggest that its always
better to build rpms in a rpm based system.


This is the right approach.

Considering we will be specifying the dependencies in the
packaging configuration file and we will be packaging compiled
binaries, How far does it hold good?.


Dependencies you specify solve only part of the packaging problem. You 
*might* face issues in resolving other shared library dependencies that 
your binary uses or it just so happens at times that the configuration 
files you depend on lie in a different location. Also, Since CentOS/RHEL 
is targeted at better stability, they might be behind in many areas. 
Also, not to mention the human error, it is better if you test/install 
the package yourself on CentOS before giving it to someone else.

-- 
0

Other related posts: