import perl-Mail-DKIM-1.20200907-1.el8

c8s imports/c8s/perl-Mail-DKIM-1.20200907-1.el8
CentOS Sources 5 months ago committed by Stepan Oksanichenko
parent 17478dd2fc
commit ede21aa6bb

.gitignore vendored

@ -1 +1 @@

@ -1 +1 @@
c9200ab75cb670e5da942272e98b9c9ab1e81513 SOURCES/Mail-DKIM-0.54.tar.gz
0626f1b3b600aa20b3ad5db3e9d75ce2203c3bdd SOURCES/Mail-DKIM-1.20200907.tar.gz

@ -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))
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/
/usr/bin/perl -pi -e 's|^#!/usr/bin/env perl|#!/usr/bin/perl|' scripts/
# Remove dos-type line endings
perl -pi -e 's/\r//' doc/qp1.txt
/usr/bin/perl -pi -e 's/\r//' doc/qp1.txt
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 pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
# Conditionally disable tests that require DNS lookups
%{?!_with_network_tests: rm t/policy.t t/public_key.t }
make test
%{make_build} test
%doc ChangeLog Changes doc HACKING.DKIM TODO scripts/*.pl
%doc Changes doc HACKING.DKIM TODO scripts/*.pl
%license LICENSE
* 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/