Bacula-users

Re: [Bacula-users] RPM on CentOS

2010-09-15 10:08:30
Subject: Re: [Bacula-users] RPM on CentOS
From: "Joseph L. Casale" <jcasale AT activenetwerx DOT com>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 15 Sep 2010 14:05:29 +0000
>sudo rpmbuild -bb --define build_postgresql=1 --define "build_centos5 1" --
>define rhel_version=501 bacula.spec

Not only do you not need to unpack the srpm to get the the spec to build from
But you shouldn't at all build as root?

Use a buidroot [1]:
$ rpmbuild --rebuild --define build_centos5=1 --define build_mysql=1 
bacula-5.0.3-1.src.rpm
Etc...

Jlc

[1] http://www.owlriver.com/tips/non-root/

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>