FC4, cpan2rpm, unknown rpm option 'bp'

Joseph Kubik josephkubik-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Sep 23 20:17:11 UTC 2005


I thinkg there is now an app called rpmbuild.
You may need to write a wrapper script for rpm to parse the rpm options and
call the correct binary.
-Joseph-

On 9/23/05, Alex Beamish <talexb-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
>
> Hi,
>
> I'm trying to build some RPMs for FC4 using cpan2rpm, and I'm running into
> a problem. For example,
>
> -----------------------------------
> [root at foobar rpms-September2005]# cpan2rpm --author="Dave Rolsky"
> --version=2.11 Log-Dispatch-2.11.tar.gz
>
> -- cpan2rpm - Ver: 2.028 --
> Signatures not set up
> Upgrade check
> Fetch: HTTP
>
> -- module: Log-Dispatch-2.11.tar.gz --
> Metadata retrieval
> Tarball extraction: [/usr/src/redhat/SOURCES/Log-Dispatch-2.11.tar.gz]
> Generating spec file
> SPEC: /usr/src/redhat/SPECS/Log-Dispatch.spec
> Generating package
> RPM test unpacking failed! [/bin/rpm -bp /usr/src/redhat/SPECS/Log-
> Dispatch.spec]
> -bp: unknown option
> -- Done --
> -----------------------------------
>
> 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 ..
>
> Alex
>
> --
> ----------
> Linux, Firefox and GMail .. what a combination.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20050923/804a8378/attachment.html>


More information about the Legacy mailing list