Blame SPECS/perl-Mail-AuthenticationResults.spec

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