1.02 bump
- Modernize the spec
This commit is contained in:
parent
9b137c369a
commit
686b2f54b5
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
Net-SMTP-SSL-1.01.tar.gz
|
||||
/Net-SMTP-SSL-1.02.tar.gz
|
||||
|
||||
@ -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@redhat.com> - 1.02-1
|
||||
- 1.02 bump
|
||||
- Modernize the spec
|
||||
|
||||
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-18
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user