Update deps. Clean up spec. Package README and ChangeLog
This commit is contained in:
parent
1b25d5f469
commit
ff00c15253
@ -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)
|
||||
@ -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 <jplesnik@redhat.com> - 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 <jplesnik@redhat.com> - 1:1.20-9
|
||||
- Specify all dependencies.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user