psabata pushed to perl-Net-SMTP-SSL (master). "1.02 bump (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Mar 27 09:21:02 UTC 2015


>From 686b2f54b5e854086ec07e6f568e8f22cae8c72a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Fri, 27 Mar 2015 10:20:54 +0100
Subject: 1.02 bump

- Modernize the spec

diff --git a/.gitignore b/.gitignore
index 5f1cde3..451e21b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Net-SMTP-SSL-1.01.tar.gz
+/Net-SMTP-SSL-1.02.tar.gz
diff --git a/perl-Net-SMTP-SSL.spec b/perl-Net-SMTP-SSL.spec
index 67f51d9..11b99f3 100644
--- a/perl-Net-SMTP-SSL.spec
+++ b/perl-Net-SMTP-SSL.spec
@@ -1,19 +1,21 @@
-Name: perl-Net-SMTP-SSL
-Version: 1.01
-Release: 18%{?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
-BuildArch: noarch
-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))
+Name:           perl-Net-SMTP-SSL
+Version:        1.02
+Release:        1%{?dist}
+Summary:        SSL support for Net::SMTP
+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
+BuildArch:      noarch
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+# Runtime
+BuildRequires:  perl(IO::Socket::SSL)
+BuildRequires:  perl(Net::SMTP)
+# Tests only
+BuildRequires:  perl(Test::More) >= 0.47
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 
 %description
 Implements the same API as Net::SMTP, but uses IO::Socket::SSL for its
@@ -23,17 +25,15 @@ network operations.
 %setup -q -n Net-SMTP-SSL-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-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 ';'
-chmod -R u+w $RPM_BUILD_ROOT
+make pure_install DESTDIR=%{buildroot}
+chmod -R u+w %{buildroot}
 
 %check
-make %{?_smp_mflags} test
+make test
 
 %files
 %doc README Changes
@@ -43,6 +43,10 @@ make %{?_smp_mflags} test
 %{_mandir}/man3/Net::SMTP::SSL.3*
 
 %changelog
+* Fri Mar 27 2015 Petr Ĺ abata <contyk at redhat.com> - 1.02-1
+- 1.02 bump
+- Modernize the spec
+
 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.01-18
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index b8fee51..edbca69 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ba039288ebf7a343feecacd374da8c1a  Net-SMTP-SSL-1.01.tar.gz
+e67b4d842a51b9a453aeeaeed45fb8e1  Net-SMTP-SSL-1.02.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Net-SMTP-SSL.git/commit/?h=master&id=686b2f54b5e854086ec07e6f568e8f22cae8c72a


More information about the scm-commits mailing list