update to 1.20; recode documentation as UTF-8; fix bogus exec permissions
to placate rpmlint
This commit is contained in:
parent
f82ab09716
commit
80ac935781
@ -1 +1 @@
|
||||
TimeDate-1.16.tar.gz
|
||||
TimeDate-1.20.tar.gz
|
||||
|
@ -1,7 +1,7 @@
|
||||
Name: perl-TimeDate
|
||||
Version: 1.16
|
||||
Version: 1.20
|
||||
Epoch: 1
|
||||
Release: 12%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: A Perl module for time and date manipulation
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -25,6 +25,13 @@ textual representations of points in time.
|
||||
%prep
|
||||
%setup -q -n TimeDate-%{version}
|
||||
|
||||
# ChangeLog is ISO-8859-1 encoded
|
||||
iconv -f iso-8859-1 -t utf8 < ChangeLog > ChangeLog.utf8
|
||||
mv ChangeLog.utf8 ChangeLog
|
||||
|
||||
# Bogus exec permissions on some language modules
|
||||
chmod -x lib/Date/Language/{Russian_cp1251,Russian_koi8r,Turkish}.pm
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
@ -33,7 +40,7 @@ make %{?_smp_mflags}
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$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 ';'
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
@ -42,7 +49,6 @@ make test
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{perl_vendorlib}/Date/
|
||||
@ -51,6 +57,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Dec 23 2009 Paul Howarth <paul@city-fan.org> - 1:1.20-1
|
||||
- update to 1.20
|
||||
- recode documentation as UTF-8
|
||||
- fix bogus exec permissions to placate rpmlint
|
||||
|
||||
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1:1.16-12
|
||||
- rebuild against perl 5.10.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user