I thinkg there is now an app called rpmbuild.<br>
You may need to write a wrapper script for rpm to parse the rpm options and call the correct binary.<br>
-Joseph-<br><br><div><span class="gmail_quote">On 9/23/05, <b class="gmail_sendername">Alex Beamish</b> <<a href="mailto:talexb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org">talexb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I'm trying to build some RPMs for FC4 using cpan2rpm, and I'm running into a problem. For example,<br>
<br>
-----------------------------------<br clear="all">[root@foobar rpms-September2005]# cpan2rpm --author="Dave Rolsky" --version=2.11 Log-Dispatch-2.11.tar.gz <br>
<br>
-- cpan2rpm - Ver: 2.028 --<br>
Signatures not set up<br>
Upgrade check<br>
Fetch: HTTP<br>
<br>
-- module: Log-Dispatch-2.11.tar.gz --<br>
Metadata retrieval<br>
Tarball extraction: [/usr/src/redhat/SOURCES/Log-Dispatch-2.11.tar.gz]<br>
Generating spec file<br>
SPEC: /usr/src/redhat/SPECS/Log-Dispatch.spec<br>
Generating package<br>
RPM test unpacking failed! [/bin/rpm -bp /usr/src/redhat/SPECS/Log-Dispatch.spec]<br>
-bp: unknown option<br>
-- Done --<br>
-----------------------------------<br>
<br>
My rpm version is 4.4.1, which I believe is fairly current. Can anyone
explain why 'bp' isn't recognized by rpm? Do I need to use the
/etc/popt magic mentioned in the rpm man page? Thanks ..<br>
<br>
Alex<br><span class="sg">
<br>-- <br>----------<br>Linux, Firefox and GMail .. what a combination.

</span></blockquote></div><br>