commit 1eaa0a63c102fa39b92a73abf5b63da5c8d211ba Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Aug 13 15:23:52 2012 +0200 Modernize spec file perl-Net-SMTP-SSL.spec | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) --- diff --git a/perl-Net-SMTP-SSL.spec b/perl-Net-SMTP-SSL.spec index c97af97..b4dfcca 100644 --- a/perl-Net-SMTP-SSL.spec +++ b/perl-Net-SMTP-SSL.spec @@ -1,17 +1,18 @@ Name: perl-Net-SMTP-SSL Version: 1.01 -Release: 11%{?dist} +Release: 12%{?dist} Summary: SSL support for Net::SMTP Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Net-SMTP-SSL/ Source0: http://www.cpan.org/modules/by-module/Net/Net-SMTP-SSL-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More) +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: BuildRequires: perl(Net::SMTP) BuildRequires: perl(IO::Socket::SSL) +# Tests: +BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -26,7 +27,6 @@ network operations. make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT make %{?_smp_mflags} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' @@ -35,11 +35,7 @@ chmod -R u+w $RPM_BUILD_ROOT %check make %{?_smp_mflags} test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc README Changes %dir %{perl_vendorlib}/Net/ %dir %{perl_vendorlib}/Net/SMTP/ @@ -47,6 +43,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/Net::SMTP::SSL.3* %changelog +* Mon Aug 13 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1.01-12 +- Modernize spec file + * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.01-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel