Blame SPECS/perl-Mail-AuthenticationResults.spec

278f84
Name:           perl-Mail-AuthenticationResults
278f84
Version:        2.20210112
278f84
Release:        1%{?dist}
278f84
Summary:        Object Oriented Authentication-Results Headers
278f84
License:        GPL+ or Artistic
278f84
URL:            http://search.cpan.org/dist/Mail-AuthenticationResults/
278f84
Source0:        http://www.cpan.org/modules/by-module/Mail/Mail-AuthenticationResults-%{version}.tar.gz
278f84
BuildArch:      noarch
278f84
278f84
BuildRequires:  make
278f84
BuildRequires:  perl >= 0:5.008
278f84
BuildRequires:  perl-generators
278f84
BuildRequires:  perl(base)
278f84
BuildRequires:  perl(Carp)
278f84
BuildRequires:  perl(ExtUtils::MakeMaker)
278f84
BuildRequires:  perl(JSON)
278f84
BuildRequires:  perl(lib)
278f84
BuildRequires:  perl(Scalar::Util)
278f84
BuildRequires:  perl(strict)
278f84
BuildRequires:  perl(Test::Exception)
278f84
BuildRequires:  perl(Test::More)
278f84
BuildRequires:  perl(warnings)
278f84
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
278f84
278f84
278f84
%description
278f84
Object Oriented Authentication-Results email headers.
278f84
278f84
278f84
%prep
278f84
%setup -q -n Mail-AuthenticationResults-%{version}
278f84
278f84
278f84
%build
278f84
perl Makefile.PL INSTALLDIRS=vendor
278f84
%make_build
278f84
278f84
278f84
%install
278f84
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
278f84
278f84
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
278f84
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
278f84
278f84
%{_fixperms} $RPM_BUILD_ROOT/*
278f84
278f84
278f84
%check
278f84
make test
278f84
278f84
278f84
%files
278f84
%license LICENSE
278f84
%doc Changes dist.ini README README.md
278f84
%{perl_vendorlib}/*
278f84
%{_mandir}/man3/*
278f84
278f84
%changelog
278f84
* Mon Nov 28 2022 Martin Osvald <mosvald@redhat.com> - 2.20210112-1
278f84
- Initial version