1.17 bump

- New upstream release 1.17
- Use %license
- Make %files list more explicit
This commit is contained in:
Paul Howarth 2015-01-05 15:51:05 +00:00
parent b430fd2c3d
commit e4d96f3cb2
2 changed files with 20 additions and 8 deletions

View File

@ -1,6 +1,6 @@
Name: perl-DateTime Name: perl-DateTime
Epoch: 2 Epoch: 2
Version: 1.14 Version: 1.17
Release: 1%{?dist} Release: 1%{?dist}
Summary: Date and time object for Perl Summary: Date and time object for Perl
License: Artistic 2.0 License: Artistic 2.0
@ -68,11 +68,11 @@ believed to be the birth of Jesus Christ.
%setup -q -n DateTime-%{version} %setup -q -n DateTime-%{version}
%build %build
perl Build.PL installdirs=vendor optimize="%{optflags}" perl Build.PL --installdirs=vendor --optimize="%{optflags}"
./Build ./Build
%install %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 {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
%{_fixperms} %{buildroot} %{_fixperms} %{buildroot}
@ -80,12 +80,24 @@ find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
./Build test ./Build test
%files %files
%doc Changes CREDITS LICENSE README.md TODO %license LICENSE
%{perl_vendorarch}/auto/* %doc Changes CREDITS README.md TODO
%{perl_vendorarch}/DateTime* %{perl_vendorarch}/auto/DateTime/
%{_mandir}/man3/* %{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 %changelog
* Mon Jan 5 2015 Paul Howarth <paul@city-fan.org> - 2:1.17-1
- 1.17 bump
- Use %%license
- Make %%files list more explicit
* Mon Jan 5 2015 Paul Howarth <paul@city-fan.org> - 2:1.14-1 * Mon Jan 5 2015 Paul Howarth <paul@city-fan.org> - 2:1.14-1
- 1.14 bump - 1.14 bump

View File

@ -1 +1 @@
e2d8d7a9f5f741d4592f82b4aa6b4708 DateTime-1.14.tar.gz 5064f42aeaea22d1088087348b8b405a DateTime-1.17.tar.gz