From 8494a147d7d96fe8ef1e8b727061d766b234c55e Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Aug 21 2017 11:16:52 +0000
Subject: 0.80 bump; Modernize spec


---

diff --git a/.gitignore b/.gitignore
index f638561..470cce3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Mail-Sendmail-0.79.tar.gz
+/Mail-Sendmail-0.80.tar.gz
diff --git a/perl-Mail-Sendmail.spec b/perl-Mail-Sendmail.spec
index 1f07b23..9c39b4e 100644
--- a/perl-Mail-Sendmail.spec
+++ b/perl-Mail-Sendmail.spec
@@ -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 <jples...@redhat.com> - 0.80-1
+- 0.80 bump
+
 * Thu Jul 27 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.79-32
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
 
diff --git a/sources b/sources
index 3ce7363..738dc4f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-038f261afd091d8fad347d6c66d2833d  Mail-Sendmail-0.79.tar.gz
+SHA512 (Mail-Sendmail-0.80.tar.gz) = 
848ec471938d679645dfb4e032a33d35e49655a336dc6ff3a24ffa35606bff77e73162af672d1a60ad3a7bf571113e802fc42d6cb9a072cdca0d89f707f54a08


        
https://src.fedoraproject.org/rpms/perl-Mail-Sendmail/c/8494a147d7d96fe8ef1e8b727061d766b234c55e?branch=f27
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to