Yep .. it looks like if rpmbuild isn't installed, cpan2rpm valiantly
tries to use rpm instead, and since rpm doesn't handle that argument
any more, it fails. It would nice if the documentation for cpan2rpm
mentioned that. I should probably write to the authour about that.
Thanks!<br>
<br>
Alex<br><br><div><span class="gmail_quote">On 9/23/05, <b class="gmail_sendername">Joseph Kubik</b> <<a href="mailto:josephkubik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org">josephkubik-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;">
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><span class="sg">
-Joseph-</span><div><span class="e" id="q_10684a2e500d54ee_2"><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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>
<br>-- <br>----------<br>Linux, Firefox and GMail .. what a combination.

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

</span></div></blockquote></div><br><br clear="all"><br>-- <br>----------<br>Linux, Firefox and GMail .. what a combination.