Name: perl-DateTime-Tiny Version: 1.04 Release: 2%{?dist} Summary: Date object, with as little code as possible License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/DateTime-Tiny/ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/DateTime-Tiny-%{version}.tar.gz BuildArch: noarch BuildRequires: perl >= 0:5.004 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) >= 0.47 Requires: perl(DateTime) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description DateTime::Tiny implements an extremely lightweight object that represents a datetime. %prep %setup -q -n DateTime-Tiny-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Dec 11 2012 Robin Lee <cheeselee@fedoraproject.org> - 1.04-2 - Add requires perl(DateTime) - Remove perl(Test::More) from Requires - Fill description paragraph * Mon Dec 10 2012 Robin Lee <cheeselee@fedoraproject.org> 1.04-1 - Specfile autogenerated by cpanspec 1.78.