Name: perl-VM-EC2-Security-CredentialCache Version: 0.23 Release: 1%{?dist} Summary: Cache credentials respecting expiration time for IAM roles License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/VM-EC2-Security-CredentialCache/ Source0: http://www.cpan.org/authors/id/R/RC/RCONOVER/VM-EC2-Security-CredentialCache-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(DateTime::Format::ISO8601) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(VM::EC2::Instance::Metadata) Requires: perl(DateTime::Format::ISO8601) Requires: perl(VM::EC2::Instance::Metadata) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides a cache for an EC2's IAM credentials represented by VM::EC2::Security::Credentials. Rather than retriving the credentials for every possible call that uses them, cache them until they expire and retreive them again if they have expired. %prep %setup -q -n VM-EC2-Security-CredentialCache-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGES dist.ini LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Aug 17 2015 Dave Cross 0.23-1 - Specfile autogenerated by cpanspec 1.78.