[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How To Solve Problems While Relocating a Package Installation using Prefix



> Seriously, the best solution is to package the "make test" (assuming
> that's the invocation) as well, and then add to the spec file
>
> 	%verifyscript
> 	cd /wherever
> 	make test

That's not a totally bad idea - assuming that the test scripts are written
to detect whether they are in the production environment or not (you may
not have "make" there). So effectively, you are postponing the tests until
you install/verify the rpm - but if that's the case, what is so much
different about that approach and just building things into their runtime
location to begin with? If you have your dedicated build-box, where is the
problem?
--
cg





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []