On 12/03/2009 10:19 AM, Richard Bos wrote:
Op donderdag 03 december 2009 09:08:09 schreef Dave Plater:
Hi, I'm learning packaging the hard way and am trying to build bacula and am trying to debug the %post and %pre scripts and was wondering if there was a way of simulating osc's checks on the rpms when I have built them locally using rpmbuild?
Use 'osc build'. More info with 'osc build --help'
I was looking for a quicker way than using osc build, possibly build the rpm's with rpmbuild and run the checks on the built rpms. Unfortunately osc build doesn't have any --short-circuit capabilities. Is there a way of using rpmlint, it seems to be able to work on directories like $RPM_BUILD_ROOT/package? Then I can update the spec file and run "rpmbuild -bi --short-circuit" and run the check again. Thanks Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org