gzip the sample dates file in documentation (rhbz#890441)
This commit is contained in:
parent
4c776e02f9
commit
0062c9e1dd
@ -1,13 +1,12 @@
|
|||||||
Name: perl-DateTime-Format-Mail
|
Name: perl-DateTime-Format-Mail
|
||||||
Version: 0.3001
|
Version: 0.3001
|
||||||
Release: 15%{?dist}
|
Release: 16%{?dist}
|
||||||
Summary: Convert between DateTime and RFC2822/822 formats
|
Summary: Convert between DateTime and RFC2822/822 formats
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/DateTime-Format-Mail
|
URL: http://search.cpan.org/dist/DateTime-Format-Mail
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Mail-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Mail-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(Class::ISA)
|
BuildRequires: perl(Class::ISA)
|
||||||
@ -40,6 +39,8 @@ people still get it wrong. This module aims to correct that.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n DateTime-Format-Mail-%{version}
|
%setup -q -n DateTime-Format-Mail-%{version}
|
||||||
|
|
||||||
|
gzip -c t/sample_dates >t/sample_dates.gz
|
||||||
|
|
||||||
# POD doesn't like E<copy> very much...
|
# POD doesn't like E<copy> very much...
|
||||||
perl -pi -e 's/E<copy>/(C)/' `find lib/ -type f`
|
perl -pi -e 's/E<copy>/(C)/' `find lib/ -type f`
|
||||||
|
|
||||||
@ -52,11 +53,9 @@ make %{?_smp_mflags}
|
|||||||
mv LICENCE LICENSE
|
mv LICENCE LICENSE
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
%{_fixperms} %{buildroot}/*
|
||||||
chmod -R u+w %{buildroot}/*
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -66,19 +65,18 @@ rm t/00signature.t
|
|||||||
make test
|
make test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Artistic COPYING LICENSE Changes AUTHORS README CREDITS
|
%doc Artistic COPYING LICENSE Changes AUTHORS README CREDITS
|
||||||
%doc t/sample_dates t/invalid.t
|
%doc t/sample_dates.gz t/invalid.t
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 29 2012 Iain Arnell <iarnell@gmail.com> 0.3001-16
|
||||||
|
- gzip the sample dates file in documentation (rhbz#890441)
|
||||||
|
- update spec for modern rpmbuild
|
||||||
|
|
||||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-15
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-15
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user