Bug 73392
Summary: | Missing dependencies for cpanflute2. Bugs in cpanflute | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | ingvar |
Component: | rpm-build | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | CC: | strobert |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-09-03 23:23:30 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
ingvar
2002-09-03 23:23:24 UTC
Yup, all bugs, and part of the rationale for removing cpanflute and cpanflute2 and rpm-perl from rpm. You might try using the Perl-RPM2. From all reports I've seen, Perl-RPM2 does a better job than cpanflute, and is actively being maintained. Still on that cpanflute-thing. I looked at RedHat 8.0. Cpanflute is (obviously from your earlier comments) supplied, and you say perl-RPM2 should be able to replace it. I'm no real perl programmer, but looking at the source, I really have no idea on how to use the perl-RPM2 module for creating rpms from cpan tarballs. Is it really possible? If it is, one should really have a wrapper script. Could you provide some simple pseudo-code or links or anything? Regards, and wishing a merry Christmas, Ingvar Hagelund $ cat /etc/redhat-release Red Hat Linux release 8.0 (Psyche) $ rpm -ql perl-RPM2 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/RPM2.pm /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/RPM2/RPM2.bs /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/RPM2/RPM2.so /usr/share/man/man3/RPM2.3pm.gz $ grep sub /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/RPM2.pm sub rpmvercmp { sub add_macro { sub delete_macro { sub open_rpm_db { sub open_package { sub close_rpm_db { sub find_all_iter { sub find_all { sub find_by_name_iter { sub find_by_name { sub find_by_provides_iter { sub find_by_provides { sub find_by_requires_iter { sub find_by_requires { sub find_by_file_iter { sub find_by_file { sub iterator { sub DESTROY { sub _new_raw { sub tag { sub compare { sub op_bool { sub op_spaceship { sub is_source_package { sub as_nvre { my $sub = q { sub [[method]] { $sub =~ s/\[\[method\]\]/$method/g; $sub =~ s/\[\[tag\]\]/$tag/g; eval $sub; sub files { sub DESTROY { sub new_iterator { sub next { sub expand_iter { sub DESTROY { do you have a pointer to "Perl-RPM2"? searching cpan I find the RPm2 module, but that is for manipulating various rpm items, not for turning a CPAN tarball into a SRPM. |