0.80 bump; Modernize spec

epel9
Jitka Plesnikova 8 years ago
parent 45e1f461ee
commit 8494a147d7

1
.gitignore vendored

@ -1 +1,2 @@
Mail-Sendmail-0.79.tar.gz
/Mail-Sendmail-0.80.tar.gz

@ -1,20 +1,26 @@
Name: perl-Mail-Sendmail
Version: 0.79
Release: 32%{?dist}
Version: 0.80
Release: 1%{?dist}
Summary: Simple platform independent mailer for Perl
License: Copyright only
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Mail-Sendmail/
Source0: http://www.cpan.org/authors/id/M/MI/MIVKOVIC/Mail-Sendmail-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://www.cpan.org/authors/id/N/NE/NEILB/Mail-Sendmail-%{version}.tar.gz
BuildArch: noarch
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# Not picked up automatically.
Requires: perl(MIME::QuotedPrint)
Recommends: perl(Digest::MD5)
Recommends: perl(MIME::Base64)
%description
Mail::Sendmail is a simple platform independent library for sending
@ -29,15 +35,12 @@ easy to setup and use.
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
make pure_install DESTDIR=$RPM_BUILD_ROOT
chmod -R u+w $RPM_BUILD_ROOT/*
@ -45,18 +48,17 @@ chmod -R u+w $RPM_BUILD_ROOT/*
# We don't want to send the test mail -> no make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README Sendmail.html Todo
%license LICENSE
%doc Changes README Todo
%{perl_vendorlib}/Mail/
%{_mandir}/man3/*.3pm*
%changelog
* Mon Aug 21 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.80-1
- 0.80 bump
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.79-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

@ -1 +1 @@
038f261afd091d8fad347d6c66d2833d Mail-Sendmail-0.79.tar.gz
SHA512 (Mail-Sendmail-0.80.tar.gz) = 848ec471938d679645dfb4e032a33d35e49655a336dc6ff3a24ffa35606bff77e73162af672d1a60ad3a7bf571113e802fc42d6cb9a072cdca0d89f707f54a08

Loading…
Cancel
Save