Mailinglist Archive: opensuse-packaging (284 mails)

< Previous Next >
Re: [opensuse-packaging] One more perl question
  • From: Greg Freemyer <greg.freemyer@xxxxxxxxx>
  • Date: Mon, 21 Feb 2011 13:32:34 -0500
  • Message-id: <AANLkTikPKyjxqQ485yKA85+Waxm=whDU44cbL7ikkjmY@mail.gmail.com>
On Mon, Feb 21, 2011 at 12:13 PM, Christian <chris@xxxxxxxxxxxxxxxx> wrote:
Hi,

Am 21.02.2011 17:25, schrieb Greg Freemyer:
All,

I'm making progress, but the package I'm trying package needs:

perl-NetPacket and 4 of its subpackages

Warning: prerequisite NetPacket::Ethernet 0 not found.
Warning: prerequisite NetPacket::IP 0 not found.
Warning: prerequisite NetPacket::TCP 0 not found.
Warning: prerequisite NetPacket::UDP 0 not found.

which pkg does mention this ?
I have perl-NetPacket successfully building in my home project:
home:gregfreemyer:Tools-for-forensic-boot-cd > perl-NetPacket

all your builds semm just fine.
And per CPAN, all 4 of the above plus NetPacket use the same source
*.tgz file as NetPacket.
http://search.cpan.org/~yanick/NetPacket-1.1.1/lib/NetPacket/TCP.pm

How do I get the NetPacket package to provide the above 4 sub-packages
for my app.

The NetPacket does Provide:
|Provides: perl(NetPacket) = 1.1.1  perl(NetPacket::ARP) = 1.1.1
perl(NetPacket::Ethernet) = 1.1.1  perl(NetPacket::ICMP) = 1.1.1
perl(NetPacket::IGMP) = 1.1.1  perl(NetPacket::IP) = 1.1.1
perl(NetPacket::TCP) = 1.1.1  perl(NetPacket::UDP) = 1.1.1|
Thanks
Greg

Chris

Thanks Chris,

You prompted me to look again at my specfile and I realized I didn't
have a build requires for the base NetPacket package.

BuildRequires: perl-NetPacket

Ie. all of the below where causing OBS to report non-resolvable, so I
commented them out, but did not add the base BuildRequires statement.
# BuildRequires: perl-NetPacket-IP
# BuildRequires: perl-NetPacket-TCP
# BuildRequires: perl-NetPacket-UDP
# BuildRequires: perl-NetPacket-Ethernet

Now that I've done that, the warnings have gone away.

==
At this point I have 10 packages from CPAN that are not yet in a OBS
devel project. Should I SR them to d:l:p or to d:l:p:CPAN.

I've added zero value / patches to the cpan packages, so I assume to
the CPAN repo?

Thanks
Greg
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups