Rpmbuild question.

Jim Lynch jim at fayettedigital.com
Fri May 4 19:39:24 UTC 2012


On 05/04/2012 11:32 AM, Jim Lynch wrote:
> I am attempting to  generate an .rpm file from a spec file that works 
> OK on cents 4 and 5.  But fails miserably on 6.
...

Thanks for all the advice.  I understand what's happening but it's a 
real pain to work around it.  I'm obviously going to have to add 
additional steps into my processes.  As is pretty obvious, I install to 
/usr/local/bin et al. Then test.  If all is well then do the build.  Now 
I'm going to have to install to /usr/local/bin test and copy to a build 
directory then build, or install to the build directory, copy to the 
system directory, test and then build or install to the build directory, 
build, install from the rpm and test (Ugh).

I have a number of different applications all interconnected and 
somewhat dependent.  I attempted to put everything in a single directory 
tree, but rpmbuild doesn't like that.  If I accept the default tree 
structure then each time I change version/revision I'll be starting a 
new tree branch and have to come up with some way to weed out the old 
branches.

I must say this complicates things a bunch.

Thanks for the help however.

Jim.


More information about the Rpm-list mailing list