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