On Sep 16, 4:23 pm, "R.I.Pienaar" <[email protected]> wrote:
> ----- "[email protected]" <[email protected]> wrote:
> > On Jul 30, 5:56 pm, Todd Zullinger <[email protected]> wrote:
> > > Douglas Garstang wrote:
> > > > The spec file for for (whatever version this actually is),
> > doesn't
> > > > cleanly build an RPM either.
> > ><SNIP>
>
> > >     rpmbuild --rebuild --define 'dist .el5' --define 'rhel 5' \
> > >         --define 'el5 1' /path/to/puppet*.src.rpm
>
> > > You can pass some options to disable augeas and selinux if you like
> > as
> > > well.
>
> > ><SNIP>
>
> > Sorry to interject, but how would I pass options to disable augeas?
> > So far, the only way I see is to prep and make the changes directly in
> > the spec file. Is there a way to do so on the rpmbuild command line?
>
> rpmbuild -ba -D 'dist .el5' -D 'rhel 5' -D '_without_augeas 1' puppet.spec

Great- that works. I also just tried:
rpmbuild  --without augeas --without selinux --rebuild
puppet-2.6.1-0.5.el5.src.rpm

and that worked as well.

Thanks for the quick response!

MK

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to