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