From e4d96f3cb2b1ef214441d9f5d0dc4f020cb42528 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 5 Jan 2015 15:51:05 +0000 Subject: [PATCH] 1.17 bump - New upstream release 1.17 - Use %license - Make %files list more explicit --- perl-DateTime.spec | 26 +++++++++++++++++++------- sources | 2 +- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/perl-DateTime.spec b/perl-DateTime.spec index eec7618..9116bfa 100644 --- a/perl-DateTime.spec +++ b/perl-DateTime.spec @@ -1,6 +1,6 @@ Name: perl-DateTime Epoch: 2 -Version: 1.14 +Version: 1.17 Release: 1%{?dist} Summary: Date and time object for Perl License: Artistic 2.0 @@ -68,11 +68,11 @@ believed to be the birth of Jesus Christ. %setup -q -n DateTime-%{version} %build -perl Build.PL installdirs=vendor optimize="%{optflags}" +perl Build.PL --installdirs=vendor --optimize="%{optflags}" ./Build %install -./Build install destdir=%{buildroot} create_packlist=0 +./Build install --destdir=%{buildroot} --create_packlist=0 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; %{_fixperms} %{buildroot} @@ -80,12 +80,24 @@ find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; ./Build test %files -%doc Changes CREDITS LICENSE README.md TODO -%{perl_vendorarch}/auto/* -%{perl_vendorarch}/DateTime* -%{_mandir}/man3/* +%license LICENSE +%doc Changes CREDITS README.md TODO +%{perl_vendorarch}/auto/DateTime/ +%{perl_vendorarch}/DateTime/ +%{perl_vendorarch}/DateTime.pm +%{perl_vendorarch}/DateTimePP.pm +%{perl_vendorarch}/DateTimePPExtra.pm +%{_mandir}/man3/DateTime.3* +%{_mandir}/man3/DateTime::Duration.3* +%{_mandir}/man3/DateTime::Infinite.3* +%{_mandir}/man3/DateTime::LeapSecond.3* %changelog +* Mon Jan 5 2015 Paul Howarth - 2:1.17-1 +- 1.17 bump +- Use %%license +- Make %%files list more explicit + * Mon Jan 5 2015 Paul Howarth - 2:1.14-1 - 1.14 bump diff --git a/sources b/sources index 974179c..2f27137 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e2d8d7a9f5f741d4592f82b4aa6b4708 DateTime-1.14.tar.gz +5064f42aeaea22d1088087348b8b405a DateTime-1.17.tar.gz