Compare commits

..

No commits in common. "c8s" and "imports/c8s/perl-Mail-DKIM-0.54-1.el8" have entirely different histories.

3 changed files with 13 additions and 17 deletions

2
.gitignore vendored
View File

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

View File

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

View File

@ -1,5 +1,5 @@
Name: perl-Mail-DKIM
Version: 1.20200907
Version: 0.54
Release: 1%{?dist}
Summary: Sign and verify Internet mail with DKIM/DomainKey signatures
License: GPL+ or Artistic
@ -18,17 +18,15 @@ 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 "`/usr/bin/perl -V:version`"; echo $version))
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This module implements the various components of the DKIM and DomainKeys
@ -43,32 +41,30 @@ Mail::SpamAssassin::Plugin::DKIM plugin.
# Make the example scripts non-executable
chmod -x scripts/*.pl
# Use the real path in the shebang
/usr/bin/perl -pi -e 's|^#!/usr/bin/env perl|#!/usr/bin/perl|' scripts/arcverify.pl
perl -pi -e 's|^#!/usr/bin/env perl|#!%{__perl}|' scripts/arcverify.pl
# Remove dos-type line endings
/usr/bin/perl -pi -e 's/\r//' doc/qp1.txt
perl -pi -e 's/\r//' doc/qp1.txt
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
%{make_install}
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
%{make_build} test
# Conditionally disable tests that require DNS lookups
%{?!_with_network_tests: rm t/policy.t t/public_key.t }
make test
%files
%doc Changes doc HACKING.DKIM README.md TODO scripts/*.pl
%license LICENSE
%doc ChangeLog Changes doc HACKING.DKIM README.md TODO scripts/*.pl
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%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
- Update to 0.54
- Fix shebang path in scripts/arcverify.pl