On MY Builder I overwrote the createPackage command. I added new
settings that will allow these as well as adding the missing settings
to create the Rpm with Values such as Packager etc.
I have included a Object xml in my Builder that
The one big drawback i have in the current RpmBuilder is the Manifest.
In many settings I can see a typical workflow for Rpms would be CC
detects a change > runs unit tests > calls RpmBuilder > Builder then
imports Rpms to a Yum Repository.
In the Current RpmBuilder you make relocatable Rpms which is great for
ControlTier deployment of them. But I think may people who do Rpm's
might want to use Yum instead. As far as I can tell you can not
relocate RPMS when you use Yum. I would do the work if anyone has some
ideas on how to implement this in ControlTier. Since ControlTier uses
Manifest.txt as its filebase for the spec file, I am not sure how to
edit this so that it a. has all the files it and b. Only have the
install root as the path of the files. It would need to be something
similar to how people build RPMS where you add the files to the BUILD
dir and the rpm build process excludes everything before the BUILD dir
path. I anyone has some ideas or comments on this I would appreciate
this.
Thanks Moses and Anthony on helping me with this.
Johnny