#
# Conditional build:
-%bcond_with tests # do not perform "make test"
- # need network connection
+%bcond_with tests # unit tests (need network connection)
%define pdir Mail
%define pnam Sendmail
-Summary: Mail::Sendmail perl module
-Summary(pl.UTF-8): Moduł perla Mail::Sendmail
+Summary: Mail::Sendmail Perl module
+Summary(pl.UTF-8): Moduł Perla Mail::Sendmail
Name: perl-Mail-Sendmail
Version: 0.80
Release: 1
License: unknown
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+Source0: http://www.cpan.org/modules/by-module/Mail/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: be1d23ebc2edc744ab2457f2086b4e2b
-URL: http://search.cpan.org/dist/Mail-Sendmail/
+URL: https://metacpan.org/release/Mail-Sendmail
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%defattr(644,root,root,755)
%doc Changes README Todo
%{perl_vendorlib}/Mail/Sendmail.pm
-%{_mandir}/man3/*
+%{_mandir}/man3/Mail::Sendmail.3pm*