Description of problem: At line 11 of /usr/share/perl5/vendor_perl/Email/Simple/Creator.pm, one can see: sub _date_header { require Email::Date::Format; Email::Date::Format::email_date(); } Perhaps it's because the requirement is declared inside a function that rpmbuild doesn't pick it up automatically? However, it is required for proper operation of the package. ==== Example script ==== [mathieu@localhost ~]$ cat testmail.pl use strict; use Email::Sender::Simple qw(sendmail); use Email::Simple; use Email::Simple::Creator; use Email::Sender::Transport::SMTP; # -- Change to appropriate values ------------------------ my $from = 'foo'; my $to = 'foo'; my $smtp = '10.0.0.1'; # -------------------------------------------------------- open(my $fh, $0); my $body = join("", <$fh>); close($fh); my $email = Email::Simple->create( header => [ To => $to, From => $from, Subject => "Perl module to send emails", ], body => $body, ); my $transport = Email::Sender::Transport::SMTP->new({ host => $smtp, port => 25, }); sendmail($email, { transport => $transport }); ======================== ==== Script output ==== [mathieu@localhost ~]$ perl testmail.pl Can't locate Email/Date/Format.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/vendor_perl/Email/Simple/Creator.pm line 12. ======================= Once I manually install perl-Email-Date-Format, the above script sends the email properly. Running repoquery with the --releasever parameter, I can see that the package is missing the requirement in all versions of Fedora (from 16 to 18) and EPEL (5 and 6).
perl-Email-Simple-2.102-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/perl-Email-Simple-2.102-1.fc17
perl-Email-Simple-2.102-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/perl-Email-Simple-2.102-1.fc18
perl-Email-Simple-2.102-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/perl-Email-Simple-2.102-1.fc16
Package perl-Email-Simple-2.102-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-Email-Simple-2.102-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-12173/perl-Email-Simple-2.102-1.fc18 then log in and leave karma (feedback).
(In reply to comment #0) > Running repoquery with the --releasever parameter, I can see that the > package is missing the requirement in all versions of Fedora (from 16 to 18) > and EPEL (5 and 6). In EPEL 5 and 6, the Email::Simple::Creator module is in a separate perl-Email-Simple-Creator package (this was merged into perl-Email-Simple relatively recently), and the perl-Email-Simple-Creator packages *do* have the necessary dependency, so this is not an issue in EPEL.
perl-Email-Simple-2.102-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
perl-Email-Simple-2.102-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
perl-Email-Simple-2.102-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.