[PLUG] rpm source package building

Steve Beattie steve at nxnw.org
Wed Dec 17 04:47:26 UTC 2008


On Tue, Dec 16, 2008 at 08:04:25PM -0800, Larry Brigman wrote:
> On Tue, Dec 16, 2008 at 7:54 PM, Dan Young <danielmyoung at gmail.com> wrote:
> > On Tue, Dec 16, 2008 at 7:42 PM, Larry Brigman <larry.brigman at gmail.com> wrote:
> >> Is there a method to construct the source rpm without it requiring all
> >> of the Buildrequires packages being
> >> installed on the system that is building the source package?
> >
> > "rpmbuild -bs foo.spec" doesn't need the BuildRequires to be installed
> > in my experience.
> 
> In my example case curl-7.19.2 on CentOS5.2/RHEL5.2/OL5.2:
> [lbrigman at myhost SPECS]$ rpmbuild -bs curl.spec
> error: Failed build dependencies:
>         openssl-devel is needed by curl-7.19.2-1.x86_64
>         libidn-devel is needed by curl-7.19.2-1.x86_64

'rpmbuild -bs --nodeps curl.spec' should do the trick for you.

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20081216/db87c553/attachment.asc>


More information about the PLUG mailing list