6b1fb0
Name:           perl-HTTP-Date
6b1fb0
Version:        6.02
5e769c
Release:        8%{?dist}
6b1fb0
Summary:        Date conversion routines
6b1fb0
License:        GPL+ or Artistic
6b1fb0
Group:          Development/Libraries
6b1fb0
URL:            http://search.cpan.org/dist/HTTP-Date/
6b1fb0
Source0:        http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Date-%{version}.tar.gz
6b1fb0
BuildArch:      noarch
6b1fb0
BuildRequires:  perl
6b1fb0
BuildRequires:  perl(ExtUtils::MakeMaker)
6b1fb0
BuildRequires:  perl(strict)
6b1fb0
# Run-time
6b1fb0
BuildRequires:  perl(Exporter)
6b1fb0
BuildRequires:  perl(Time::Local)
6b1fb0
# perl(Time::Zone) not used
6b1fb0
BuildRequires:  perl(vars)
6b1fb0
# Tests only:
6b1fb0
BuildRequires:  perl(Test)
6b1fb0
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
6b1fb0
# Strongly recommended:
6b1fb0
Requires:       perl(Time::Zone)
6b1fb0
Conflicts:      perl-libwww-perl < 6
6b1fb0
6b1fb0
%description
6b1fb0
This module provides functions that deal the date formats used by the HTTP
6b1fb0
protocol (and then some more). Only the first two functions, time2str() and
6b1fb0
str2time(), are exported by default.
6b1fb0
6b1fb0
%prep
6b1fb0
%setup -q -n HTTP-Date-%{version}
6b1fb0
6b1fb0
%build
6b1fb0
perl Makefile.PL INSTALLDIRS=vendor
6b1fb0
make %{?_smp_mflags}
6b1fb0
6b1fb0
%install
6b1fb0
make pure_install DESTDIR=%{buildroot}
6b1fb0
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
6b1fb0
%{_fixperms} %{buildroot}/*
6b1fb0
6b1fb0
%check
6b1fb0
make test
6b1fb0
6b1fb0
%files
6b1fb0
%doc Changes README
6b1fb0
%{perl_vendorlib}/*
6b1fb0
%{_mandir}/man3/*
6b1fb0
6b1fb0
%changelog
5e769c
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 6.02-8
5e769c
- Mass rebuild 2013-12-27
5e769c
6b1fb0
* Thu Aug 01 2013 Petr Šabata <contyk@redhat.com> - 6.02-7.1
6b1fb0
- Don't BR Time::Zone
6b1fb0
6b1fb0
* Thu Aug 01 2013 Petr Šabata <contyk@redhat.com> - 6.02-7
6b1fb0
- Fix the dependency list
6b1fb0
6b1fb0
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 6.02-6
6b1fb0
- Perl 5.18 rebuild
6b1fb0
6b1fb0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-5
6b1fb0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6b1fb0
6b1fb0
* Tue Nov 13 2012 Petr Šabata <contyk@redhat.com> - 6.02-4
6b1fb0
- Modernize the spec, drop command macros
6b1fb0
6b1fb0
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-3
6b1fb0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6b1fb0
6b1fb0
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 6.02-2
6b1fb0
- Perl 5.16 rebuild
6b1fb0
6b1fb0
* Mon Apr 02 2012 Petr Pisar <ppisar@redhat.com> - 6.02-1
6b1fb0
- 6.02 bump
6b1fb0
6b1fb0
* Thu Feb 16 2012 Petr Pisar <ppisar@redhat.com> - 6.01-1
6b1fb0
- 6.01 bump
6b1fb0
6b1fb0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.00-3
6b1fb0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6b1fb0
6b1fb0
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.00-2
6b1fb0
- Perl mass rebuild
6b1fb0
6b1fb0
* Wed Mar 16 2011 Petr Pisar <ppisar@redhat.com> 6.00-1
6b1fb0
- Specfile autogenerated by cpanspec 1.78.
6b1fb0
- Remove BuildRoot stuff
6b1fb0
- Conflict with perl-libwww-perl-5* and older