Subject: | Unable to build an RPM using cpan2rpm due to missing data in META.yml |
Date: | Tue, 14 Aug 2012 14:35:48 +0200 |
To: | bug-String-MkPasswd [...] rt.cpan.org |
From: | Olivier BONHOMME <obonhomme [...] nerim.net> |
Hello,
I use the lib String-MkPasswd on a CentOS distribution and for practical
reasons I intend to package the lib as a RPM.
To do that I use the soft CPAN2RPM.
It worked well for the version 0.02 but since the 0.03 CPAN2RPM had
can't build without forcing version parameter.
It would be nice if the RPM could be built without forcing these
parameters like for the 0.02.
Please find here after build traces.
0.02
----
$ cpan2rpm --no-sign
http://search.cpan.org//CPAN/authors/id/C/CG/CGRAU/String-MkPasswd-0.02.tar.gz
-- cpan2rpm - Ver: 2.028 --
Upgrade check
Fetch: HTTP
-- module:
http://search.cpan.org//CPAN/authors/id/C/CG/CGRAU/String-MkPasswd-0.02.tar.gz
--
Metadata retrieval
Tarball extraction:
[/exports/home/obonhomme/rpmbuild/SOURCES/String-MkPasswd-0.02.tar.gz]
Generating spec file
SPEC: /exports/home/obonhomme/rpmbuild/SPECS/String-MkPasswd.spec
RPM:
/exports/home/obonhomme/rpmbuild/RPMS/noarch/perl-String-MkPasswd-0.02-1.noarch.rpm
-- Done -
0.03
----
$ cpan2rpm --no-sign
http://search.cpan.org//CPAN/authors/id/C/CG/CGRAU/String-MkPasswd-0.03.tar.gz
-- cpan2rpm - Ver: 2.028 --
Upgrade check
Fetch: HTTP
-- module:
http://search.cpan.org//CPAN/authors/id/C/CG/CGRAU/String-MkPasswd-0.03.tar.gz
--
Metadata retrieval
Tarball extraction:
[/exports/home/obonhomme/rpmbuild/SOURCES/String-MkPasswd-0.03.tar.gz]
No version found, please use --version option. Stopped at
/usr/bin/cpan2rpm line 580, <DATA> line 537.
-- Done --
Version Information
-------------------
OS : CentOS 5.8
Perl : 5.8.8
CPAN2RPM: 2.028
String-MkPasswd : 0.02 and 0.03
Many thanks for your help
Regards,
Olivier BONHOMME