diff --git a/perl-TimeDate.spec b/perl-TimeDate.spec index 492a03f..31f5ba1 100644 --- a/perl-TimeDate.spec +++ b/perl-TimeDate.spec @@ -1,7 +1,7 @@ Name: perl-TimeDate Version: 1.20 Epoch: 1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: A Perl module for time and date manipulation Group: Development/Libraries @@ -11,7 +11,6 @@ Source0: http://www.cpan.org/authors/id/G/GB/GBARR/TimeDate-%{version}.ta BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(Time::Local) @@ -19,7 +18,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This module includes a number of smaller modules suited for -manipulation of time and date strings with Perl. In particular, the +manipulation of time and date strings with Perl. In particular, the Date::Format and Date::Parse modules can display and read times and dates in various formats, providing a more reliable interface to textual representations of points in time. @@ -40,21 +39,27 @@ perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install DESTDIR=$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 %files +%doc README ChangeLog %{perl_vendorlib}/Date/ %{perl_vendorlib}/Time/ %{_mandir}/man3/*.3* %changelog +* Fri Nov 23 2012 Jitka Plesnikova - 1:1.20-10 +- Remove perl(base) from BR +- Package README and ChangeLog +- Replace PERL_INSTALL_ROOT with DESTDIR +- Remove deleting empty directories + * Thu Aug 16 2012 Jitka Plesnikova - 1:1.20-9 - Specify all dependencies.