From ede21aa6bbd540d815f7d286a065db007b34cb41 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Fri, 6 Jan 2023 04:13:36 +0000 Subject: [PATCH] import perl-Mail-DKIM-1.20200907-1.el8 --- .gitignore | 2 +- .perl-Mail-DKIM.metadata | 2 +- SPECS/perl-Mail-DKIM.spec | 26 +++++++++++++++----------- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 73ac819..54e2649 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/Mail-DKIM-0.54.tar.gz +SOURCES/Mail-DKIM-1.20200907.tar.gz diff --git a/.perl-Mail-DKIM.metadata b/.perl-Mail-DKIM.metadata index 952dbf8..df6d4bb 100644 --- a/.perl-Mail-DKIM.metadata +++ b/.perl-Mail-DKIM.metadata @@ -1 +1 @@ -c9200ab75cb670e5da942272e98b9c9ab1e81513 SOURCES/Mail-DKIM-0.54.tar.gz +0626f1b3b600aa20b3ad5db3e9d75ce2203c3bdd SOURCES/Mail-DKIM-1.20200907.tar.gz diff --git a/SPECS/perl-Mail-DKIM.spec b/SPECS/perl-Mail-DKIM.spec index cdf2060..3a087df 100644 --- a/SPECS/perl-Mail-DKIM.spec +++ b/SPECS/perl-Mail-DKIM.spec @@ -1,5 +1,5 @@ Name: perl-Mail-DKIM -Version: 0.54 +Version: 1.20200907 Release: 1%{?dist} Summary: Sign and verify Internet mail with DKIM/DomainKey signatures License: GPL+ or Artistic @@ -18,15 +18,17 @@ BuildRequires: perl(Digest::SHA) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(lib) BuildRequires: perl(Mail::Address) +BuildRequires: perl(Mail::AuthenticationResults) BuildRequires: perl(MIME::Base64) BuildRequires: perl(Net::DNS) BuildRequires: perl(Net::DNS::Resolver::Mock) BuildRequires: perl(strict) BuildRequires: perl(Test::More) +BuildRequires: perl(Test::RequiresInternet) BuildRequires: perl(Test::Simple) BuildRequires: perl(warnings) BuildRequires: perl(YAML::XS) -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version)) %description This module implements the various components of the DKIM and DomainKeys @@ -41,30 +43,32 @@ Mail::SpamAssassin::Plugin::DKIM plugin. # Make the example scripts non-executable chmod -x scripts/*.pl # Use the real path in the shebang -perl -pi -e 's|^#!/usr/bin/env perl|#!%{__perl}|' scripts/arcverify.pl +/usr/bin/perl -pi -e 's|^#!/usr/bin/env perl|#!/usr/bin/perl|' scripts/arcverify.pl # Remove dos-type line endings -perl -pi -e 's/\r//' doc/qp1.txt +/usr/bin/perl -pi -e 's/\r//' doc/qp1.txt %build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 -make %{?_smp_mflags} +/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install DESTDIR=$RPM_BUILD_ROOT +%{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check -# Conditionally disable tests that require DNS lookups -%{?!_with_network_tests: rm t/policy.t t/public_key.t } -make test +%{make_build} test %files -%doc ChangeLog Changes doc HACKING.DKIM README.md TODO scripts/*.pl +%doc Changes doc HACKING.DKIM README.md TODO scripts/*.pl +%license LICENSE %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Fri Nov 04 2022 Martin Osvald - 1.20200907-1 +- Update to 1.20200907 + * Sun Oct 21 2018 Emmanuel Seyman - 0.54-1 - Update to 0.54 - Fix shebang path in scripts/arcverify.pl