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

This commit is contained in:
CentOS Sources 2023-01-06 04:13:36 +00:00 committed by Stepan Oksanichenko
parent 17478dd2fc
commit ede21aa6bb
3 changed files with 17 additions and 13 deletions

2
.gitignore vendored
View File

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

View File

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

View File

@ -1,5 +1,5 @@
Name: perl-Mail-DKIM Name: perl-Mail-DKIM
Version: 0.54 Version: 1.20200907
Release: 1%{?dist} Release: 1%{?dist}
Summary: Sign and verify Internet mail with DKIM/DomainKey signatures Summary: Sign and verify Internet mail with DKIM/DomainKey signatures
License: GPL+ or Artistic License: GPL+ or Artistic
@ -18,15 +18,17 @@ BuildRequires: perl(Digest::SHA)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(lib) BuildRequires: perl(lib)
BuildRequires: perl(Mail::Address) BuildRequires: perl(Mail::Address)
BuildRequires: perl(Mail::AuthenticationResults)
BuildRequires: perl(MIME::Base64) BuildRequires: perl(MIME::Base64)
BuildRequires: perl(Net::DNS) BuildRequires: perl(Net::DNS)
BuildRequires: perl(Net::DNS::Resolver::Mock) BuildRequires: perl(Net::DNS::Resolver::Mock)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Test::RequiresInternet)
BuildRequires: perl(Test::Simple) BuildRequires: perl(Test::Simple)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
BuildRequires: perl(YAML::XS) 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 %description
This module implements the various components of the DKIM and DomainKeys 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 # Make the example scripts non-executable
chmod -x scripts/*.pl chmod -x scripts/*.pl
# Use the real path in the shebang # 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 # Remove dos-type line endings
perl -pi -e 's/\r//' doc/qp1.txt /usr/bin/perl -pi -e 's/\r//' doc/qp1.txt
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 /usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags} %{make_build}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT %{make_install}
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check
# Conditionally disable tests that require DNS lookups %{make_build} test
%{?!_with_network_tests: rm t/policy.t t/public_key.t }
make test
%files %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}/* %{perl_vendorlib}/*
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %changelog
* Fri Nov 04 2022 Martin Osvald <mosvald@redhat.com> - 1.20200907-1
- Update to 1.20200907
* Sun Oct 21 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 0.54-1 * Sun Oct 21 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 0.54-1
- Update to 0.54 - Update to 0.54
- Fix shebang path in scripts/arcverify.pl - Fix shebang path in scripts/arcverify.pl