Spec Name or Url: ftp://packman.iu-bremen.de/fedora/SRPMS/perl-HTTP-Server-Simple-Mason.spec SRPM Name or Url: ftp://packman.iu-bremen.de/fedora/SRPMS/perl-HTTP-Server-Simple-Mason-0.09-1.src.rpm Description: An abstract baseclass for a standalone mason server
NEEDSWORK MD5SUMS: 2c0ea17e0911302bf8ae96c5dfe915c2 perl-HTTP-Server-Simple-Mason-0.09-1.src.rpm 89801442d5ed9b39a80605546461712e HTTP-Server-Simple-Mason-0.09.tar.gz a339dbaa5c200fa268bf250e8a9006e7 perl-HTTP-Server-Simple-Mason.spec Good: * Package name follows standard * Tarball MD5 disget verified * License verified * perl(:MODULE_COMPAT_xxx) present * perl vendor libs present * File permissions are correct * Builds without problems in FC-4 NeedsWork: * invalid Source0 URL it should be http://www.cpan.org/authors/id/J/JE/JESSE/... (s#CPAN/##) or· http://search.cpan.org/CPAN/authors/id/J/JE/JESSE/... (s/www/search/) * missing requirement: perl(HTTP::Server::Simple::CGI) Mason.pm -------- package HTTP::Server::Simple::Mason; use base qw/HTTP::Server::Simple::CGI/; .... * directory ownership should start at %{perl_vendorlib}/HTTP/Server/Simple/ as it requires HTTP::Server::Simple Improvements: * add the BR LWP::Simple to improve test coverage * add the example in ex/
(In reply to comment #1) > * missing requirement: perl(HTTP::Server::Simple::CGI) # rpm -q --whatprovides 'perl(HTTP::Server::Simple::CGI)' perl-HTTP-Server-Simple-0.13-1.fc4 > * directory ownership should start at > > %{perl_vendorlib}/HTTP/Server/Simple/ > > as it requires HTTP::Server::Simple Well, I'm hestant to apply this proposal, because 1. RPM doesn't guarantee any particular order when removing multiple packages. Therefore, this convention causes empty directories to stay around when removing several packages at once. 2. perl(HTTP::Server::Simple) doesn't correspond to %{perl_vendorlib}/HTTP/Server/Simple, it corresponds to %{perl_vendorlib}/HTTP/Server/Simple.pm I.e. to ensure the directory you'd have to Requires: %{perl_vendorlib}/HTTP/Server/Simple (Or even Requires(pre) rsp. Requires(preun), as this seems to help rpm upon multiple package removal requests)
(In reply to comment #2) > (In reply to comment #1) > > * missing requirement: perl(HTTP::Server::Simple::CGI) > > # rpm -q --whatprovides 'perl(HTTP::Server::Simple::CGI)' > perl-HTTP-Server-Simple-0.13-1.fc4 Hmm... I am not following. I am talking about a missing requirement not about the BR. $ rpm -qpR ../RPMS/noarch/perl-HTTP-Server-Simple-Mason-0.09-1.noarch.rpm | grep ^perl perl(:MODULE_COMPAT_5.8.6) perl(Encode) perl(HTML::Mason::CGIHandler) perl(HTML::Mason::FakeApache) perl(Hook::LexWrap) perl(base) perl(bytes) perl(strict) The rpmbuild perl.req script fails to require perl(HTTP::Server::Simple::CGI). As you mentioned, this module is provided by perl-HTTP-Server-Simple, which should be explicitly required. > > * directory ownership should start at > > > > %{perl_vendorlib}/HTTP/Server/Simple/ > > > > as it requires HTTP::Server::Simple > > Well, I'm hestant to apply this proposal, because > 1. RPM doesn't guarantee any particular order when removing multiple packages. > Therefore, this convention causes empty directories to stay around when removing > several packages at once. > > 2. perl(HTTP::Server::Simple) doesn't correspond to > %{perl_vendorlib}/HTTP/Server/Simple, > it corresponds to > %{perl_vendorlib}/HTTP/Server/Simple.pm > > I.e. to ensure the directory you'd have to > Requires: %{perl_vendorlib}/HTTP/Server/Simple > > (Or even Requires(pre) rsp. Requires(preun), as this seems to help rpm upon > multiple package removal requests) You have a point about the directory ownership.
Updated package/spec: ftp://packman.iu-bremen.de/fedora/SRPMS/perl-HTTP-Server-Simple-Mason.spec ftp://packman.iu-bremen.de/fedora/SRPMS/perl-HTTP-Server-Simple-Mason-0.09-2.src.rpm
APPROVED. MD5SUMS: 63e9c7283e887a80036d77b9df681df5 perl-HTTP-Server-Simple-Mason-0.09-2.src.rpm 89801442d5ed9b39a80605546461712e HTTP-Server-Simple-Mason-0.09.tar.gz 2057bd9f6d112cf1355ee1afcea53d82 perl-HTTP-Server-Simple-Mason.spec Note: Also tested with the new release of HTTP::Server::Simple (v0.15).