On Monday 08 February 2010, Tom "spot" Callaway wrote:
On 02/05/2010 04:29 PM, Pedro Padron wrote:
> Should I just add a bunch of Provides: in the spec header like this?
>
[...]
> Provides: perl(Nmap::Scanner::Service)
> Provides: perl(Nmap::Scanner::Task)
> Provides: perl(Nmap::Scanner::TaskProgress)
I would do that, except I would version them:
Provides: perl(Nmap::Scanner::Address) = %{version}
...
IMHO versioning them this would be the right thing to do only if the generated
classes actually end up having %{version} (expanded, obviously) as their
version in Perl module terms ($VERSION).
Briefly peeking at the sources of Class::Generate I don't see any evidence
that it would add any such version information to the generated classes.